comparison compal/c123-newboot.disasm @ 214:6b40617d00e6

analysis of ultra-malicious new C123 boot code from Ajay Fuloria
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 26 Jul 2016 23:32:17 +0000
parents
children
comparison
equal deleted inserted replaced
213:05d2d34f5015 214:6b40617d00e6
1 RESET entry and exception vectors:
2 0: ea000225 b 0x89c
3 4: ea000825 b 0x20a0
4 8: ea000825 b 0x20a4
5 c: ea000825 b 0x20a8
6 10: ea000825 b 0x20ac
7 14: ea000825 b 0x20b0
8 18: ea000825 b 0x20b4
9 1c: ea000825 b 0x20b8
10
11 ; magic words?
12 20: 4491582a
13 24: 4491582b
14 28: 44915857
15 2c: 44915858
16
17 <30-7FF: all FFs>
18
19 00000800: 42 4F 4F 54 2E 39 30 2E 30 34 00 00 00 00 00 00 BOOT.90.04......
20 00000810: 31 30 30 33 01 04 00 00 FF FF FF FF FF FF FF FF 1003............
21 00000820: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
22
23 ; everything up to 0x958 is the same as in the classic versions
24 830: 00000006
25 834: 00000000
26 838: 00000000
27 83c: 00000048
28 840: 00000044
29 844: 00000052
30 848: 0000001b
31 84c: 00000005
32 850: 00000000
33 854: 00000000
34 858: 00000000
35 85c: 00000000
36 860: 000000fa
37 864: ffff5800
38 868: ffff5000
39 86c: fffffb00
40 870: 02a102a1
41 874: 028302a1
42 878: 00c00281
43 87c: 002a0040
44 880: 00000040
45 884: fffffd00
46 888: ffff9800
47 88c: fffffb10
48 890: ffffff08
49 894: 20061081
50 898: 00000800
51
52 ; RESET entry point
53 89c: e51f1020 ldr r1, =0xfffffd00 ; via 0x884
54 8a0: e1d120b2 ldrh r2, [r1, #2]
55 8a4: e51f002c ldr r0, =0x40 ; via 0x880
56 8a8: e1800002 orr r0, r0, r2
57 8ac: e1c100b2 strh r0, [r1, #2]
58 8b0: e51f1030 ldr r1, =0xffff9800 ; via 0x888
59 8b4: e15f22b6 ldrh r2, =0x2006 ; via 0x896
60 8b8: e1c120b0 strh r2, [r1]
61 8bc: e5912000 ldr r2, [r1]
62 8c0: e2022001 and r2, r2, #1
63 8c4: e3520001 cmp r2, #1
64 8c8: 0afffffb beq 0x8bc
65 8cc: e51f1050 ldr r1, =0xfffffd00 ; via 0x884
66 8d0: e15f24b4 ldrh r2, =0x1081 ; via 0x894
67 8d4: e1c120b0 strh r2, [r1]
68 8d8: e51f1054 ldr r1, =0xfffffb10 ; via 0x88c
69 8dc: e15f24bc ldrh r2, =0x800 ; via 0x898
70 8e0: e1d100b0 ldrh r0, [r1]
71 8e4: e1800002 orr r0, r0, r2
72 8e8: e1c100b0 strh r0, [r1]
73 8ec: e51f1064 ldr r1, =0xffffff08 ; via 0x890
74 8f0: e15f25be ldrh r2, =0x0 ; via 0x89a
75 8f4: e1c120b0 strh r2, [r1]
76 8f8: e51f1094 ldr r1, =0xfffffb00 ; via 0x86c
77 8fc: e15f29b4 ldrh r2, =0x2a1 ; via 0x870
78 900: e1c120b0 strh r2, [r1]
79 904: e15f29ba ldrh r2, =0x2a1 ; via 0x872
80 908: e1c120b2 strh r2, [r1, #2]
81 90c: e15f2ab0 ldrh r2, =0x2a1 ; via 0x874
82 910: e1c120b4 strh r2, [r1, #4]
83 914: e15f2ab6 ldrh r2, =0x283 ; via 0x876
84 918: e1c120b6 strh r2, [r1, #6]
85 91c: e15f2abc ldrh r2, =0x281 ; via 0x878
86 920: e1c120ba strh r2, [r1, #10] ; 0xa
87 924: e15f2bb2 ldrh r2, =0xc0 ; via 0x87a
88 928: e1c120bc strh r2, [r1, #12] ; 0xc
89 92c: e15f2bb8 ldrh r2, =0x40 ; via 0x87c
90 930: e1c120b8 strh r2, [r1, #8]
91 934: e15f2bbe ldrh r2, =0x2a ; via 0x87e
92 938: e1c120be strh r2, [r1, #14] ; 0xe
93 93c: e59f0020 ldr r0, =0x83e730 ; via 0x964
94 940: e3a01b01 mov r1, #1024 ; 0x400
95 944: e2411004 sub r1, r1, #4
96 948: e0802001 add r2, r0, r1
97 94c: e3c22003 bic r2, r2, #3
98 950: e1a0d002 mov sp, r2
99 ; business logic
100 954: e92d100f stmdb sp!, {r0, r1, r2, r3, r12}
101 958: eb000544 bl 0x1e70
102 95c: e8bd100f ldmia sp!, {r0, r1, r2, r3, r12}
103 960: ea0005e4 b 0x20f8
104
105 ; stack address, varies by version
106 964: 0083e730
107
108 968: 4961 ldr r1, =0xfffffa08 ; via 0xaf0
109 96a: 4862 ldr r0, =0xffff ; via 0xaf4
110 96c: 8008 strh r0, [r1, #0]
111 96e: 4862 ldr r0, =0xfffffa0a ; via 0xaf8
112 970: 211f mov r1, #31 ; 0x1f
113 972: 8001 strh r1, [r0, #0]
114 974: 4861 ldr r0, =0xfffff804 ; via 0xafc
115 976: 21f5 mov r1, #245 ; 0xf5
116 978: 8001 strh r1, [r0, #0]
117 97a: 21a0 mov r1, #160 ; 0xa0
118 97c: 8001 strh r1, [r0, #0]
119 97e: 4860 ldr r0, =0xffff9800 ; via 0xb00
120 980: 4960 ldr r1, =0x2002 ; via 0xb04
121 982: 8001 strh r1, [r0, #0]
122 984: 485e ldr r0, =0xffff9800 ; via 0xb00
123 986: 8800 ldrh r0, [r0, #0]
124 988: 0840 lsr r0, r0, #1
125 98a: d2fb bcs 0x984
126 98c: 495e ldr r1, =0xfffffd00 ; via 0xb08
127 98e: 485f ldr r0, =0x1001 ; via 0xb0c
128 990: 8008 strh r0, [r1, #0]
129 992: 46f7 mov pc, lr
130
131 994: b500 push {lr}
132 996: b0ff sub sp, #508 ; 0x1fc
133 998: b0ca sub sp, #296 ; 0x128
134 99a: 2000 mov r0, #0
135 99c: 9001 str r0, [sp, #4]
136 99e: 9801 ldr r0, [sp, #4]
137 9a0: 2800 cmp r0, #0
138 9a2: d14e bne 0xa42
139 9a4: a846 add r0, sp, #280 ; 0x118
140 9a6: 2100 mov r1, #0
141 9a8: f001 f88e bl 0x1ac8
142 9ac: a9c8 add r1, sp, #800 ; 0x320
143 9ae: 7008 strb r0, [r1, #0]
144 9b0: a846 add r0, sp, #280 ; 0x118
145 9b2: a902 add r1, sp, #8
146 9b4: f000 fb4c bl 0x1050
147 9b8: 9000 str r0, [sp, #0]
148 9ba: 9800 ldr r0, [sp, #0]
149 9bc: 2800 cmp r0, #0
150 9be: d01b beq 0x9f8
151 9c0: a924 add r1, sp, #144 ; 0x90
152 9c2: 4668 mov r0, sp
153 9c4: 7a00 ldrb r0, [r0, #8]
154 9c6: 7008 strb r0, [r1, #0]
155 9c8: 2191 mov r1, #145 ; 0x91
156 9ca: 466a mov r2, sp
157 9cc: 4668 mov r0, sp
158 9ce: 7800 ldrb r0, [r0, #0]
159 9d0: 5488 strb r0, [r1, r2]
160 9d2: e01b b 0xa0c
161 9d4: a802 add r0, sp, #8
162 9d6: a924 add r1, sp, #144 ; 0x90
163 9d8: f000 fe28 bl 0x162c
164 9dc: e016 b 0xa0c
165 9de: a802 add r0, sp, #8
166 9e0: a924 add r1, sp, #144 ; 0x90
167 9e2: aac8 add r2, sp, #800 ; 0x320
168 9e4: 7812 ldrb r2, [r2, #0]
169 9e6: f000 fe35 bl 0x1654
170 9ea: e00f b 0xa0c
171 9ec: a802 add r0, sp, #8
172 9ee: a924 add r1, sp, #144 ; 0x90
173 9f0: f000 fe67 bl 0x16c2
174 9f4: 90c7 str r0, [sp, #796] ; 0x31c
175 9f6: e009 b 0xa0c
176 9f8: 4668 mov r0, sp
177 9fa: 7a00 ldrb r0, [r0, #8]
178 9fc: 2800 cmp r0, #0
179 9fe: d0e9 beq 0x9d4
180 a00: 3809 sub r0, #9
181 a02: 2800 cmp r0, #0
182 a04: d0eb beq 0x9de
183 a06: 3801 sub r0, #1
184 a08: 2800 cmp r0, #0
185 a0a: d0ef beq 0x9ec
186 a0c: a824 add r0, sp, #144 ; 0x90
187 a0e: a986 add r1, sp, #536 ; 0x218
188 a10: f000 fc01 bl 0x1216
189 a14: 2800 cmp r0, #0
190 a16: d111 bne 0xa3c
191 a18: a886 add r0, sp, #536 ; 0x218
192 a1a: a9c8 add r1, sp, #800 ; 0x320
193 a1c: 7809 ldrb r1, [r1, #0]
194 a1e: f001 f828 bl 0x1a72
195 a22: 2800 cmp r0, #0
196 a24: d00a beq 0xa3c
197 a26: 4668 mov r0, sp
198 a28: 7a00 ldrb r0, [r0, #8]
199 a2a: 280a cmp r0, #10 ; 0xa
200 a2c: d106 bne 0xa3c
201 a2e: a8c8 add r0, sp, #800 ; 0x320
202 a30: 7800 ldrb r0, [r0, #0]
203 a32: f001 f979 bl 0x1d28
204 a36: 98c7 ldr r0, [sp, #796] ; 0x31c
205 a38: f000 fb08 bl 0x104c
206 a3c: 9801 ldr r0, [sp, #4]
207 a3e: 2800 cmp r0, #0
208 a40: d0b0 beq 0x9a4
209 a42: b07f add sp, #508 ; 0x1fc
210 a44: b04a add sp, #296 ; 0x128
211 a46: bd00 pop {pc}
212
213 a48: b500 push {lr}
214 a4a: b0ff sub sp, #508 ; 0x1fc
215 a4c: b0c8 sub sp, #288 ; 0x120
216 a4e: 2000 mov r0, #0
217 a50: 9000 str r0, [sp, #0]
218 a52: a846 add r0, sp, #280 ; 0x118
219 a54: 2101 mov r1, #1
220 a56: f001 f837 bl 0x1ac8
221 a5a: a9c6 add r1, sp, #792 ; 0x318
222 a5c: 7008 strb r0, [r1, #0]
223 a5e: a8c6 add r0, sp, #792 ; 0x318
224 a60: 7800 ldrb r0, [r0, #0]
225 a62: 28ff cmp r0, #255 ; 0xff
226 a64: d031 beq 0xaca
227 a66: a846 add r0, sp, #280 ; 0x118
228 a68: a902 add r1, sp, #8
229 a6a: f000 faf1 bl 0x1050
230 a6e: 9001 str r0, [sp, #4]
231 a70: 9801 ldr r0, [sp, #4]
232 a72: 2800 cmp r0, #0
233 a74: d014 beq 0xaa0
234 a76: a924 add r1, sp, #144 ; 0x90
235 a78: 4668 mov r0, sp
236 a7a: 7a00 ldrb r0, [r0, #8]
237 a7c: 7008 strb r0, [r1, #0]
238 a7e: 2291 mov r2, #145 ; 0x91
239 a80: 4668 mov r0, sp
240 a82: 4669 mov r1, sp
241 a84: 7909 ldrb r1, [r1, #4]
242 a86: 5411 strb r1, [r2, r0]
243 a88: a824 add r0, sp, #144 ; 0x90
244 a8a: a986 add r1, sp, #536 ; 0x218
245 a8c: f000 fbc3 bl 0x1216
246 a90: 2800 cmp r0, #0
247 a92: d11a bne 0xaca
248 a94: a886 add r0, sp, #536 ; 0x218
249 a96: a9c6 add r1, sp, #792 ; 0x318
250 a98: 7809 ldrb r1, [r1, #0]
251 a9a: f000 ffea bl 0x1a72
252 a9e: e014 b 0xaca
253 aa0: 4668 mov r0, sp
254 aa2: 7a00 ldrb r0, [r0, #8]
255 aa4: 2800 cmp r0, #0
256 aa6: d110 bne 0xaca
257 aa8: a802 add r0, sp, #8
258 aaa: a924 add r1, sp, #144 ; 0x90
259 aac: f000 fdbe bl 0x162c
260 ab0: a824 add r0, sp, #144 ; 0x90
261 ab2: a986 add r1, sp, #536 ; 0x218
262 ab4: f000 fbaf bl 0x1216
263 ab8: 2800 cmp r0, #0
264 aba: d104 bne 0xac6
265 abc: a886 add r0, sp, #536 ; 0x218
266 abe: a9c6 add r1, sp, #792 ; 0x318
267 ac0: 7809 ldrb r1, [r1, #0]
268 ac2: f000 ffd6 bl 0x1a72
269 ac6: 2001 mov r0, #1
270 ac8: 9000 str r0, [sp, #0]
271 aca: 9800 ldr r0, [sp, #0]
272 acc: b07f add sp, #508 ; 0x1fc
273 ace: b048 add sp, #288 ; 0x120
274 ad0: bd00 pop {pc}
275
276 ; main function
277 ad2: b500 push {lr}
278 ad4: b082 sub sp, #8
279 ad6: f7ff ff47 bl 0x968
280 ada: f001 f8cd bl 0x1c78
281 ade: f000 fd93 bl 0x1608
282 ae2: f000 f81f bl 0xb24
283 ae6: f000 f98b bl 0xe00
284 aea: b002 add sp, #8
285 aec: bd00 pop {pc}
286 aee: 46c0 nop (mov r8, r8)
287
288 af0: fffffa08
289 af4: 0000ffff
290 af8: fffffa0a
291 afc: fffff804
292 b00: ffff9800
293 b04: 00002002
294 b08: fffffd00
295 b0c: 00001001
296
297 b10: e3a0d502 mov sp, #8388608 ; 0x800000
298 b14: e28dd802 add sp, sp, #131072 ; 0x20000
299 b18: e28fe005 add lr, pc, #5
300 b1c: e12fff1e bx lr
301 b20: e1a00000 mov r0, r0
302
303 ; same as in the familiar versions
304 b24: b500 push {lr}
305 b26: b082 sub sp, #8
306 b28: 49f0 ldr r1, =0x83ff00 ; via 0xeec
307 b2a: 48f1 ldr r0, =0xffff5800 ; via 0xef0
308 b2c: 6008 str r0, [r1, #0]
309 b2e: 2000 mov r0, #0
310 b30: 2102 mov r1, #2
311 b32: f000 fa1d bl 0xf70
312 b36: 2000 mov r0, #0
313 b38: 9000 str r0, [sp, #0]
314 b3a: 9900 ldr r1, [sp, #0]
315 b3c: 2005 mov r0, #5
316 b3e: 0300 lsl r0, r0, #12
317 b40: 4281 cmp r1, r0
318 b42: d207 bcs 0xb54
319 b44: 9800 ldr r0, [sp, #0]
320 b46: 3001 add r0, #1
321 b48: 9000 str r0, [sp, #0]
322 b4a: 9900 ldr r1, [sp, #0]
323 b4c: 2005 mov r0, #5
324 b4e: 0300 lsl r0, r0, #12
325 b50: 4281 cmp r1, r0
326 b52: d3f7 bcc 0xb44
327 b54: f000 f82a bl 0xbac
328 b58: 2000 mov r0, #0
329 b5a: 2107 mov r1, #7
330 b5c: f000 fa08 bl 0xf70
331 b60: 2000 mov r0, #0
332 b62: 9000 str r0, [sp, #0]
333 b64: 9900 ldr r1, [sp, #0]
334 b66: 2005 mov r0, #5
335 b68: 0300 lsl r0, r0, #12
336 b6a: 4281 cmp r1, r0
337 b6c: d207 bcs 0xb7e
338 b6e: 9800 ldr r0, [sp, #0]
339 b70: 3001 add r0, #1
340 b72: 9000 str r0, [sp, #0]
341 b74: 9900 ldr r1, [sp, #0]
342 b76: 2005 mov r0, #5
343 b78: 0300 lsl r0, r0, #12
344 b7a: 4281 cmp r1, r0
345 b7c: d3f7 bcc 0xb6e
346 b7e: f000 f815 bl 0xbac
347 b82: 2000 mov r0, #0
348 b84: 9001 str r0, [sp, #4]
349 b86: 9000 str r0, [sp, #0]
350 b88: 9900 ldr r1, [sp, #0]
351 b8a: 2005 mov r0, #5
352 b8c: 0400 lsl r0, r0, #16
353 b8e: 4281 cmp r1, r0
354 b90: d20a bcs 0xba8
355 b92: 9801 ldr r0, [sp, #4]
356 b94: 3001 add r0, #1
357 b96: 9001 str r0, [sp, #4]
358 b98: 9800 ldr r0, [sp, #0]
359 b9a: 3001 add r0, #1
360 b9c: 9000 str r0, [sp, #0]
361 b9e: 9900 ldr r1, [sp, #0]
362 ba0: 2005 mov r0, #5
363 ba2: 0400 lsl r0, r0, #16
364 ba4: 4281 cmp r1, r0
365 ba6: d3f4 bcc 0xb92
366 ba8: b002 add sp, #8
367 baa: bd00 pop {pc}
368
369 bac: b500 push {lr}
370 bae: b08a sub sp, #40 ; 0x28
371 bb0: 2000 mov r0, #0
372 bb2: 9002 str r0, [sp, #8]
373 bb4: 4669 mov r1, sp
374 bb6: 7708 strb r0, [r1, #28] ; 0x1c
375 bb8: 7748 strb r0, [r1, #29] ; 0x1d
376 bba: 4668 mov r0, sp
377 bbc: 2100 mov r1, #0
378 bbe: 7781 strb r1, [r0, #30] ; 0x1e
379 bc0: 2000 mov r0, #0
380 bc2: 9008 str r0, [sp, #32] ; 0x20
381 bc4: a809 add r0, sp, #36 ; 0x24
382 bc6: 7001 strb r1, [r0, #0]
383 bc8: 2025 mov r0, #37 ; 0x25
384 bca: 4669 mov r1, sp
385 bcc: 2200 mov r2, #0
386 bce: 5442 strb r2, [r0, r1]
387 bd0: 48e6 ldr r0, =0x800100 ; via 0xf6c
388 bd2: 9006 str r0, [sp, #24] ; 0x18
389 bd4: 201b mov r0, #27 ; 0x1b
390 bd6: f000 f970 bl 0xeba
391 bda: 20f6 mov r0, #246 ; 0xf6
392 bdc: f000 f96d bl 0xeba
393 be0: 2002 mov r0, #2
394 be2: f000 f96a bl 0xeba
395 be6: 2000 mov r0, #0
396 be8: f000 f967 bl 0xeba
397 bec: 2041 mov r0, #65 ; 0x41
398 bee: f000 f964 bl 0xeba
399 bf2: 2001 mov r0, #1
400 bf4: f000 f961 bl 0xeba
401 bf8: 2040 mov r0, #64 ; 0x40
402 bfa: f000 f95e bl 0xeba
403 bfe: 2001 mov r0, #1
404 c00: 0300 lsl r0, r0, #12
405 c02: f000 f977 bl 0xef4
406 c06: 281b cmp r0, #27 ; 0x1b
407 c08: d000 beq 0xc0c
408 c0a: e0f7 b 0xdfc
409 c0c: 2001 mov r0, #1
410 c0e: 0300 lsl r0, r0, #12
411 c10: f000 f970 bl 0xef4
412 c14: 28f6 cmp r0, #246 ; 0xf6
413 c16: d000 beq 0xc1a
414 c18: e0f0 b 0xdfc
415 c1a: 2001 mov r0, #1
416 c1c: 0300 lsl r0, r0, #12
417 c1e: f000 f969 bl 0xef4
418 c22: 2802 cmp r0, #2
419 c24: d000 beq 0xc28
420 c26: e0e9 b 0xdfc
421 c28: 2001 mov r0, #1
422 c2a: 0300 lsl r0, r0, #12
423 c2c: f000 f962 bl 0xef4
424 c30: 2800 cmp r0, #0
425 c32: d000 beq 0xc36
426 c34: e0e2 b 0xdfc
427 c36: 2001 mov r0, #1
428 c38: 0300 lsl r0, r0, #12
429 c3a: f000 f95b bl 0xef4
430 c3e: 2852 cmp r0, #82 ; 0x52
431 c40: d000 beq 0xc44
432 c42: e0db b 0xdfc
433 c44: 2001 mov r0, #1
434 c46: 0300 lsl r0, r0, #12
435 c48: f000 f954 bl 0xef4
436 c4c: 2801 cmp r0, #1
437 c4e: d000 beq 0xc52
438 c50: e0d4 b 0xdfc
439 c52: 2001 mov r0, #1
440 c54: 0300 lsl r0, r0, #12
441 c56: f000 f94d bl 0xef4
442 c5a: 2853 cmp r0, #83 ; 0x53
443 c5c: d000 beq 0xc60
444 c5e: e0cd b 0xdfc
445 c60: 201b mov r0, #27 ; 0x1b
446 c62: f000 f92a bl 0xeba
447 c66: 20f6 mov r0, #246 ; 0xf6
448 c68: f000 f927 bl 0xeba
449 c6c: 2002 mov r0, #2
450 c6e: f000 f924 bl 0xeba
451 c72: 2000 mov r0, #0
452 c74: f000 f921 bl 0xeba
453 c78: 2041 mov r0, #65 ; 0x41
454 c7a: f000 f91e bl 0xeba
455 c7e: 2002 mov r0, #2
456 c80: f000 f91b bl 0xeba
457 c84: 2043 mov r0, #67 ; 0x43
458 c86: f000 f918 bl 0xeba
459 c8a: 2001 mov r0, #1
460 c8c: 0300 lsl r0, r0, #12
461 c8e: f000 f931 bl 0xef4
462 c92: 4669 mov r1, sp
463 c94: 7308 strb r0, [r1, #12] ; 0xc
464 c96: 2002 mov r0, #2
465 c98: 7548 strb r0, [r1, #21] ; 0x15
466 c9a: 2000 mov r0, #0
467 c9c: 9000 str r0, [sp, #0]
468 c9e: 9800 ldr r0, [sp, #0]
469 ca0: 2802 cmp r0, #2
470 ca2: d215 bcs 0xcd0
471 ca4: 2001 mov r0, #1
472 ca6: 0300 lsl r0, r0, #12
473 ca8: f000 f924 bl 0xef4
474 cac: 4669 mov r1, sp
475 cae: 9a00 ldr r2, [sp, #0]
476 cb0: 1a89 sub r1, r1, r2
477 cb2: 7448 strb r0, [r1, #17] ; 0x11
478 cb4: 4669 mov r1, sp
479 cb6: 9800 ldr r0, [sp, #0]
480 cb8: 1a08 sub r0, r1, r0
481 cba: 7c40 ldrb r0, [r0, #17] ; 0x11
482 cbc: 7d49 ldrb r1, [r1, #21] ; 0x15
483 cbe: 4048 eor r0, r1
484 cc0: 4669 mov r1, sp
485 cc2: 7548 strb r0, [r1, #21] ; 0x15
486 cc4: 9800 ldr r0, [sp, #0]
487 cc6: 3001 add r0, #1
488 cc8: 9000 str r0, [sp, #0]
489 cca: 9800 ldr r0, [sp, #0]
490 ccc: 2802 cmp r0, #2
491 cce: d3e9 bcc 0xca4
492 cd0: 4668 mov r0, sp
493 cd2: 8a00 ldrh r0, [r0, #16] ; 0x10
494 cd4: 466a mov r2, sp
495 cd6: 1e41 sub r1, r0, #1
496 cd8: 8211 strh r1, [r2, #16] ; 0x10
497 cda: 2800 cmp r0, #0
498 cdc: d04f beq 0xd7e
499 cde: 2001 mov r0, #1
500 ce0: 0300 lsl r0, r0, #12
501 ce2: f000 f907 bl 0xef4
502 ce6: 9906 ldr r1, [sp, #24] ; 0x18
503 ce8: 7008 strb r0, [r1, #0]
504 cea: 9802 ldr r0, [sp, #8]
505 cec: 217d mov r1, #125 ; 0x7d
506 cee: 00c9 lsl r1, r1, #3
507 cf0: f188 f9a8 bl 0x189044 ; U$MOD in main fw!!!
508 cf4: 2800 cmp r0, #0
509 cf6: d12f bne 0xd58
510 cf8: 9802 ldr r0, [sp, #8]
511 cfa: 2800 cmp r0, #0
512 cfc: d02c beq 0xd58
513 cfe: 9808 ldr r0, [sp, #32] ; 0x20
514 d00: 2805 cmp r0, #5
515 d02: d226 bcs 0xd52
516 d04: e00d b 0xd22
517 d06: a909 add r1, sp, #36 ; 0x24
518 d08: 20ee mov r0, #238 ; 0xee
519 d0a: 7008 strb r0, [r1, #0]
520 d0c: e018 b 0xd40
521 d0e: 21a2 mov r1, #162 ; 0xa2
522 d10: a809 add r0, sp, #36 ; 0x24
523 d12: 7001 strb r1, [r0, #0]
524 d14: e014 b 0xd40
525 d16: 213d mov r1, #61 ; 0x3d
526 d18: e7fa b 0xd10
527 d1a: 215e mov r1, #94 ; 0x5e
528 d1c: e7f8 b 0xd10
529 d1e: 21d6 mov r1, #214 ; 0xd6
530 d20: e7f6 b 0xd10
531 d22: 9808 ldr r0, [sp, #32] ; 0x20
532 d24: 2800 cmp r0, #0
533 d26: d0ee beq 0xd06
534 d28: 3801 sub r0, #1
535 d2a: 2800 cmp r0, #0
536 d2c: d0ef beq 0xd0e
537 d2e: 3801 sub r0, #1
538 d30: 2800 cmp r0, #0
539 d32: d0f0 beq 0xd16
540 d34: 3801 sub r0, #1
541 d36: 2800 cmp r0, #0
542 d38: d0ef beq 0xd1a
543 d3a: 3801 sub r0, #1
544 d3c: 2800 cmp r0, #0
545 d3e: d0ee beq 0xd1e
546 d40: 4668 mov r0, sp
547 d42: 7d40 ldrb r0, [r0, #21] ; 0x15
548 d44: a909 add r1, sp, #36 ; 0x24
549 d46: 7809 ldrb r1, [r1, #0]
550 d48: 4288 cmp r0, r1
551 d4a: d002 beq 0xd52
552 d4c: 4668 mov r0, sp
553 d4e: 2101 mov r1, #1
554 d50: 7781 strb r1, [r0, #30] ; 0x1e
555 d52: 9808 ldr r0, [sp, #32] ; 0x20
556 d54: 3001 add r0, #1
557 d56: 9008 str r0, [sp, #32] ; 0x20
558 d58: 9802 ldr r0, [sp, #8]
559 d5a: 3001 add r0, #1
560 d5c: 9002 str r0, [sp, #8]
561 d5e: 9806 ldr r0, [sp, #24] ; 0x18
562 d60: 7800 ldrb r0, [r0, #0]
563 d62: 4669 mov r1, sp
564 d64: 7d49 ldrb r1, [r1, #21] ; 0x15
565 d66: 4048 eor r0, r1
566 d68: 4669 mov r1, sp
567 d6a: 7548 strb r0, [r1, #21] ; 0x15
568 d6c: 9806 ldr r0, [sp, #24] ; 0x18
569 d6e: 3001 add r0, #1
570 d70: 9006 str r0, [sp, #24] ; 0x18
571 d72: 4668 mov r0, sp
572 d74: 8a02 ldrh r2, [r0, #16] ; 0x10
573 d76: 1e50 sub r0, r2, #1
574 d78: 8208 strh r0, [r1, #16] ; 0x10
575 d7a: 2a00 cmp r2, #0
576 d7c: d1af bne 0xcde
577 d7e: 2001 mov r0, #1
578 d80: 0300 lsl r0, r0, #12
579 d82: f000 f8b7 bl 0xef4
580 d86: 4669 mov r1, sp
581 d88: 7508 strb r0, [r1, #20] ; 0x14
582 d8a: 4668 mov r0, sp
583 d8c: 7d01 ldrb r1, [r0, #20] ; 0x14
584 d8e: 7d40 ldrb r0, [r0, #21] ; 0x15
585 d90: 4281 cmp r1, r0
586 d92: d103 bne 0xd9c
587 d94: 4668 mov r0, sp
588 d96: 7f80 ldrb r0, [r0, #30] ; 0x1e
589 d98: 2801 cmp r0, #1
590 d9a: d115 bne 0xdc8
591 d9c: 201b mov r0, #27 ; 0x1b
592 d9e: f000 f88c bl 0xeba
593 da2: 20f6 mov r0, #246 ; 0xf6
594 da4: f000 f889 bl 0xeba
595 da8: 2002 mov r0, #2
596 daa: f000 f886 bl 0xeba
597 dae: 2000 mov r0, #0
598 db0: f000 f883 bl 0xeba
599 db4: 2045 mov r0, #69 ; 0x45
600 db6: f000 f880 bl 0xeba
601 dba: 2053 mov r0, #83 ; 0x53
602 dbc: f000 f87d bl 0xeba
603 dc0: 2016 mov r0, #22 ; 0x16
604 dc2: f000 f87a bl 0xeba
605 dc6: e019 b 0xdfc
606 dc8: 201b mov r0, #27 ; 0x1b
607 dca: f000 f876 bl 0xeba
608 dce: 20f6 mov r0, #246 ; 0xf6
609 dd0: f000 f873 bl 0xeba
610 dd4: 2002 mov r0, #2
611 dd6: f000 f870 bl 0xeba
612 dda: 2000 mov r0, #0
613 ddc: f000 f86d bl 0xeba
614 de0: 2041 mov r0, #65 ; 0x41
615 de2: f000 f86a bl 0xeba
616 de6: 2003 mov r0, #3
617 de8: f000 f867 bl 0xeba
618 dec: 2042 mov r0, #66 ; 0x42
619 dee: f000 f864 bl 0xeba
620 df2: 483e ldr r0, =0x83ff00 ; via 0xeec
621 df4: 6800 ldr r0, [r0, #0]
622 df6: 4990 ldr r1, =0x800100 ; via 0x1038
623 df8: f000 f85e bl 0xeb8
624 dfc: b00a add sp, #40 ; 0x28
625 dfe: bd00 pop {pc}
626
627 e00: b500 push {lr}
628 e02: b081 sub sp, #4
629 e04: 2066 mov r0, #102 ; 0x66
630 e06: f000 f858 bl 0xeba
631 e0a: 2074 mov r0, #116 ; 0x74
632 e0c: f000 f855 bl 0xeba
633 e10: 206d mov r0, #109 ; 0x6d
634 e12: f000 f852 bl 0xeba
635 e16: 2074 mov r0, #116 ; 0x74
636 e18: f000 f84f bl 0xeba
637 e1c: 206f mov r0, #111 ; 0x6f
638 e1e: f000 f84c bl 0xeba
639 e22: 206f mov r0, #111 ; 0x6f
640 e24: f000 f849 bl 0xeba
641 e28: 206c mov r0, #108 ; 0x6c
642 e2a: f000 f846 bl 0xeba
643 e2e: 4983 ldr r1, =0x83ff80 ; via 0x103c
644 e30: 2000 mov r0, #0
645 e32: 7008 strb r0, [r1, #0]
646 e34: 9000 str r0, [sp, #0]
647 e36: 9800 ldr r0, [sp, #0]
648 e38: 0c00 lsr r0, r0, #16
649 e3a: d105 bne 0xe48
650 e3c: 9800 ldr r0, [sp, #0]
651 e3e: 3001 add r0, #1
652 e40: 9000 str r0, [sp, #0]
653 e42: 9800 ldr r0, [sp, #0]
654 e44: 0c00 lsr r0, r0, #16
655 e46: d0f9 beq 0xe3c
656 e48: 2007 mov r0, #7
657 e4a: 0400 lsl r0, r0, #16
658 e4c: f000 f852 bl 0xef4
659 e50: 2879 cmp r0, #121 ; 0x79
660 e52: d10e bne 0xe72
661 e54: 2001 mov r0, #1
662 e56: 0300 lsl r0, r0, #12
663 e58: f000 f84c bl 0xef4
664 e5c: 2865 cmp r0, #101 ; 0x65
665 e5e: d108 bne 0xe72
666 e60: 2001 mov r0, #1
667 e62: 0300 lsl r0, r0, #12
668 e64: f000 f846 bl 0xef4
669 e68: 2873 cmp r0, #115 ; 0x73
670 e6a: d102 bne 0xe72
671 e6c: 4873 ldr r0, =0x83ff80 ; via 0x103c
672 e6e: 2101 mov r1, #1
673 e70: 7001 strb r1, [r0, #0]
674 e72: f000 f8cf bl 0x1014
675 e76: 2800 cmp r0, #0
676 e78: d00d beq 0xe96
677 e7a: 206d mov r0, #109 ; 0x6d
678 e7c: f000 f81d bl 0xeba
679 e80: 206f mov r0, #111 ; 0x6f
680 e82: f000 f81a bl 0xeba
681 e86: 2064 mov r0, #100 ; 0x64
682 e88: f000 f817 bl 0xeba
683 e8c: 2065 mov r0, #101 ; 0x65
684 e8e: f000 f814 bl 0xeba
685 e92: 206d mov r0, #109 ; 0x6d
686 e94: e00c b 0xeb0
687 e96: 2065 mov r0, #101 ; 0x65
688 e98: f000 f80f bl 0xeba
689 e9c: 2072 mov r0, #114 ; 0x72
690 e9e: f000 f80c bl 0xeba
691 ea2: 2072 mov r0, #114 ; 0x72
692 ea4: f000 f809 bl 0xeba
693 ea8: 206f mov r0, #111 ; 0x6f
694 eaa: f000 f806 bl 0xeba
695 eae: 2072 mov r0, #114 ; 0x72
696 eb0: f000 f803 bl 0xeba
697 eb4: b001 add sp, #4
698 eb6: bd00 pop {pc}
699
700 eb8: 4708 bx r1
701
702 eba: b081 sub sp, #4
703 ebc: 4669 mov r1, sp
704 ebe: 7008 strb r0, [r1, #0]
705 ec0: 480a ldr r0, =0x83ff00 ; via 0xeec
706 ec2: 6800 ldr r0, [r0, #0]
707 ec4: 7940 ldrb r0, [r0, #5]
708 ec6: 0980 lsr r0, r0, #6
709 ec8: d3fa bcc 0xec0
710 eca: 4808 ldr r0, =0x83ff00 ; via 0xeec
711 ecc: 6800 ldr r0, [r0, #0]
712 ece: 4669 mov r1, sp
713 ed0: 7809 ldrb r1, [r1, #0]
714 ed2: 7001 strb r1, [r0, #0]
715 ed4: b001 add sp, #4
716 ed6: 46f7 mov pc, lr
717 ed8: 4859 ldr r0, =0x83ff00 ; via 0x1040
718 eda: 6800 ldr r0, [r0, #0]
719 edc: 7940 ldrb r0, [r0, #5]
720 ede: 0840 lsr r0, r0, #1
721 ee0: d3fa bcc 0xed8
722 ee2: 4857 ldr r0, =0x83ff00 ; via 0x1040
723 ee4: 6800 ldr r0, [r0, #0]
724 ee6: 7800 ldrb r0, [r0, #0]
725 ee8: 4770 bx lr
726 eea: 46c0 nop (mov r8, r8)
727 eec: ff00 <half-bl>
728 eee: 0083 lsl r3, r0, #2
729 ef0: 5800 ldr r0, [r0, r0]
730 ef2: ffff <half-bl>
731 ef4: b083 sub sp, #12 ; 0xc
732 ef6: 9000 str r0, [sp, #0]
733 ef8: 9800 ldr r0, [sp, #0]
734 efa: 9002 str r0, [sp, #8]
735 efc: 4850 ldr r0, =0x83ff00 ; via 0x1040
736 efe: 6800 ldr r0, [r0, #0]
737 f00: 7940 ldrb r0, [r0, #5]
738 f02: 0840 lsr r0, r0, #1
739 f04: d20c bcs 0xf20
740 f06: 9802 ldr r0, [sp, #8]
741 f08: 3801 sub r0, #1
742 f0a: 9002 str r0, [sp, #8]
743 f0c: 9802 ldr r0, [sp, #8]
744 f0e: 2800 cmp r0, #0
745 f10: d101 bne 0xf16
746 f12: 20ff mov r0, #255 ; 0xff
747 f14: e007 b 0xf26
748 f16: 484a ldr r0, =0x83ff00 ; via 0x1040
749 f18: 6800 ldr r0, [r0, #0]
750 f1a: 7940 ldrb r0, [r0, #5]
751 f1c: 0840 lsr r0, r0, #1
752 f1e: d3f2 bcc 0xf06
753 f20: 4847 ldr r0, =0x83ff00 ; via 0x1040
754 f22: 6800 ldr r0, [r0, #0]
755 f24: 7800 ldrb r0, [r0, #0]
756 f26: b003 add sp, #12 ; 0xc
757 f28: 4770 bx lr
758 f2a: b081 sub sp, #4
759 f2c: e001 b 0xf32
760 f2e: 9800 ldr r0, [sp, #0]
761 f30: 3801 sub r0, #1
762 f32: 9000 str r0, [sp, #0]
763 f34: 4842 ldr r0, =0x83ff00 ; via 0x1040
764 f36: 6800 ldr r0, [r0, #0]
765 f38: 7940 ldrb r0, [r0, #5]
766 f3a: 0840 lsr r0, r0, #1
767 f3c: d202 bcs 0xf44
768 f3e: 9800 ldr r0, [sp, #0]
769 f40: 2800 cmp r0, #0
770 f42: dcf4 bgt 0xf2e
771 f44: 9800 ldr r0, [sp, #0]
772 f46: 2800 cmp r0, #0
773 f48: dd01 ble 0xf4e
774 f4a: 2000 mov r0, #0
775 f4c: e000 b 0xf50
776 f4e: 2001 mov r0, #1
777 f50: b001 add sp, #4
778 f52: 4770 bx lr
779 f54: b082 sub sp, #8
780 f56: 9000 str r0, [sp, #0]
781 f58: 4669 mov r1, sp
782 f5a: 2000 mov r0, #0
783 f5c: 7188 strb r0, [r1, #6]
784 f5e: 9900 ldr r1, [sp, #0]
785 f60: 4838 ldr r0, =0xfffef000 ; via 0x1044
786 f62: 8800 ldrh r0, [r0, #0]
787 f64: 8008 strh r0, [r1, #0]
788 f66: b002 add sp, #8
789 f68: 4770 bx lr
790 f6a: 46c0 nop (mov r8, r8)
791 f6c: 0100 lsl r0, r0, #4
792 f6e: 0080 lsl r0, r0, #2
793 f70: b081 sub sp, #4
794 f72: 466a mov r2, sp
795 f74: 7051 strb r1, [r2, #1]
796 f76: 4669 mov r1, sp
797 f78: 7008 strb r0, [r1, #0]
798 f7a: 4933 ldr r1, =0xffff6000 ; via 0x1048
799 f7c: 2002 mov r0, #2
800 f7e: 880a ldrh r2, [r1, #0]
801 f80: 4310 orr r0, r2
802 f82: 8008 strh r0, [r1, #0]
803 f84: 4830 ldr r0, =0xffff6000 ; via 0x1048
804 f86: 8801 ldrh r1, [r0, #0]
805 f88: 0849 lsr r1, r1, #1
806 f8a: 0049 lsl r1, r1, #1
807 f8c: 8001 strh r1, [r0, #0]
808 f8e: 492e ldr r1, =0xffff6000 ; via 0x1048
809 f90: 8808 ldrh r0, [r1, #0]
810 f92: 2202 mov r2, #2
811 f94: 4390 bic r0, r2
812 f96: 8008 strh r0, [r1, #0]
813 f98: 4829 ldr r0, =0x83ff00 ; via 0x1040
814 f9a: 6801 ldr r1, [r0, #0]
815 f9c: 2007 mov r0, #7
816 f9e: 7208 strb r0, [r1, #8]
817 fa0: 4827 ldr r0, =0x83ff00 ; via 0x1040
818 fa2: 6801 ldr r1, [r0, #0]
819 fa4: 20bf mov r0, #191 ; 0xbf
820 fa6: 70c8 strb r0, [r1, #3]
821 fa8: 4825 ldr r0, =0x83ff00 ; via 0x1040
822 faa: 6800 ldr r0, [r0, #0]
823 fac: 1c80 add r0, r0, #2
824 fae: 2110 mov r1, #16 ; 0x10
825 fb0: 8802 ldrh r2, [r0, #0]
826 fb2: 4311 orr r1, r2
827 fb4: 8001 strh r1, [r0, #0]
828 fb6: 4822 ldr r0, =0x83ff00 ; via 0x1040
829 fb8: 6801 ldr r1, [r0, #0]
830 fba: 2080 mov r0, #128 ; 0x80
831 fbc: 70c8 strb r0, [r1, #3]
832 fbe: 4820 ldr r0, =0x83ff00 ; via 0x1040
833 fc0: 6800 ldr r0, [r0, #0]
834 fc2: 2107 mov r1, #7
835 fc4: 7081 strb r1, [r0, #2]
836 fc6: 481e ldr r0, =0x83ff00 ; via 0x1040
837 fc8: 6800 ldr r0, [r0, #0]
838 fca: 21bf mov r1, #191 ; 0xbf
839 fcc: 70c1 strb r1, [r0, #3]
840 fce: 481c ldr r0, =0x83ff00 ; via 0x1040
841 fd0: 6801 ldr r1, [r0, #0]
842 fd2: 4668 mov r0, sp
843 fd4: 7840 ldrb r0, [r0, #1]
844 fd6: 7008 strb r0, [r1, #0]
845 fd8: 4819 ldr r0, =0x83ff00 ; via 0x1040
846 fda: 6801 ldr r1, [r0, #0]
847 fdc: 4668 mov r0, sp
848 fde: 7800 ldrb r0, [r0, #0]
849 fe0: 7048 strb r0, [r1, #1]
850 fe2: 4817 ldr r0, =0x83ff00 ; via 0x1040
851 fe4: 6801 ldr r1, [r0, #0]
852 fe6: 2003 mov r0, #3
853 fe8: 70c8 strb r0, [r1, #3]
854 fea: 4815 ldr r0, =0x83ff00 ; via 0x1040
855 fec: 6800 ldr r0, [r0, #0]
856 fee: 2100 mov r1, #0
857 ff0: 7201 strb r1, [r0, #8]
858 ff2: 4813 ldr r0, =0x83ff00 ; via 0x1040
859 ff4: 6800 ldr r0, [r0, #0]
860 ff6: 7940 ldrb r0, [r0, #5]
861 ff8: 0840 lsr r0, r0, #1
862 ffa: d309 bcc 0x1010
863 ffc: 4669 mov r1, sp
864 ffe: 4810 ldr r0, =0x83ff00 ; via 0x1040
865 1000: 6800 ldr r0, [r0, #0]
866 1002: 7800 ldrb r0, [r0, #0]
867 1004: 7088 strb r0, [r1, #2]
868 1006: 480e ldr r0, =0x83ff00 ; via 0x1040
869 1008: 6800 ldr r0, [r0, #0]
870 100a: 7940 ldrb r0, [r0, #5]
871 100c: 0840 lsr r0, r0, #1
872 100e: d2f5 bcs 0xffc
873 1010: b001 add sp, #4
874 1012: 4770 bx lr
875 1014: 4809 ldr r0, =0x83ff80 ; via 0x103c
876 1016: 7800 ldrb r0, [r0, #0]
877 1018: 4770 bx lr
878 101a: b500 push {lr}
879 101c: b081 sub sp, #4
880 101e: 4669 mov r1, sp
881 1020: 7008 strb r0, [r1, #0]
882 1022: 4668 mov r0, sp
883 1024: 7800 ldrb r0, [r0, #0]
884 1026: f7ff ff48 bl 0xeba
885 102a: b001 add sp, #4
886 102c: bd00 pop {pc}
887 102e: b500 push {lr}
888 1030: f7ff ff52 bl 0xed8
889 1034: bd00 pop {pc}
890 1036: 46c0 nop (mov r8, r8)
891 1038: 0100 lsl r0, r0, #4
892 103a: 0080 lsl r0, r0, #2
893 103c: ff80 <half-bl>
894 103e: 0083 lsl r3, r0, #2
895 1040: ff00 <half-bl>
896 1042: 0083 lsl r3, r0, #2
897 1044: f000 fffe bl 0x2044
898 1048: 6000 str r0, [r0, #0]
899 104a: ffff <half-bl>
900 104c: 4700 bx r0
901 104e: 0000 lsl r0, r0, #0
902 1050: b08c sub sp, #48 ; 0x30
903 1052: 9101 str r1, [sp, #4]
904 1054: 9000 str r0, [sp, #0]
905 1056: 2000 mov r0, #0
906 1058: 9003 str r0, [sp, #12] ; 0xc
907 105a: 9800 ldr r0, [sp, #0]
908 105c: 7801 ldrb r1, [r0, #0]
909 105e: 3001 add r0, #1
910 1060: 9000 str r0, [sp, #0]
911 1062: 9105 str r1, [sp, #20] ; 0x14
912 1064: 9800 ldr r0, [sp, #0]
913 1066: 7801 ldrb r1, [r0, #0]
914 1068: 3001 add r0, #1
915 106a: 9000 str r0, [sp, #0]
916 106c: 9801 ldr r0, [sp, #4]
917 106e: 7001 strb r1, [r0, #0]
918 1070: 2001 mov r0, #1
919 1072: 9004 str r0, [sp, #16] ; 0x10
920 1074: e0a8 b 0x11c8
921 1076: 9804 ldr r0, [sp, #16] ; 0x10
922 1078: 3002 add r0, #2
923 107a: 9004 str r0, [sp, #16] ; 0x10
924 107c: 9800 ldr r0, [sp, #0]
925 107e: 7801 ldrb r1, [r0, #0]
926 1080: 3001 add r0, #1
927 1082: 9000 str r0, [sp, #0]
928 1084: 4668 mov r0, sp
929 1086: 8441 strh r1, [r0, #34] ; 0x22
930 1088: 9800 ldr r0, [sp, #0]
931 108a: 7801 ldrb r1, [r0, #0]
932 108c: 3001 add r0, #1
933 108e: 9000 str r0, [sp, #0]
934 1090: 4668 mov r0, sp
935 1092: 8401 strh r1, [r0, #32] ; 0x20
936 1094: 8c00 ldrh r0, [r0, #32] ; 0x20
937 1096: 4669 mov r1, sp
938 1098: 8c49 ldrh r1, [r1, #34] ; 0x22
939 109a: 0209 lsl r1, r1, #8
940 109c: 1840 add r0, r0, r1
941 109e: 9901 ldr r1, [sp, #4]
942 10a0: 8088 strh r0, [r1, #4]
943 10a2: 9804 ldr r0, [sp, #16] ; 0x10
944 10a4: 3001 add r0, #1
945 10a6: 9004 str r0, [sp, #16] ; 0x10
946 10a8: 9800 ldr r0, [sp, #0]
947 10aa: 7801 ldrb r1, [r0, #0]
948 10ac: 3001 add r0, #1
949 10ae: 9000 str r0, [sp, #0]
950 10b0: 4668 mov r0, sp
951 10b2: 7601 strb r1, [r0, #24] ; 0x18
952 10b4: 9901 ldr r1, [sp, #4]
953 10b6: 7e00 ldrb r0, [r0, #24] ; 0x18
954 10b8: 7188 strb r0, [r1, #6]
955 10ba: 4668 mov r0, sp
956 10bc: 7e00 ldrb r0, [r0, #24] ; 0x18
957 10be: 2840 cmp r0, #64 ; 0x40
958 10c0: dc00 bgt 0x10c4
959 10c2: e09f b 0x1204
960 10c4: 2004 mov r0, #4
961 10c6: 9003 str r0, [sp, #12] ; 0xc
962 10c8: e09c b 0x1204
963 10ca: 9804 ldr r0, [sp, #16] ; 0x10
964 10cc: 3002 add r0, #2
965 10ce: 9004 str r0, [sp, #16] ; 0x10
966 10d0: 9800 ldr r0, [sp, #0]
967 10d2: 7801 ldrb r1, [r0, #0]
968 10d4: 3001 add r0, #1
969 10d6: 9000 str r0, [sp, #0]
970 10d8: 4668 mov r0, sp
971 10da: 8441 strh r1, [r0, #34] ; 0x22
972 10dc: 9800 ldr r0, [sp, #0]
973 10de: 7801 ldrb r1, [r0, #0]
974 10e0: 3001 add r0, #1
975 10e2: 9000 str r0, [sp, #0]
976 10e4: 4668 mov r0, sp
977 10e6: 8401 strh r1, [r0, #32] ; 0x20
978 10e8: 8c00 ldrh r0, [r0, #32] ; 0x20
979 10ea: 4669 mov r1, sp
980 10ec: 8c49 ldrh r1, [r1, #34] ; 0x22
981 10ee: 0209 lsl r1, r1, #8
982 10f0: 1841 add r1, r0, r1
983 10f2: 9801 ldr r0, [sp, #4]
984 10f4: 8081 strh r1, [r0, #4]
985 10f6: 9804 ldr r0, [sp, #16] ; 0x10
986 10f8: 3001 add r0, #1
987 10fa: 9004 str r0, [sp, #16] ; 0x10
988 10fc: 9800 ldr r0, [sp, #0]
989 10fe: 7801 ldrb r1, [r0, #0]
990 1100: 3001 add r0, #1
991 1102: 9000 str r0, [sp, #0]
992 1104: 4668 mov r0, sp
993 1106: 7601 strb r1, [r0, #24] ; 0x18
994 1108: 9901 ldr r1, [sp, #4]
995 110a: 7e00 ldrb r0, [r0, #24] ; 0x18
996 110c: 7188 strb r0, [r1, #6]
997 110e: 4668 mov r0, sp
998 1110: 7e00 ldrb r0, [r0, #24] ; 0x18
999 1112: 2840 cmp r0, #64 ; 0x40
1000 1114: dcd6 bgt 0x10c4
1001 1116: 9801 ldr r0, [sp, #4]
1002 1118: 3008 add r0, #8
1003 111a: 9007 str r0, [sp, #28] ; 0x1c
1004 111c: 2000 mov r0, #0
1005 111e: 9002 str r0, [sp, #8]
1006 1120: 9902 ldr r1, [sp, #8]
1007 1122: 4668 mov r0, sp
1008 1124: 7e00 ldrb r0, [r0, #24] ; 0x18
1009 1126: 4281 cmp r1, r0
1010 1128: da6c bge 0x1204
1011 112a: 9800 ldr r0, [sp, #0]
1012 112c: 7801 ldrb r1, [r0, #0]
1013 112e: 3001 add r0, #1
1014 1130: 9000 str r0, [sp, #0]
1015 1132: 4668 mov r0, sp
1016 1134: 84c1 strh r1, [r0, #38] ; 0x26
1017 1136: 9800 ldr r0, [sp, #0]
1018 1138: 7801 ldrb r1, [r0, #0]
1019 113a: 3001 add r0, #1
1020 113c: 9000 str r0, [sp, #0]
1021 113e: 4668 mov r0, sp
1022 1140: 8481 strh r1, [r0, #36] ; 0x24
1023 1142: 9807 ldr r0, [sp, #28] ; 0x1c
1024 1144: 1c81 add r1, r0, #2
1025 1146: 9107 str r1, [sp, #28] ; 0x1c
1026 1148: 4669 mov r1, sp
1027 114a: 8c89 ldrh r1, [r1, #36] ; 0x24
1028 114c: 466a mov r2, sp
1029 114e: 8cd2 ldrh r2, [r2, #38] ; 0x26
1030 1150: 0212 lsl r2, r2, #8
1031 1152: 1889 add r1, r1, r2
1032 1154: 8001 strh r1, [r0, #0]
1033 1156: 9804 ldr r0, [sp, #16] ; 0x10
1034 1158: 3002 add r0, #2
1035 115a: 9004 str r0, [sp, #16] ; 0x10
1036 115c: 9802 ldr r0, [sp, #8]
1037 115e: 3001 add r0, #1
1038 1160: 9002 str r0, [sp, #8]
1039 1162: 9902 ldr r1, [sp, #8]
1040 1164: 4668 mov r0, sp
1041 1166: 7e00 ldrb r0, [r0, #24] ; 0x18
1042 1168: 4281 cmp r1, r0
1043 116a: dbde blt 0x112a
1044 116c: e04a b 0x1204
1045 116e: 9804 ldr r0, [sp, #16] ; 0x10
1046 1170: 3002 add r0, #2
1047 1172: 9004 str r0, [sp, #16] ; 0x10
1048 1174: 9800 ldr r0, [sp, #0]
1049 1176: 7801 ldrb r1, [r0, #0]
1050 1178: 3001 add r0, #1
1051 117a: 9000 str r0, [sp, #0]
1052 117c: 4668 mov r0, sp
1053 117e: 8501 strh r1, [r0, #40] ; 0x28
1054 1180: 9800 ldr r0, [sp, #0]
1055 1182: 7801 ldrb r1, [r0, #0]
1056 1184: 3001 add r0, #1
1057 1186: 9000 str r0, [sp, #0]
1058 1188: 4668 mov r0, sp
1059 118a: 8541 strh r1, [r0, #42] ; 0x2a
1060 118c: 8d41 ldrh r1, [r0, #42] ; 0x2a
1061 118e: 8d00 ldrh r0, [r0, #40] ; 0x28
1062 1190: 0200 lsl r0, r0, #8
1063 1192: 1809 add r1, r1, r0
1064 1194: 9801 ldr r0, [sp, #4]
1065 1196: 8081 strh r1, [r0, #4]
1066 1198: 9804 ldr r0, [sp, #16] ; 0x10
1067 119a: 3002 add r0, #2
1068 119c: 9004 str r0, [sp, #16] ; 0x10
1069 119e: 9800 ldr r0, [sp, #0]
1070 11a0: 7801 ldrb r1, [r0, #0]
1071 11a2: 3001 add r0, #1
1072 11a4: 9000 str r0, [sp, #0]
1073 11a6: 4668 mov r0, sp
1074 11a8: 8581 strh r1, [r0, #44] ; 0x2c
1075 11aa: 9800 ldr r0, [sp, #0]
1076 11ac: 7801 ldrb r1, [r0, #0]
1077 11ae: 3001 add r0, #1
1078 11b0: 9000 str r0, [sp, #0]
1079 11b2: 4668 mov r0, sp
1080 11b4: 85c1 strh r1, [r0, #46] ; 0x2e
1081 11b6: 8dc1 ldrh r1, [r0, #46] ; 0x2e
1082 11b8: 8d80 ldrh r0, [r0, #44] ; 0x2c
1083 11ba: 0200 lsl r0, r0, #8
1084 11bc: 1808 add r0, r1, r0
1085 11be: 9901 ldr r1, [sp, #4]
1086 11c0: 80c8 strh r0, [r1, #6]
1087 11c2: e01f b 0x1204
1088 11c4: 2008 mov r0, #8
1089 11c6: e77e b 0x10c6
1090 11c8: 9801 ldr r0, [sp, #4]
1091 11ca: 7801 ldrb r1, [r0, #0]
1092 11cc: 290a cmp r1, #10 ; 0xa
1093 11ce: d8f9 bhi 0x11c4
1094 11d0: a001 add r0, pc, #4
1095 11d2: 0089 lsl r1, r1, #2
1096 11d4: 5840 ldr r0, [r0, r1]
1097 11d6: 4687 mov pc, r0
1098 11d8: 1204 asr r4, r0, #8
1099 11da: 0000 lsl r0, r0, #0
1100 11dc: 1204 asr r4, r0, #8
1101 11de: 0000 lsl r0, r0, #0
1102 11e0: 1204 asr r4, r0, #8
1103 11e2: 0000 lsl r0, r0, #0
1104 11e4: 1204 asr r4, r0, #8
1105 11e6: 0000 lsl r0, r0, #0
1106 11e8: 1204 asr r4, r0, #8
1107 11ea: 0000 lsl r0, r0, #0
1108 11ec: 1204 asr r4, r0, #8
1109 11ee: 0000 lsl r0, r0, #0
1110 11f0: 1204 asr r4, r0, #8
1111 11f2: 0000 lsl r0, r0, #0
1112 11f4: 1076 asr r6, r6, #1
1113 11f6: 0000 lsl r0, r0, #0
1114 11f8: 10ca asr r2, r1, #3
1115 11fa: 0000 lsl r0, r0, #0
1116 11fc: 1204 asr r4, r0, #8
1117 11fe: 0000 lsl r0, r0, #0
1118 1200: 116e asr r6, r5, #5
1119 1202: 0000 lsl r0, r0, #0
1120 1204: 9905 ldr r1, [sp, #20] ; 0x14
1121 1206: 9804 ldr r0, [sp, #16] ; 0x10
1122 1208: 4281 cmp r1, r0
1123 120a: d001 beq 0x1210
1124 120c: 2004 mov r0, #4
1125 120e: 9003 str r0, [sp, #12] ; 0xc
1126 1210: 9803 ldr r0, [sp, #12] ; 0xc
1127 1212: b00c add sp, #48 ; 0x30
1128 1214: 4770 bx lr
1129 1216: b089 sub sp, #36 ; 0x24
1130 1218: 9101 str r1, [sp, #4]
1131 121a: 9000 str r0, [sp, #0]
1132 121c: 2000 mov r0, #0
1133 121e: 9003 str r0, [sp, #12] ; 0xc
1134 1220: 9801 ldr r0, [sp, #4]
1135 1222: 1c41 add r1, r0, #1
1136 1224: 9101 str r1, [sp, #4]
1137 1226: 9005 str r0, [sp, #20] ; 0x14
1138 1228: 9801 ldr r0, [sp, #4]
1139 122a: 1c41 add r1, r0, #1
1140 122c: 9101 str r1, [sp, #4]
1141 122e: 9900 ldr r1, [sp, #0]
1142 1230: 7809 ldrb r1, [r1, #0]
1143 1232: 7001 strb r1, [r0, #0]
1144 1234: 4669 mov r1, sp
1145 1236: 2001 mov r0, #1
1146 1238: 7408 strb r0, [r1, #16] ; 0x10
1147 123a: 9801 ldr r0, [sp, #4]
1148 123c: 1c41 add r1, r0, #1
1149 123e: 9101 str r1, [sp, #4]
1150 1240: 9900 ldr r1, [sp, #0]
1151 1242: 7849 ldrb r1, [r1, #1]
1152 1244: 7001 strb r1, [r0, #0]
1153 1246: 4669 mov r1, sp
1154 1248: 4668 mov r0, sp
1155 124a: 7c00 ldrb r0, [r0, #16] ; 0x10
1156 124c: 3001 add r0, #1
1157 124e: 7408 strb r0, [r1, #16] ; 0x10
1158 1250: e0e4 b 0x141c
1159 1252: 9800 ldr r0, [sp, #0]
1160 1254: 7840 ldrb r0, [r0, #1]
1161 1256: 2800 cmp r0, #0
1162 1258: d000 beq 0x125c
1163 125a: e0fd b 0x1458
1164 125c: 9801 ldr r0, [sp, #4]
1165 125e: 1c41 add r1, r0, #1
1166 1260: 9101 str r1, [sp, #4]
1167 1262: 9900 ldr r1, [sp, #0]
1168 1264: 7909 ldrb r1, [r1, #4]
1169 1266: 7001 strb r1, [r0, #0]
1170 1268: 9801 ldr r0, [sp, #4]
1171 126a: 1c41 add r1, r0, #1
1172 126c: 9101 str r1, [sp, #4]
1173 126e: 9900 ldr r1, [sp, #0]
1174 1270: 7949 ldrb r1, [r1, #5]
1175 1272: 7001 strb r1, [r0, #0]
1176 1274: 9801 ldr r0, [sp, #4]
1177 1276: 1c41 add r1, r0, #1
1178 1278: 9101 str r1, [sp, #4]
1179 127a: 9900 ldr r1, [sp, #0]
1180 127c: 7989 ldrb r1, [r1, #6]
1181 127e: 7001 strb r1, [r0, #0]
1182 1280: 4668 mov r0, sp
1183 1282: 7c00 ldrb r0, [r0, #16] ; 0x10
1184 1284: 3003 add r0, #3
1185 1286: 4669 mov r1, sp
1186 1288: 7408 strb r0, [r1, #16] ; 0x10
1187 128a: e0e5 b 0x1458
1188 128c: 9800 ldr r0, [sp, #0]
1189 128e: 7840 ldrb r0, [r0, #1]
1190 1290: 2800 cmp r0, #0
1191 1292: d000 beq 0x1296
1192 1294: e0e0 b 0x1458
1193 1296: 9801 ldr r0, [sp, #4]
1194 1298: 1c41 add r1, r0, #1
1195 129a: 9101 str r1, [sp, #4]
1196 129c: 9900 ldr r1, [sp, #0]
1197 129e: 7909 ldrb r1, [r1, #4]
1198 12a0: 7001 strb r1, [r0, #0]
1199 12a2: 4668 mov r0, sp
1200 12a4: 7c00 ldrb r0, [r0, #16] ; 0x10
1201 12a6: 3001 add r0, #1
1202 12a8: e7ed b 0x1286
1203 12aa: 9800 ldr r0, [sp, #0]
1204 12ac: 7840 ldrb r0, [r0, #1]
1205 12ae: 2800 cmp r0, #0
1206 12b0: d000 beq 0x12b4
1207 12b2: e0d1 b 0x1458
1208 12b4: e7ef b 0x1296
1209 12b6: 9800 ldr r0, [sp, #0]
1210 12b8: 7840 ldrb r0, [r0, #1]
1211 12ba: 2800 cmp r0, #0
1212 12bc: d000 beq 0x12c0
1213 12be: e0cb b 0x1458
1214 12c0: e7e9 b 0x1296
1215 12c2: 9800 ldr r0, [sp, #0]
1216 12c4: 7840 ldrb r0, [r0, #1]
1217 12c6: 2800 cmp r0, #0
1218 12c8: d000 beq 0x12cc
1219 12ca: e0c5 b 0x1458
1220 12cc: 4669 mov r1, sp
1221 12ce: 9800 ldr r0, [sp, #0]
1222 12d0: 8880 ldrh r0, [r0, #4]
1223 12d2: 8408 strh r0, [r1, #32] ; 0x20
1224 12d4: 9801 ldr r0, [sp, #4]
1225 12d6: 1c41 add r1, r0, #1
1226 12d8: 9101 str r1, [sp, #4]
1227 12da: 4669 mov r1, sp
1228 12dc: 8c09 ldrh r1, [r1, #32] ; 0x20
1229 12de: 0409 lsl r1, r1, #16
1230 12e0: 0e09 lsr r1, r1, #24
1231 12e2: 0209 lsl r1, r1, #8
1232 12e4: 1209 asr r1, r1, #8
1233 12e6: 7001 strb r1, [r0, #0]
1234 12e8: 9801 ldr r0, [sp, #4]
1235 12ea: 1c41 add r1, r0, #1
1236 12ec: 9101 str r1, [sp, #4]
1237 12ee: 4669 mov r1, sp
1238 12f0: 8c09 ldrh r1, [r1, #32] ; 0x20
1239 12f2: 0609 lsl r1, r1, #24
1240 12f4: 0e09 lsr r1, r1, #24
1241 12f6: 7001 strb r1, [r0, #0]
1242 12f8: 4669 mov r1, sp
1243 12fa: 9800 ldr r0, [sp, #0]
1244 12fc: 88c0 ldrh r0, [r0, #6]
1245 12fe: 8408 strh r0, [r1, #32] ; 0x20
1246 1300: 9801 ldr r0, [sp, #4]
1247 1302: 1c41 add r1, r0, #1
1248 1304: 9101 str r1, [sp, #4]
1249 1306: 4669 mov r1, sp
1250 1308: 8c09 ldrh r1, [r1, #32] ; 0x20
1251 130a: 0409 lsl r1, r1, #16
1252 130c: 0e09 lsr r1, r1, #24
1253 130e: 0209 lsl r1, r1, #8
1254 1310: 1209 asr r1, r1, #8
1255 1312: 7001 strb r1, [r0, #0]
1256 1314: 9801 ldr r0, [sp, #4]
1257 1316: 1c41 add r1, r0, #1
1258 1318: 9101 str r1, [sp, #4]
1259 131a: 4669 mov r1, sp
1260 131c: 8c09 ldrh r1, [r1, #32] ; 0x20
1261 131e: 0609 lsl r1, r1, #24
1262 1320: 0e09 lsr r1, r1, #24
1263 1322: 7001 strb r1, [r0, #0]
1264 1324: 4668 mov r0, sp
1265 1326: 7c00 ldrb r0, [r0, #16] ; 0x10
1266 1328: 3004 add r0, #4
1267 132a: e7ac b 0x1286
1268 132c: 9800 ldr r0, [sp, #0]
1269 132e: 7840 ldrb r0, [r0, #1]
1270 1330: 2800 cmp r0, #0
1271 1332: d000 beq 0x1336
1272 1334: e090 b 0x1458
1273 1336: e7ae b 0x1296
1274 1338: 9800 ldr r0, [sp, #0]
1275 133a: 7840 ldrb r0, [r0, #1]
1276 133c: 2800 cmp r0, #0
1277 133e: d000 beq 0x1342
1278 1340: e08a b 0x1458
1279 1342: 4669 mov r1, sp
1280 1344: 4668 mov r0, sp
1281 1346: 7c00 ldrb r0, [r0, #16] ; 0x10
1282 1348: 3001 add r0, #1
1283 134a: 7408 strb r0, [r1, #16] ; 0x10
1284 134c: 4668 mov r0, sp
1285 134e: 9900 ldr r1, [sp, #0]
1286 1350: 7909 ldrb r1, [r1, #4]
1287 1352: 7601 strb r1, [r0, #24] ; 0x18
1288 1354: 9801 ldr r0, [sp, #4]
1289 1356: 1c41 add r1, r0, #1
1290 1358: 9101 str r1, [sp, #4]
1291 135a: 4669 mov r1, sp
1292 135c: 7e09 ldrb r1, [r1, #24] ; 0x18
1293 135e: 7001 strb r1, [r0, #0]
1294 1360: 4668 mov r0, sp
1295 1362: 7e00 ldrb r0, [r0, #24] ; 0x18
1296 1364: 2840 cmp r0, #64 ; 0x40
1297 1366: dd01 ble 0x136c
1298 1368: 2004 mov r0, #4
1299 136a: e055 b 0x1418
1300 136c: 9800 ldr r0, [sp, #0]
1301 136e: 3006 add r0, #6
1302 1370: 9007 str r0, [sp, #28] ; 0x1c
1303 1372: 2000 mov r0, #0
1304 1374: 9002 str r0, [sp, #8]
1305 1376: 9902 ldr r1, [sp, #8]
1306 1378: 4668 mov r0, sp
1307 137a: 7e00 ldrb r0, [r0, #24] ; 0x18
1308 137c: 4281 cmp r1, r0
1309 137e: da6b bge 0x1458
1310 1380: 9801 ldr r0, [sp, #4]
1311 1382: 1c41 add r1, r0, #1
1312 1384: 9101 str r1, [sp, #4]
1313 1386: 9907 ldr r1, [sp, #28] ; 0x1c
1314 1388: 8809 ldrh r1, [r1, #0]
1315 138a: 0409 lsl r1, r1, #16
1316 138c: 0e09 lsr r1, r1, #24
1317 138e: 0209 lsl r1, r1, #8
1318 1390: 1209 asr r1, r1, #8
1319 1392: 7001 strb r1, [r0, #0]
1320 1394: 9807 ldr r0, [sp, #28] ; 0x1c
1321 1396: 8801 ldrh r1, [r0, #0]
1322 1398: 3002 add r0, #2
1323 139a: 9007 str r0, [sp, #28] ; 0x1c
1324 139c: 0608 lsl r0, r1, #24
1325 139e: 0e01 lsr r1, r0, #24
1326 13a0: 9801 ldr r0, [sp, #4]
1327 13a2: 1c42 add r2, r0, #1
1328 13a4: 9201 str r2, [sp, #4]
1329 13a6: 7001 strb r1, [r0, #0]
1330 13a8: 4669 mov r1, sp
1331 13aa: 4668 mov r0, sp
1332 13ac: 7c00 ldrb r0, [r0, #16] ; 0x10
1333 13ae: 3002 add r0, #2
1334 13b0: 7408 strb r0, [r1, #16] ; 0x10
1335 13b2: 9802 ldr r0, [sp, #8]
1336 13b4: 3001 add r0, #1
1337 13b6: 9002 str r0, [sp, #8]
1338 13b8: 9902 ldr r1, [sp, #8]
1339 13ba: 4668 mov r0, sp
1340 13bc: 7e00 ldrb r0, [r0, #24] ; 0x18
1341 13be: 4281 cmp r1, r0
1342 13c0: dbde blt 0x1380
1343 13c2: e049 b 0x1458
1344 13c4: 9800 ldr r0, [sp, #0]
1345 13c6: 7840 ldrb r0, [r0, #1]
1346 13c8: 2800 cmp r0, #0
1347 13ca: d145 bne 0x1458
1348 13cc: 4669 mov r1, sp
1349 13ce: 9800 ldr r0, [sp, #0]
1350 13d0: 8880 ldrh r0, [r0, #4]
1351 13d2: 8408 strh r0, [r1, #32] ; 0x20
1352 13d4: 9801 ldr r0, [sp, #4]
1353 13d6: 1c41 add r1, r0, #1
1354 13d8: 9101 str r1, [sp, #4]
1355 13da: 4669 mov r1, sp
1356 13dc: 8c09 ldrh r1, [r1, #32] ; 0x20
1357 13de: 0409 lsl r1, r1, #16
1358 13e0: 0e09 lsr r1, r1, #24
1359 13e2: 0209 lsl r1, r1, #8
1360 13e4: 1209 asr r1, r1, #8
1361 13e6: 7001 strb r1, [r0, #0]
1362 13e8: 9801 ldr r0, [sp, #4]
1363 13ea: 1c41 add r1, r0, #1
1364 13ec: 9101 str r1, [sp, #4]
1365 13ee: 4669 mov r1, sp
1366 13f0: 8c09 ldrh r1, [r1, #32] ; 0x20
1367 13f2: 0609 lsl r1, r1, #24
1368 13f4: 0e09 lsr r1, r1, #24
1369 13f6: 7001 strb r1, [r0, #0]
1370 13f8: 4668 mov r0, sp
1371 13fa: 9900 ldr r1, [sp, #0]
1372 13fc: 88c9 ldrh r1, [r1, #6]
1373 13fe: 8401 strh r1, [r0, #32] ; 0x20
1374 1400: 9901 ldr r1, [sp, #4]
1375 1402: 1c48 add r0, r1, #1
1376 1404: 9001 str r0, [sp, #4]
1377 1406: 4668 mov r0, sp
1378 1408: 8c00 ldrh r0, [r0, #32] ; 0x20
1379 140a: 0400 lsl r0, r0, #16
1380 140c: 0e00 lsr r0, r0, #24
1381 140e: 0200 lsl r0, r0, #8
1382 1410: 1200 asr r0, r0, #8
1383 1412: 7008 strb r0, [r1, #0]
1384 1414: e77e b 0x1314
1385 1416: 2008 mov r0, #8
1386 1418: 9003 str r0, [sp, #12] ; 0xc
1387 141a: e01d b 0x1458
1388 141c: 9800 ldr r0, [sp, #0]
1389 141e: 7800 ldrb r0, [r0, #0]
1390 1420: 280a cmp r0, #10 ; 0xa
1391 1422: d8f8 bhi 0x1416
1392 1424: a101 add r1, pc, #4
1393 1426: 0080 lsl r0, r0, #2
1394 1428: 5808 ldr r0, [r1, r0]
1395 142a: 4687 mov pc, r0
1396 142c: 1252 asr r2, r2, #9
1397 142e: 0000 lsl r0, r0, #0
1398 1430: 128c asr r4, r1, #10
1399 1432: 0000 lsl r0, r0, #0
1400 1434: 12aa asr r2, r5, #10
1401 1436: 0000 lsl r0, r0, #0
1402 1438: 12b6 asr r6, r6, #10
1403 143a: 0000 lsl r0, r0, #0
1404 143c: 1458 asr r0, r3, #17
1405 143e: 0000 lsl r0, r0, #0
1406 1440: 12c2 asr r2, r0, #11
1407 1442: 0000 lsl r0, r0, #0
1408 1444: 132c asr r4, r5, #12
1409 1446: 0000 lsl r0, r0, #0
1410 1448: 1338 asr r0, r7, #12
1411 144a: 0000 lsl r0, r0, #0
1412 144c: 1458 asr r0, r3, #17
1413 144e: 0000 lsl r0, r0, #0
1414 1450: 13c4 asr r4, r0, #15
1415 1452: 0000 lsl r0, r0, #0
1416 1454: 1458 asr r0, r3, #17
1417 1456: 0000 lsl r0, r0, #0
1418 1458: 9805 ldr r0, [sp, #20] ; 0x14
1419 145a: 4669 mov r1, sp
1420 145c: 7c09 ldrb r1, [r1, #16] ; 0x10
1421 145e: 7001 strb r1, [r0, #0]
1422 1460: 9803 ldr r0, [sp, #12] ; 0xc
1423 1462: b009 add sp, #36 ; 0x24
1424 1464: 4770 bx lr
1425 1466: 0000 lsl r0, r0, #0
1426 1468: b500 push {lr}
1427 146a: b083 sub sp, #12 ; 0xc
1428 146c: 9101 str r1, [sp, #4]
1429 146e: 4669 mov r1, sp
1430 1470: 7008 strb r0, [r1, #0]
1431 1472: 2000 mov r0, #0
1432 1474: 9002 str r0, [sp, #8]
1433 1476: e073 b 0x1560
1434 1478: 4668 mov r0, sp
1435 147a: 7800 ldrb r0, [r0, #0]
1436 147c: 28aa cmp r0, #170 ; 0xaa
1437 147e: d106 bne 0x148e
1438 1480: 4965 ldr r1, =0x83ff10 ; via 0x1618
1439 1482: 4865 ldr r0, =0x83ff10 ; via 0x1618
1440 1484: 6800 ldr r0, [r0, #0]
1441 1486: 3001 add r0, #1
1442 1488: 07c0 lsl r0, r0, #31
1443 148a: 0fc0 lsr r0, r0, #31
1444 148c: e013 b 0x14b6
1445 148e: 4862 ldr r0, =0x83ff10 ; via 0x1618
1446 1490: 6800 ldr r0, [r0, #0]
1447 1492: 2800 cmp r0, #0
1448 1494: d06b beq 0x156e
1449 1496: 4961 ldr r1, =0x83ff04 ; via 0x161c
1450 1498: 9801 ldr r0, [sp, #4]
1451 149a: 3001 add r0, #1
1452 149c: 6008 str r0, [r1, #0]
1453 149e: 4960 ldr r1, =0x83ff0e ; via 0x1620
1454 14a0: 2000 mov r0, #0
1455 14a2: 7008 strb r0, [r1, #0]
1456 14a4: 495f ldr r1, =0x83ff0c ; via 0x1624
1457 14a6: 4668 mov r0, sp
1458 14a8: 7800 ldrb r0, [r0, #0]
1459 14aa: 8008 strh r0, [r1, #0]
1460 14ac: 495a ldr r1, =0x83ff10 ; via 0x1618
1461 14ae: 2000 mov r0, #0
1462 14b0: 6008 str r0, [r1, #0]
1463 14b2: 495d ldr r1, =0x83ff08 ; via 0x1628
1464 14b4: 2001 mov r0, #1
1465 14b6: 6008 str r0, [r1, #0]
1466 14b8: e059 b 0x156e
1467 14ba: 4668 mov r0, sp
1468 14bc: 7800 ldrb r0, [r0, #0]
1469 14be: 28aa cmp r0, #170 ; 0xaa
1470 14c0: d113 bne 0x14ea
1471 14c2: 4855 ldr r0, =0x83ff10 ; via 0x1618
1472 14c4: 6800 ldr r0, [r0, #0]
1473 14c6: 2800 cmp r0, #0
1474 14c8: d00b beq 0x14e2
1475 14ca: 4954 ldr r1, =0x83ff04 ; via 0x161c
1476 14cc: 6808 ldr r0, [r1, #0]
1477 14ce: 1c42 add r2, r0, #1
1478 14d0: 600a str r2, [r1, #0]
1479 14d2: 4669 mov r1, sp
1480 14d4: 7809 ldrb r1, [r1, #0]
1481 14d6: 7001 strb r1, [r0, #0]
1482 14d8: 4951 ldr r1, =0x83ff0e ; via 0x1620
1483 14da: 7808 ldrb r0, [r1, #0]
1484 14dc: 3001 add r0, #1
1485 14de: 7008 strb r0, [r1, #0]
1486 14e0: e013 b 0x150a
1487 14e2: 2101 mov r1, #1
1488 14e4: 484c ldr r0, =0x83ff10 ; via 0x1618
1489 14e6: 6001 str r1, [r0, #0]
1490 14e8: e01c b 0x1524
1491 14ea: 484b ldr r0, =0x83ff10 ; via 0x1618
1492 14ec: 6800 ldr r0, [r0, #0]
1493 14ee: 2800 cmp r0, #0
1494 14f0: d00d beq 0x150e
1495 14f2: 494a ldr r1, =0x83ff04 ; via 0x161c
1496 14f4: 9801 ldr r0, [sp, #4]
1497 14f6: 3001 add r0, #1
1498 14f8: 6008 str r0, [r1, #0]
1499 14fa: 4849 ldr r0, =0x83ff0e ; via 0x1620
1500 14fc: 2100 mov r1, #0
1501 14fe: 7001 strb r1, [r0, #0]
1502 1500: 4948 ldr r1, =0x83ff0c ; via 0x1624
1503 1502: 4668 mov r0, sp
1504 1504: 7800 ldrb r0, [r0, #0]
1505 1506: 3001 add r0, #1
1506 1508: 8008 strh r0, [r1, #0]
1507 150a: 2100 mov r1, #0
1508 150c: e7ea b 0x14e4
1509 150e: 4843 ldr r0, =0x83ff04 ; via 0x161c
1510 1510: 6801 ldr r1, [r0, #0]
1511 1512: 1c4a add r2, r1, #1
1512 1514: 6002 str r2, [r0, #0]
1513 1516: 4668 mov r0, sp
1514 1518: 7800 ldrb r0, [r0, #0]
1515 151a: 7008 strb r0, [r1, #0]
1516 151c: 4940 ldr r1, =0x83ff0e ; via 0x1620
1517 151e: 7808 ldrb r0, [r1, #0]
1518 1520: 3001 add r0, #1
1519 1522: 7008 strb r0, [r1, #0]
1520 1524: 483f ldr r0, =0x83ff0c ; via 0x1624
1521 1526: 8801 ldrh r1, [r0, #0]
1522 1528: 3901 sub r1, #1
1523 152a: 8001 strh r1, [r0, #0]
1524 152c: 483d ldr r0, =0x83ff0c ; via 0x1624
1525 152e: 8800 ldrh r0, [r0, #0]
1526 1530: 2800 cmp r0, #0
1527 1532: d11c bne 0x156e
1528 1534: 9901 ldr r1, [sp, #4]
1529 1536: 483a ldr r0, =0x83ff0e ; via 0x1620
1530 1538: 7800 ldrb r0, [r0, #0]
1531 153a: 7008 strb r0, [r1, #0]
1532 153c: 2001 mov r0, #1
1533 153e: 9002 str r0, [sp, #8]
1534 1540: 4839 ldr r0, =0x83ff08 ; via 0x1628
1535 1542: 2100 mov r1, #0
1536 1544: 6001 str r1, [r0, #0]
1537 1546: 4834 ldr r0, =0x83ff10 ; via 0x1618
1538 1548: 6001 str r1, [r0, #0]
1539 154a: 9801 ldr r0, [sp, #4]
1540 154c: 7800 ldrb r0, [r0, #0]
1541 154e: 2801 cmp r0, #1
1542 1550: d10d bne 0x156e
1543 1552: 9801 ldr r0, [sp, #4]
1544 1554: 7840 ldrb r0, [r0, #1]
1545 1556: 28dd cmp r0, #221 ; 0xdd
1546 1558: d109 bne 0x156e
1547 155a: f7ff fae3 bl 0xb24
1548 155e: e006 b 0x156e
1549 1560: 4831 ldr r0, =0x83ff08 ; via 0x1628
1550 1562: 6800 ldr r0, [r0, #0]
1551 1564: 2800 cmp r0, #0
1552 1566: d087 beq 0x1478
1553 1568: 3801 sub r0, #1
1554 156a: 2800 cmp r0, #0
1555 156c: d0a5 beq 0x14ba
1556 156e: 9802 ldr r0, [sp, #8]
1557 1570: b003 add sp, #12 ; 0xc
1558 1572: bd00 pop {pc}
1559 1574: b086 sub sp, #24 ; 0x18
1560 1576: 9202 str r2, [sp, #8]
1561 1578: 9101 str r1, [sp, #4]
1562 157a: 9000 str r0, [sp, #0]
1563 157c: 9801 ldr r0, [sp, #4]
1564 157e: 3001 add r0, #1
1565 1580: 9004 str r0, [sp, #16] ; 0x10
1566 1582: 9800 ldr r0, [sp, #0]
1567 1584: 1c41 add r1, r0, #1
1568 1586: 9100 str r1, [sp, #0]
1569 1588: 9005 str r0, [sp, #20] ; 0x14
1570 158a: 9901 ldr r1, [sp, #4]
1571 158c: 20aa mov r0, #170 ; 0xaa
1572 158e: 7008 strb r0, [r1, #0]
1573 1590: 9801 ldr r0, [sp, #4]
1574 1592: 3002 add r0, #2
1575 1594: 9001 str r0, [sp, #4]
1576 1596: 9902 ldr r1, [sp, #8]
1577 1598: 2000 mov r0, #0
1578 159a: 8008 strh r0, [r1, #0]
1579 159c: 4669 mov r1, sp
1580 159e: 8188 strh r0, [r1, #12] ; 0xc
1581 15a0: 4668 mov r0, sp
1582 15a2: 8981 ldrh r1, [r0, #12] ; 0xc
1583 15a4: 9805 ldr r0, [sp, #20] ; 0x14
1584 15a6: 7800 ldrb r0, [r0, #0]
1585 15a8: 4281 cmp r1, r0
1586 15aa: da23 bge 0x15f4
1587 15ac: 9800 ldr r0, [sp, #0]
1588 15ae: 7800 ldrb r0, [r0, #0]
1589 15b0: 28aa cmp r0, #170 ; 0xaa
1590 15b2: d108 bne 0x15c6
1591 15b4: 9801 ldr r0, [sp, #4]
1592 15b6: 1c41 add r1, r0, #1
1593 15b8: 9101 str r1, [sp, #4]
1594 15ba: 21aa mov r1, #170 ; 0xaa
1595 15bc: 7001 strb r1, [r0, #0]
1596 15be: 9902 ldr r1, [sp, #8]
1597 15c0: 8808 ldrh r0, [r1, #0]
1598 15c2: 3001 add r0, #1
1599 15c4: 8008 strh r0, [r1, #0]
1600 15c6: 9800 ldr r0, [sp, #0]
1601 15c8: 7801 ldrb r1, [r0, #0]
1602 15ca: 3001 add r0, #1
1603 15cc: 9000 str r0, [sp, #0]
1604 15ce: 9801 ldr r0, [sp, #4]
1605 15d0: 1c42 add r2, r0, #1
1606 15d2: 9201 str r2, [sp, #4]
1607 15d4: 7001 strb r1, [r0, #0]
1608 15d6: 9902 ldr r1, [sp, #8]
1609 15d8: 8808 ldrh r0, [r1, #0]
1610 15da: 3001 add r0, #1
1611 15dc: 8008 strh r0, [r1, #0]
1612 15de: 4669 mov r1, sp
1613 15e0: 4668 mov r0, sp
1614 15e2: 8980 ldrh r0, [r0, #12] ; 0xc
1615 15e4: 3001 add r0, #1
1616 15e6: 8188 strh r0, [r1, #12] ; 0xc
1617 15e8: 4668 mov r0, sp
1618 15ea: 8980 ldrh r0, [r0, #12] ; 0xc
1619 15ec: 9905 ldr r1, [sp, #20] ; 0x14
1620 15ee: 7809 ldrb r1, [r1, #0]
1621 15f0: 4288 cmp r0, r1
1622 15f2: dbdb blt 0x15ac
1623 15f4: 9904 ldr r1, [sp, #16] ; 0x10
1624 15f6: 9802 ldr r0, [sp, #8]
1625 15f8: 7800 ldrb r0, [r0, #0]
1626 15fa: 7008 strb r0, [r1, #0]
1627 15fc: 9902 ldr r1, [sp, #8]
1628 15fe: 8808 ldrh r0, [r1, #0]
1629 1600: 3002 add r0, #2
1630 1602: 8008 strh r0, [r1, #0]
1631 1604: b006 add sp, #24 ; 0x18
1632 1606: 4770 bx lr
1633 1608: 4907 ldr r1, =0x83ff08 ; via 0x1628
1634 160a: 2000 mov r0, #0
1635 160c: 6008 str r0, [r1, #0]
1636 160e: 4802 ldr r0, =0x83ff10 ; via 0x1618
1637 1610: 2100 mov r1, #0
1638 1612: 6001 str r1, [r0, #0]
1639 1614: 4770 bx lr
1640 1616: 46c0 nop (mov r8, r8)
1641 1618: ff10 <half-bl>
1642 161a: 0083 lsl r3, r0, #2
1643 161c: ff04 <half-bl>
1644 161e: 0083 lsl r3, r0, #2
1645 1620: ff0e <half-bl>
1646 1622: 0083 lsl r3, r0, #2
1647 1624: ff0c <half-bl>
1648 1626: 0083 lsl r3, r0, #2
1649 1628: ff08 <half-bl>
1650 162a: 0083 lsl r3, r0, #2
1651 162c: b082 sub sp, #8
1652 162e: 9101 str r1, [sp, #4]
1653 1630: 9000 str r0, [sp, #0]
1654 1632: 9901 ldr r1, [sp, #4]
1655 1634: 2000 mov r0, #0
1656 1636: 7008 strb r0, [r1, #0]
1657 1638: 9801 ldr r0, [sp, #4]
1658 163a: 2100 mov r1, #0
1659 163c: 7041 strb r1, [r0, #1]
1660 163e: 9801 ldr r0, [sp, #4]
1661 1640: 2102 mov r1, #2
1662 1642: 7101 strb r1, [r0, #4]
1663 1644: 9801 ldr r0, [sp, #4]
1664 1646: 2106 mov r1, #6
1665 1648: 7141 strb r1, [r0, #5]
1666 164a: 9801 ldr r0, [sp, #4]
1667 164c: 2102 mov r1, #2
1668 164e: 7181 strb r1, [r0, #6]
1669 1650: b002 add sp, #8
1670 1652: 4770 bx lr
1671 1654: b500 push {lr}
1672 1656: b084 sub sp, #16 ; 0x10
1673 1658: 466b mov r3, sp
1674 165a: 721a strb r2, [r3, #8]
1675 165c: 9101 str r1, [sp, #4]
1676 165e: 9000 str r0, [sp, #0]
1677 1660: 9901 ldr r1, [sp, #4]
1678 1662: 2009 mov r0, #9
1679 1664: 7008 strb r0, [r1, #0]
1680 1666: e015 b 0x1694
1681 1668: 9801 ldr r0, [sp, #4]
1682 166a: 2100 mov r1, #0
1683 166c: 7041 strb r1, [r0, #1]
1684 166e: 9901 ldr r1, [sp, #4]
1685 1670: 4668 mov r0, sp
1686 1672: 8940 ldrh r0, [r0, #10] ; 0xa
1687 1674: 8088 strh r0, [r1, #4]
1688 1676: 9901 ldr r1, [sp, #4]
1689 1678: 4668 mov r0, sp
1690 167a: 8980 ldrh r0, [r0, #12] ; 0xc
1691 167c: 80c8 strh r0, [r1, #6]
1692 167e: e01e b 0x16be
1693 1680: 2101 mov r1, #1
1694 1682: e004 b 0x168e
1695 1684: 2103 mov r1, #3
1696 1686: e002 b 0x168e
1697 1688: 2105 mov r1, #5
1698 168a: e000 b 0x168e
1699 168c: 2106 mov r1, #6
1700 168e: 9801 ldr r0, [sp, #4]
1701 1690: 7041 strb r1, [r0, #1]
1702 1692: e014 b 0x16be
1703 1694: 200a mov r0, #10 ; 0xa
1704 1696: 4468 add r0, sp
1705 1698: a903 add r1, sp, #12 ; 0xc
1706 169a: 466a mov r2, sp
1707 169c: 7a12 ldrb r2, [r2, #8]
1708 169e: f000 fb71 bl 0x1d84
1709 16a2: 2800 cmp r0, #0
1710 16a4: d0e0 beq 0x1668
1711 16a6: 3801 sub r0, #1
1712 16a8: 2800 cmp r0, #0
1713 16aa: d0e9 beq 0x1680
1714 16ac: 3801 sub r0, #1
1715 16ae: 2800 cmp r0, #0
1716 16b0: d0e8 beq 0x1684
1717 16b2: 3801 sub r0, #1
1718 16b4: 2800 cmp r0, #0
1719 16b6: d0e7 beq 0x1688
1720 16b8: 3801 sub r0, #1
1721 16ba: 2800 cmp r0, #0
1722 16bc: d0e6 beq 0x168c
1723 16be: b004 add sp, #16 ; 0x10
1724 16c0: bd00 pop {pc}
1725 16c2: b084 sub sp, #16 ; 0x10
1726 16c4: 9101 str r1, [sp, #4]
1727 16c6: 9000 str r0, [sp, #0]
1728 16c8: 9901 ldr r1, [sp, #4]
1729 16ca: 200a mov r0, #10 ; 0xa
1730 16cc: 7008 strb r0, [r1, #0]
1731 16ce: 9801 ldr r0, [sp, #4]
1732 16d0: 2100 mov r1, #0
1733 16d2: 7041 strb r1, [r0, #1]
1734 16d4: 4669 mov r1, sp
1735 16d6: 9800 ldr r0, [sp, #0]
1736 16d8: 8880 ldrh r0, [r0, #4]
1737 16da: 8108 strh r0, [r1, #8]
1738 16dc: 9800 ldr r0, [sp, #0]
1739 16de: 88c0 ldrh r0, [r0, #6]
1740 16e0: 8148 strh r0, [r1, #10] ; 0xa
1741 16e2: 4668 mov r0, sp
1742 16e4: 8941 ldrh r1, [r0, #10] ; 0xa
1743 16e6: 8900 ldrh r0, [r0, #8]
1744 16e8: 0400 lsl r0, r0, #16
1745 16ea: 1808 add r0, r1, r0
1746 16ec: 9003 str r0, [sp, #12] ; 0xc
1747 16ee: 9803 ldr r0, [sp, #12] ; 0xc
1748 16f0: b004 add sp, #16 ; 0x10
1749 16f2: 4770 bx lr
1750 16f4: b085 sub sp, #20 ; 0x14
1751 16f6: 9303 str r3, [sp, #12] ; 0xc
1752 16f8: 9202 str r2, [sp, #8]
1753 16fa: 9101 str r1, [sp, #4]
1754 16fc: 4669 mov r1, sp
1755 16fe: 7008 strb r0, [r1, #0]
1756 1700: 48ea ldr r0, =0x83ff19 ; via 0x1aac
1757 1702: 7809 ldrb r1, [r1, #0]
1758 1704: 7802 ldrb r2, [r0, #0]
1759 1706: 1889 add r1, r1, r2
1760 1708: 7001 strb r1, [r0, #0]
1761 170a: 48e9 ldr r0, =0x83ff1a ; via 0x1ab0
1762 170c: 7800 ldrb r0, [r0, #0]
1763 170e: 2800 cmp r0, #0
1764 1710: d00e beq 0x1730
1765 1712: 48e8 ldr r0, =0x83ff26 ; via 0x1ab4
1766 1714: 4669 mov r1, sp
1767 1716: 780a ldrb r2, [r1, #0]
1768 1718: 8801 ldrh r1, [r0, #0]
1769 171a: 1851 add r1, r2, r1
1770 171c: 8001 strh r1, [r0, #0]
1771 171e: 9903 ldr r1, [sp, #12] ; 0xc
1772 1720: 48e4 ldr r0, =0x83ff26 ; via 0x1ab4
1773 1722: 8800 ldrh r0, [r0, #0]
1774 1724: 8008 strh r0, [r1, #0]
1775 1726: 9801 ldr r0, [sp, #4]
1776 1728: 2100 mov r1, #0
1777 172a: 6001 str r1, [r0, #0]
1778 172c: 2000 mov r0, #0
1779 172e: e009 b 0x1744
1780 1730: 9902 ldr r1, [sp, #8]
1781 1732: 6808 ldr r0, [r1, #0]
1782 1734: 3002 add r0, #2
1783 1736: 6008 str r0, [r1, #0]
1784 1738: 49de ldr r1, =0x83ff26 ; via 0x1ab4
1785 173a: 4668 mov r0, sp
1786 173c: 7800 ldrb r0, [r0, #0]
1787 173e: 0200 lsl r0, r0, #8
1788 1740: 8008 strh r0, [r1, #0]
1789 1742: 2001 mov r0, #1
1790 1744: 9004 str r0, [sp, #16] ; 0x10
1791 1746: 2001 mov r0, #1
1792 1748: 49d9 ldr r1, =0x83ff1a ; via 0x1ab0
1793 174a: 7809 ldrb r1, [r1, #0]
1794 174c: 4388 bic r0, r1
1795 174e: 49d8 ldr r1, =0x83ff1a ; via 0x1ab0
1796 1750: 7008 strb r0, [r1, #0]
1797 1752: 48d9 ldr r0, =0x83ff24 ; via 0x1ab8
1798 1754: 7801 ldrb r1, [r0, #0]
1799 1756: 3901 sub r1, #1
1800 1758: 7001 strb r1, [r0, #0]
1801 175a: 48d7 ldr r0, =0x83ff24 ; via 0x1ab8
1802 175c: 7800 ldrb r0, [r0, #0]
1803 175e: 2800 cmp r0, #0
1804 1760: d102 bne 0x1768
1805 1762: 48d6 ldr r0, =0x83ff20 ; via 0x1abc
1806 1764: 2106 mov r1, #6
1807 1766: 6001 str r1, [r0, #0]
1808 1768: 9804 ldr r0, [sp, #16] ; 0x10
1809 176a: b005 add sp, #20 ; 0x14
1810 176c: 46f7 mov pc, lr
1811 176e: b083 sub sp, #12 ; 0xc
1812 1770: 9101 str r1, [sp, #4]
1813 1772: 4669 mov r1, sp
1814 1774: 7008 strb r0, [r1, #0]
1815 1776: 2001 mov r0, #1
1816 1778: 9002 str r0, [sp, #8]
1817 177a: 48d1 ldr r0, =0x83ff1b ; via 0x1ac0
1818 177c: 7800 ldrb r0, [r0, #0]
1819 177e: 2800 cmp r0, #0
1820 1780: d10a bne 0x1798
1821 1782: 4668 mov r0, sp
1822 1784: 7800 ldrb r0, [r0, #0]
1823 1786: 2853 cmp r0, #83 ; 0x53
1824 1788: d102 bne 0x1790
1825 178a: 48cd ldr r0, =0x83ff1b ; via 0x1ac0
1826 178c: 2101 mov r1, #1
1827 178e: e01a b 0x17c6
1828 1790: 2101 mov r1, #1
1829 1792: 9801 ldr r0, [sp, #4]
1830 1794: 6001 str r1, [r0, #0]
1831 1796: e03b b 0x1810
1832 1798: 49c9 ldr r1, =0x83ff1b ; via 0x1ac0
1833 179a: 2000 mov r0, #0
1834 179c: 7008 strb r0, [r1, #0]
1835 179e: 4668 mov r0, sp
1836 17a0: 7800 ldrb r0, [r0, #0]
1837 17a2: 2830 cmp r0, #48 ; 0x30
1838 17a4: d111 bne 0x17ca
1839 17a6: 48c7 ldr r0, =0x83ff18 ; via 0x1ac4
1840 17a8: 7800 ldrb r0, [r0, #0]
1841 17aa: 2800 cmp r0, #0
1842 17ac: d006 beq 0x17bc
1843 17ae: 9901 ldr r1, [sp, #4]
1844 17b0: 2001 mov r0, #1
1845 17b2: 6008 str r0, [r1, #0]
1846 17b4: 49c3 ldr r1, =0x83ff18 ; via 0x1ac4
1847 17b6: 2000 mov r0, #0
1848 17b8: 7008 strb r0, [r1, #0]
1849 17ba: e02a b 0x1812
1850 17bc: 48bf ldr r0, =0x83ff20 ; via 0x1abc
1851 17be: 2102 mov r1, #2
1852 17c0: 6001 str r1, [r0, #0]
1853 17c2: 48ef ldr r0, =0x83ff1c ; via 0x1b80
1854 17c4: 2100 mov r1, #0
1855 17c6: 7001 strb r1, [r0, #0]
1856 17c8: e024 b 0x1814
1857 17ca: 4668 mov r0, sp
1858 17cc: 7800 ldrb r0, [r0, #0]
1859 17ce: 2833 cmp r0, #51 ; 0x33
1860 17d0: d105 bne 0x17de
1861 17d2: 48bc ldr r0, =0x83ff18 ; via 0x1ac4
1862 17d4: 7800 ldrb r0, [r0, #0]
1863 17d6: 2800 cmp r0, #0
1864 17d8: d0da beq 0x1790
1865 17da: 2004 mov r0, #4
1866 17dc: e00c b 0x17f8
1867 17de: 4668 mov r0, sp
1868 17e0: 7800 ldrb r0, [r0, #0]
1869 17e2: 2837 cmp r0, #55 ; 0x37
1870 17e4: d10e bne 0x1804
1871 17e6: 48b7 ldr r0, =0x83ff18 ; via 0x1ac4
1872 17e8: 7800 ldrb r0, [r0, #0]
1873 17ea: 2800 cmp r0, #0
1874 17ec: d103 bne 0x17f6
1875 17ee: 9901 ldr r1, [sp, #4]
1876 17f0: 2001 mov r0, #1
1877 17f2: 6008 str r0, [r1, #0]
1878 17f4: e00c b 0x1810
1879 17f6: 2003 mov r0, #3
1880 17f8: 49b0 ldr r1, =0x83ff20 ; via 0x1abc
1881 17fa: 6008 str r0, [r1, #0]
1882 17fc: 2000 mov r0, #0
1883 17fe: 49e0 ldr r1, =0x83ff1c ; via 0x1b80
1884 1800: 7008 strb r0, [r1, #0]
1885 1802: e007 b 0x1814
1886 1804: 9901 ldr r1, [sp, #4]
1887 1806: 2001 mov r0, #1
1888 1808: 6008 str r0, [r1, #0]
1889 180a: 48ae ldr r0, =0x83ff18 ; via 0x1ac4
1890 180c: 2100 mov r1, #0
1891 180e: 7001 strb r1, [r0, #0]
1892 1810: 2000 mov r0, #0
1893 1812: 9002 str r0, [sp, #8]
1894 1814: 9802 ldr r0, [sp, #8]
1895 1816: b003 add sp, #12 ; 0xc
1896 1818: 46f7 mov pc, lr
1897 181a: b083 sub sp, #12 ; 0xc
1898 181c: 9101 str r1, [sp, #4]
1899 181e: 4669 mov r1, sp
1900 1820: 7008 strb r0, [r1, #0]
1901 1822: 2001 mov r0, #1
1902 1824: 9002 str r0, [sp, #8]
1903 1826: 49d7 ldr r1, =0x830 ; via 0x1b84
1904 1828: 48d5 ldr r0, =0x83ff1c ; via 0x1b80
1905 182a: 7800 ldrb r0, [r0, #0]
1906 182c: 0080 lsl r0, r0, #2
1907 182e: 5808 ldr r0, [r1, r0]
1908 1830: 4669 mov r1, sp
1909 1832: 7809 ldrb r1, [r1, #0]
1910 1834: 4281 cmp r1, r0
1911 1836: d10d bne 0x1854
1912 1838: 49d1 ldr r1, =0x83ff1c ; via 0x1b80
1913 183a: 7808 ldrb r0, [r1, #0]
1914 183c: 3001 add r0, #1
1915 183e: 7008 strb r0, [r1, #0]
1916 1840: 48cf ldr r0, =0x83ff1c ; via 0x1b80
1917 1842: 7800 ldrb r0, [r0, #0]
1918 1844: 2807 cmp r0, #7
1919 1846: d10d bne 0x1864
1920 1848: 489c ldr r0, =0x83ff20 ; via 0x1abc
1921 184a: 2101 mov r1, #1
1922 184c: 6001 str r1, [r0, #0]
1923 184e: 489d ldr r0, =0x83ff18 ; via 0x1ac4
1924 1850: 7001 strb r1, [r0, #0]
1925 1852: e007 b 0x1864
1926 1854: 9801 ldr r0, [sp, #4]
1927 1856: 2101 mov r1, #1
1928 1858: 6001 str r1, [r0, #0]
1929 185a: 4998 ldr r1, =0x83ff20 ; via 0x1abc
1930 185c: 2001 mov r0, #1
1931 185e: 6008 str r0, [r1, #0]
1932 1860: 2000 mov r0, #0
1933 1862: 9002 str r0, [sp, #8]
1934 1864: 9802 ldr r0, [sp, #8]
1935 1866: b003 add sp, #12 ; 0xc
1936 1868: 46f7 mov pc, lr
1937 186a: b083 sub sp, #12 ; 0xc
1938 186c: 9101 str r1, [sp, #4]
1939 186e: 4669 mov r1, sp
1940 1870: 7008 strb r0, [r1, #0]
1941 1872: 2001 mov r0, #1
1942 1874: 9002 str r0, [sp, #8]
1943 1876: 49c4 ldr r1, =0x84c ; via 0x1b88
1944 1878: 48c1 ldr r0, =0x83ff1c ; via 0x1b80
1945 187a: 7800 ldrb r0, [r0, #0]
1946 187c: 0080 lsl r0, r0, #2
1947 187e: 5808 ldr r0, [r1, r0]
1948 1880: 4669 mov r1, sp
1949 1882: 7809 ldrb r1, [r1, #0]
1950 1884: 4281 cmp r1, r0
1951 1886: d112 bne 0x18ae
1952 1888: 49bd ldr r1, =0x83ff1c ; via 0x1b80
1953 188a: 7808 ldrb r0, [r1, #0]
1954 188c: 3001 add r0, #1
1955 188e: 7008 strb r0, [r1, #0]
1956 1890: 48bb ldr r0, =0x83ff1c ; via 0x1b80
1957 1892: 7800 ldrb r0, [r0, #0]
1958 1894: 2806 cmp r0, #6
1959 1896: d114 bne 0x18c2
1960 1898: 9801 ldr r0, [sp, #4]
1961 189a: 2102 mov r1, #2
1962 189c: 6001 str r1, [r0, #0]
1963 189e: 4887 ldr r0, =0x83ff20 ; via 0x1abc
1964 18a0: 2101 mov r1, #1
1965 18a2: 6001 str r1, [r0, #0]
1966 18a4: 4887 ldr r0, =0x83ff18 ; via 0x1ac4
1967 18a6: 2100 mov r1, #0
1968 18a8: 7001 strb r1, [r0, #0]
1969 18aa: 2000 mov r0, #0
1970 18ac: e008 b 0x18c0
1971 18ae: 9801 ldr r0, [sp, #4]
1972 18b0: 2101 mov r1, #1
1973 18b2: 6001 str r1, [r0, #0]
1974 18b4: 4981 ldr r1, =0x83ff20 ; via 0x1abc
1975 18b6: 2001 mov r0, #1
1976 18b8: 6008 str r0, [r1, #0]
1977 18ba: 4982 ldr r1, =0x83ff18 ; via 0x1ac4
1978 18bc: 2000 mov r0, #0
1979 18be: 7008 strb r0, [r1, #0]
1980 18c0: 9002 str r0, [sp, #8]
1981 18c2: 9802 ldr r0, [sp, #8]
1982 18c4: b003 add sp, #12 ; 0xc
1983 18c6: 46f7 mov pc, lr
1984 18c8: b081 sub sp, #4
1985 18ca: 4669 mov r1, sp
1986 18cc: 7008 strb r0, [r1, #0]
1987 18ce: 497a ldr r1, =0x83ff24 ; via 0x1ab8
1988 18d0: 4668 mov r0, sp
1989 18d2: 7800 ldrb r0, [r0, #0]
1990 18d4: 3801 sub r0, #1
1991 18d6: 7008 strb r0, [r1, #0]
1992 18d8: 4874 ldr r0, =0x83ff19 ; via 0x1aac
1993 18da: 4669 mov r1, sp
1994 18dc: 7809 ldrb r1, [r1, #0]
1995 18de: 7001 strb r1, [r0, #0]
1996 18e0: 48a7 ldr r0, =0x83ff1c ; via 0x1b80
1997 18e2: 2100 mov r1, #0
1998 18e4: 7001 strb r1, [r0, #0]
1999 18e6: 48e3 ldr r0, =0x83ff14 ; via 0x1c74
2000 18e8: 6001 str r1, [r0, #0]
2001 18ea: 4874 ldr r0, =0x83ff20 ; via 0x1abc
2002 18ec: 2105 mov r1, #5
2003 18ee: 6001 str r1, [r0, #0]
2004 18f0: b001 add sp, #4
2005 18f2: 46f7 mov pc, lr
2006 18f4: b084 sub sp, #16 ; 0x10
2007 18f6: 9202 str r2, [sp, #8]
2008 18f8: 9101 str r1, [sp, #4]
2009 18fa: 4669 mov r1, sp
2010 18fc: 7008 strb r0, [r1, #0]
2011 18fe: 2001 mov r0, #1
2012 1900: 9003 str r0, [sp, #12] ; 0xc
2013 1902: 496d ldr r1, =0x83ff24 ; via 0x1ab8
2014 1904: 7808 ldrb r0, [r1, #0]
2015 1906: 3801 sub r0, #1
2016 1908: 7008 strb r0, [r1, #0]
2017 190a: 486b ldr r0, =0x83ff24 ; via 0x1ab8
2018 190c: 7800 ldrb r0, [r0, #0]
2019 190e: 2800 cmp r0, #0
2020 1910: d026 beq 0x1960
2021 1912: 4866 ldr r0, =0x83ff19 ; via 0x1aac
2022 1914: 4669 mov r1, sp
2023 1916: 780a ldrb r2, [r1, #0]
2024 1918: 7801 ldrb r1, [r0, #0]
2025 191a: 1851 add r1, r2, r1
2026 191c: 7001 strb r1, [r0, #0]
2027 191e: 4998 ldr r1, =0x83ff1c ; via 0x1b80
2028 1920: 7808 ldrb r0, [r1, #0]
2029 1922: 3001 add r0, #1
2030 1924: 7008 strb r0, [r1, #0]
2031 1926: 49d3 ldr r1, =0x83ff14 ; via 0x1c74
2032 1928: 2204 mov r2, #4
2033 192a: 4895 ldr r0, =0x83ff1c ; via 0x1b80
2034 192c: 7800 ldrb r0, [r0, #0]
2035 192e: 1a10 sub r0, r2, r0
2036 1930: 00c2 lsl r2, r0, #3
2037 1932: 4668 mov r0, sp
2038 1934: 7800 ldrb r0, [r0, #0]
2039 1936: 4090 lsl r0, r2
2040 1938: 680a ldr r2, [r1, #0]
2041 193a: 1880 add r0, r0, r2
2042 193c: 6008 str r0, [r1, #0]
2043 193e: 4890 ldr r0, =0x83ff1c ; via 0x1b80
2044 1940: 7800 ldrb r0, [r0, #0]
2045 1942: 2804 cmp r0, #4
2046 1944: d117 bne 0x1976
2047 1946: 9902 ldr r1, [sp, #8]
2048 1948: 48ca ldr r0, =0x83ff14 ; via 0x1c74
2049 194a: 6800 ldr r0, [r0, #0]
2050 194c: 3802 sub r0, #2
2051 194e: 6008 str r0, [r1, #0]
2052 1950: 485a ldr r0, =0x83ff20 ; via 0x1abc
2053 1952: 2100 mov r1, #0
2054 1954: 6001 str r1, [r0, #0]
2055 1956: 4856 ldr r0, =0x83ff1a ; via 0x1ab0
2056 1958: 7001 strb r1, [r0, #0]
2057 195a: 4889 ldr r0, =0x83ff1c ; via 0x1b80
2058 195c: 7001 strb r1, [r0, #0]
2059 195e: e00a b 0x1976
2060 1960: 9801 ldr r0, [sp, #4]
2061 1962: 2101 mov r1, #1
2062 1964: 6001 str r1, [r0, #0]
2063 1966: 4955 ldr r1, =0x83ff20 ; via 0x1abc
2064 1968: 2001 mov r0, #1
2065 196a: 6008 str r0, [r1, #0]
2066 196c: 4855 ldr r0, =0x83ff18 ; via 0x1ac4
2067 196e: 2100 mov r1, #0
2068 1970: 7001 strb r1, [r0, #0]
2069 1972: 2000 mov r0, #0
2070 1974: 9003 str r0, [sp, #12] ; 0xc
2071 1976: 9803 ldr r0, [sp, #12] ; 0xc
2072 1978: b004 add sp, #16 ; 0x10
2073 197a: 46f7 mov pc, lr
2074 197c: b083 sub sp, #12 ; 0xc
2075 197e: 9101 str r1, [sp, #4]
2076 1980: 4669 mov r1, sp
2077 1982: 7008 strb r0, [r1, #0]
2078 1984: 2001 mov r0, #1
2079 1986: 9002 str r0, [sp, #8]
2080 1988: 494c ldr r1, =0x83ff20 ; via 0x1abc
2081 198a: 6008 str r0, [r1, #0]
2082 198c: 20ff mov r0, #255 ; 0xff
2083 198e: 4669 mov r1, sp
2084 1990: 7809 ldrb r1, [r1, #0]
2085 1992: 4388 bic r0, r1
2086 1994: 4945 ldr r1, =0x83ff19 ; via 0x1aac
2087 1996: 7809 ldrb r1, [r1, #0]
2088 1998: 4281 cmp r1, r0
2089 199a: d007 beq 0x19ac
2090 199c: 9801 ldr r0, [sp, #4]
2091 199e: 2101 mov r1, #1
2092 19a0: 6001 str r1, [r0, #0]
2093 19a2: 4848 ldr r0, =0x83ff18 ; via 0x1ac4
2094 19a4: 2100 mov r1, #0
2095 19a6: 7001 strb r1, [r0, #0]
2096 19a8: 2000 mov r0, #0
2097 19aa: 9002 str r0, [sp, #8]
2098 19ac: 9802 ldr r0, [sp, #8]
2099 19ae: b003 add sp, #12 ; 0xc
2100 19b0: 46f7 mov pc, lr
2101 19b2: b085 sub sp, #20 ; 0x14
2102 19b4: 466b mov r3, sp
2103 19b6: 719a strb r2, [r3, #6]
2104 19b8: 466a mov r2, sp
2105 19ba: 8091 strh r1, [r2, #4]
2106 19bc: 9000 str r0, [sp, #0]
2107 19be: 9800 ldr r0, [sp, #0]
2108 19c0: 9002 str r0, [sp, #8]
2109 19c2: 4669 mov r1, sp
2110 19c4: 4668 mov r0, sp
2111 19c6: 8880 ldrh r0, [r0, #4]
2112 19c8: 8208 strh r0, [r1, #16] ; 0x10
2113 19ca: 4668 mov r0, sp
2114 19cc: 8a00 ldrh r0, [r0, #16] ; 0x10
2115 19ce: 2800 cmp r0, #0
2116 19d0: d01e beq 0x1a10
2117 19d2: 49e3 ldr r1, =0x864 ; via 0x1d60
2118 19d4: 4668 mov r0, sp
2119 19d6: 7980 ldrb r0, [r0, #6]
2120 19d8: 0080 lsl r0, r0, #2
2121 19da: 5808 ldr r0, [r1, r0]
2122 19dc: 7941 ldrb r1, [r0, #5]
2123 19de: 4668 mov r0, sp
2124 19e0: 7301 strb r1, [r0, #12] ; 0xc
2125 19e2: 7b00 ldrb r0, [r0, #12] ; 0xc
2126 19e4: 0980 lsr r0, r0, #6
2127 19e6: d3f4 bcc 0x19d2
2128 19e8: 49dd ldr r1, =0x864 ; via 0x1d60
2129 19ea: 4668 mov r0, sp
2130 19ec: 7980 ldrb r0, [r0, #6]
2131 19ee: 0080 lsl r0, r0, #2
2132 19f0: 5809 ldr r1, [r1, r0]
2133 19f2: 9802 ldr r0, [sp, #8]
2134 19f4: 7800 ldrb r0, [r0, #0]
2135 19f6: 7008 strb r0, [r1, #0]
2136 19f8: 9802 ldr r0, [sp, #8]
2137 19fa: 3001 add r0, #1
2138 19fc: 9002 str r0, [sp, #8]
2139 19fe: 4669 mov r1, sp
2140 1a00: 4668 mov r0, sp
2141 1a02: 8a00 ldrh r0, [r0, #16] ; 0x10
2142 1a04: 3801 sub r0, #1
2143 1a06: 8208 strh r0, [r1, #16] ; 0x10
2144 1a08: 4668 mov r0, sp
2145 1a0a: 8a00 ldrh r0, [r0, #16] ; 0x10
2146 1a0c: 2800 cmp r0, #0
2147 1a0e: d1e0 bne 0x19d2
2148 1a10: b005 add sp, #20 ; 0x14
2149 1a12: 46f7 mov pc, lr
2150 1a14: b082 sub sp, #8
2151 1a16: 4669 mov r1, sp
2152 1a18: 7008 strb r0, [r1, #0]
2153 1a1a: 2000 mov r0, #0
2154 1a1c: 8088 strh r0, [r1, #4]
2155 1a1e: 4668 mov r0, sp
2156 1a20: 8881 ldrh r1, [r0, #4]
2157 1a22: 20ff mov r0, #255 ; 0xff
2158 1a24: 30f5 add r0, #245 ; 0xf5
2159 1a26: 4281 cmp r1, r0
2160 1a28: da21 bge 0x1a6e
2161 1a2a: 4669 mov r1, sp
2162 1a2c: 4668 mov r0, sp
2163 1a2e: 8880 ldrh r0, [r0, #4]
2164 1a30: 3001 add r0, #1
2165 1a32: 8088 strh r0, [r1, #4]
2166 1a34: 48ca ldr r0, =0x864 ; via 0x1d60
2167 1a36: 7809 ldrb r1, [r1, #0]
2168 1a38: 0089 lsl r1, r1, #2
2169 1a3a: 5840 ldr r0, [r0, r1]
2170 1a3c: 7940 ldrb r0, [r0, #5]
2171 1a3e: 4669 mov r1, sp
2172 1a40: 7048 strb r0, [r1, #1]
2173 1a42: 4668 mov r0, sp
2174 1a44: 7840 ldrb r0, [r0, #1]
2175 1a46: 0840 lsr r0, r0, #1
2176 1a48: d30b bcc 0x1a62
2177 1a4a: 49c5 ldr r1, =0x864 ; via 0x1d60
2178 1a4c: 4668 mov r0, sp
2179 1a4e: 7800 ldrb r0, [r0, #0]
2180 1a50: 0080 lsl r0, r0, #2
2181 1a52: 5808 ldr r0, [r1, r0]
2182 1a54: 7800 ldrb r0, [r0, #0]
2183 1a56: 0600 lsl r0, r0, #24
2184 1a58: 0e00 lsr r0, r0, #24
2185 1a5a: 4669 mov r1, sp
2186 1a5c: 7088 strb r0, [r1, #2]
2187 1a5e: 2000 mov r0, #0
2188 1a60: 8088 strh r0, [r1, #4]
2189 1a62: 4668 mov r0, sp
2190 1a64: 8881 ldrh r1, [r0, #4]
2191 1a66: 20ff mov r0, #255 ; 0xff
2192 1a68: 30f5 add r0, #245 ; 0xf5
2193 1a6a: 4281 cmp r1, r0
2194 1a6c: dbdd blt 0x1a2a
2195 1a6e: b002 add sp, #8
2196 1a70: 4770 bx lr
2197 1a72: b500 push {lr}
2198 1a74: b08c sub sp, #48 ; 0x30
2199 1a76: 466a mov r2, sp
2200 1a78: 7111 strb r1, [r2, #4]
2201 1a7a: 9000 str r0, [sp, #0]
2202 1a7c: 2001 mov r0, #1
2203 1a7e: 9002 str r0, [sp, #8]
2204 1a80: 9800 ldr r0, [sp, #0]
2205 1a82: a904 add r1, sp, #16 ; 0x10
2206 1a84: aa03 add r2, sp, #12 ; 0xc
2207 1a86: f7ff fd75 bl 0x1574
2208 1a8a: 4668 mov r0, sp
2209 1a8c: 8980 ldrh r0, [r0, #12] ; 0xc
2210 1a8e: 2820 cmp r0, #32 ; 0x20
2211 1a90: dd02 ble 0x1a98
2212 1a92: 2000 mov r0, #0
2213 1a94: 9002 str r0, [sp, #8]
2214 1a96: e006 b 0x1aa6
2215 1a98: a804 add r0, sp, #16 ; 0x10
2216 1a9a: 4669 mov r1, sp
2217 1a9c: 8989 ldrh r1, [r1, #12] ; 0xc
2218 1a9e: 466a mov r2, sp
2219 1aa0: 7912 ldrb r2, [r2, #4]
2220 1aa2: f7ff ff86 bl 0x19b2
2221 1aa6: 9802 ldr r0, [sp, #8]
2222 1aa8: b00c add sp, #48 ; 0x30
2223 1aaa: bd00 pop {pc}
2224 1aac: ff19 <half-bl>
2225 1aae: 0083 lsl r3, r0, #2
2226 1ab0: ff1a <half-bl>
2227 1ab2: 0083 lsl r3, r0, #2
2228 1ab4: ff26 <half-bl>
2229 1ab6: 0083 lsl r3, r0, #2
2230 1ab8: ff24 <half-bl>
2231 1aba: 0083 lsl r3, r0, #2
2232 1abc: ff20 <half-bl>
2233 1abe: 0083 lsl r3, r0, #2
2234 1ac0: ff1b <half-bl>
2235 1ac2: 0083 lsl r3, r0, #2
2236 1ac4: ff18 <half-bl>
2237 1ac6: 0083 lsl r3, r0, #2
2238 1ac8: b500 push {lr}
2239 1aca: b084 sub sp, #16 ; 0x10
2240 1acc: 9101 str r1, [sp, #4]
2241 1ace: 9000 str r0, [sp, #0]
2242 1ad0: 4669 mov r1, sp
2243 1ad2: 20ff mov r0, #255 ; 0xff
2244 1ad4: 7308 strb r0, [r1, #12] ; 0xc
2245 1ad6: 2000 mov r0, #0
2246 1ad8: 9002 str r0, [sp, #8]
2247 1ada: 4669 mov r1, sp
2248 1adc: 48a1 ldr r0, =0xffff5805 ; via 0x1d64
2249 1ade: 7800 ldrb r0, [r0, #0]
2250 1ae0: 7348 strb r0, [r1, #13] ; 0xd
2251 1ae2: 48a1 ldr r0, =0xffff5005 ; via 0x1d68
2252 1ae4: 7800 ldrb r0, [r0, #0]
2253 1ae6: 7388 strb r0, [r1, #14] ; 0xe
2254 1ae8: 4668 mov r0, sp
2255 1aea: 7b40 ldrb r0, [r0, #13] ; 0xd
2256 1aec: 0840 lsr r0, r0, #1
2257 1aee: d206 bcs 0x1afe
2258 1af0: 4668 mov r0, sp
2259 1af2: 7b80 ldrb r0, [r0, #14] ; 0xe
2260 1af4: 0840 lsr r0, r0, #1
2261 1af6: d202 bcs 0x1afe
2262 1af8: 9801 ldr r0, [sp, #4]
2263 1afa: 2800 cmp r0, #0
2264 1afc: d0ed beq 0x1ada
2265 1afe: 4668 mov r0, sp
2266 1b00: 7b40 ldrb r0, [r0, #13] ; 0xd
2267 1b02: 0840 lsr r0, r0, #1
2268 1b04: d316 bcc 0x1b34
2269 1b06: 4669 mov r1, sp
2270 1b08: 2000 mov r0, #0
2271 1b0a: 7308 strb r0, [r1, #12] ; 0xc
2272 1b0c: 4994 ldr r1, =0x864 ; via 0x1d60
2273 1b0e: 4668 mov r0, sp
2274 1b10: 7b00 ldrb r0, [r0, #12] ; 0xc
2275 1b12: 0080 lsl r0, r0, #2
2276 1b14: 5808 ldr r0, [r1, r0]
2277 1b16: 7800 ldrb r0, [r0, #0]
2278 1b18: 0600 lsl r0, r0, #24
2279 1b1a: 0e00 lsr r0, r0, #24
2280 1b1c: 4669 mov r1, sp
2281 1b1e: 73c8 strb r0, [r1, #15] ; 0xf
2282 1b20: 4668 mov r0, sp
2283 1b22: 7bc0 ldrb r0, [r0, #15] ; 0xf
2284 1b24: 9900 ldr r1, [sp, #0]
2285 1b26: f7ff fc9f bl 0x1468
2286 1b2a: 9002 str r0, [sp, #8]
2287 1b2c: 9802 ldr r0, [sp, #8]
2288 1b2e: 2800 cmp r0, #0
2289 1b30: d11c bne 0x1b6c
2290 1b32: e018 b 0x1b66
2291 1b34: 4668 mov r0, sp
2292 1b36: 7b80 ldrb r0, [r0, #14] ; 0xe
2293 1b38: 0840 lsr r0, r0, #1
2294 1b3a: d317 bcc 0x1b6c
2295 1b3c: 4669 mov r1, sp
2296 1b3e: 2001 mov r0, #1
2297 1b40: 7308 strb r0, [r1, #12] ; 0xc
2298 1b42: 4987 ldr r1, =0x864 ; via 0x1d60
2299 1b44: 4668 mov r0, sp
2300 1b46: 7b00 ldrb r0, [r0, #12] ; 0xc
2301 1b48: 0080 lsl r0, r0, #2
2302 1b4a: 5808 ldr r0, [r1, r0]
2303 1b4c: 7800 ldrb r0, [r0, #0]
2304 1b4e: 0600 lsl r0, r0, #24
2305 1b50: 0e01 lsr r1, r0, #24
2306 1b52: 4668 mov r0, sp
2307 1b54: 73c1 strb r1, [r0, #15] ; 0xf
2308 1b56: 7bc0 ldrb r0, [r0, #15] ; 0xf
2309 1b58: 9900 ldr r1, [sp, #0]
2310 1b5a: f7ff fc85 bl 0x1468
2311 1b5e: 9002 str r0, [sp, #8]
2312 1b60: 9802 ldr r0, [sp, #8]
2313 1b62: 2800 cmp r0, #0
2314 1b64: d102 bne 0x1b6c
2315 1b66: 20ff mov r0, #255 ; 0xff
2316 1b68: 4669 mov r1, sp
2317 1b6a: 7308 strb r0, [r1, #12] ; 0xc
2318 1b6c: 9802 ldr r0, [sp, #8]
2319 1b6e: 2800 cmp r0, #0
2320 1b70: d102 bne 0x1b78
2321 1b72: 9801 ldr r0, [sp, #4]
2322 1b74: 2800 cmp r0, #0
2323 1b76: d0b0 beq 0x1ada
2324 1b78: 4668 mov r0, sp
2325 1b7a: 7b00 ldrb r0, [r0, #12] ; 0xc
2326 1b7c: b004 add sp, #16 ; 0x10
2327 1b7e: bd00 pop {pc}
2328 1b80: ff1c <half-bl>
2329 1b82: 0083 lsl r3, r0, #2
2330 1b84: 0830 lsr r0, r6, #32
2331 1b86: 0000 lsl r0, r0, #0
2332 1b88: 084c lsr r4, r1, #1
2333 1b8a: 0000 lsl r0, r0, #0
2334 1b8c: b500 push {lr}
2335 1b8e: b086 sub sp, #24 ; 0x18
2336 1b90: 466b mov r3, sp
2337 1b92: 721a strb r2, [r3, #8]
2338 1b94: 9101 str r1, [sp, #4]
2339 1b96: 9000 str r0, [sp, #0]
2340 1b98: 2001 mov r0, #1
2341 1b9a: 9004 str r0, [sp, #16] ; 0x10
2342 1b9c: 9804 ldr r0, [sp, #16] ; 0x10
2343 1b9e: 2800 cmp r0, #0
2344 1ba0: d05b beq 0x1c5a
2345 1ba2: 496f ldr r1, =0x864 ; via 0x1d60
2346 1ba4: 4668 mov r0, sp
2347 1ba6: 7a00 ldrb r0, [r0, #8]
2348 1ba8: 0080 lsl r0, r0, #2
2349 1baa: 5808 ldr r0, [r1, r0]
2350 1bac: 7941 ldrb r1, [r0, #5]
2351 1bae: 4668 mov r0, sp
2352 1bb0: 7301 strb r1, [r0, #12] ; 0xc
2353 1bb2: 7b00 ldrb r0, [r0, #12] ; 0xc
2354 1bb4: 0840 lsr r0, r0, #1
2355 1bb6: d3f4 bcc 0x1ba2
2356 1bb8: 4969 ldr r1, =0x864 ; via 0x1d60
2357 1bba: 4668 mov r0, sp
2358 1bbc: 7a00 ldrb r0, [r0, #8]
2359 1bbe: 0080 lsl r0, r0, #2
2360 1bc0: 5808 ldr r0, [r1, r0]
2361 1bc2: 7800 ldrb r0, [r0, #0]
2362 1bc4: 0600 lsl r0, r0, #24
2363 1bc6: 0e01 lsr r1, r0, #24
2364 1bc8: 4668 mov r0, sp
2365 1bca: 7341 strb r1, [r0, #13] ; 0xd
2366 1bcc: e02c b 0x1c28
2367 1bce: 4668 mov r0, sp
2368 1bd0: 7b40 ldrb r0, [r0, #13] ; 0xd
2369 1bd2: a905 add r1, sp, #20 ; 0x14
2370 1bd4: 9a00 ldr r2, [sp, #0]
2371 1bd6: 9b01 ldr r3, [sp, #4]
2372 1bd8: f7ff fd8c bl 0x16f4
2373 1bdc: 9004 str r0, [sp, #16] ; 0x10
2374 1bde: e039 b 0x1c54
2375 1be0: 4668 mov r0, sp
2376 1be2: 7b40 ldrb r0, [r0, #13] ; 0xd
2377 1be4: a905 add r1, sp, #20 ; 0x14
2378 1be6: f7ff fdc2 bl 0x176e
2379 1bea: e7f7 b 0x1bdc
2380 1bec: 4668 mov r0, sp
2381 1bee: 7b40 ldrb r0, [r0, #13] ; 0xd
2382 1bf0: a905 add r1, sp, #20 ; 0x14
2383 1bf2: f7ff fe12 bl 0x181a
2384 1bf6: e7f1 b 0x1bdc
2385 1bf8: 4668 mov r0, sp
2386 1bfa: 7b40 ldrb r0, [r0, #13] ; 0xd
2387 1bfc: a905 add r1, sp, #20 ; 0x14
2388 1bfe: f7ff fe34 bl 0x186a
2389 1c02: e7eb b 0x1bdc
2390 1c04: 4668 mov r0, sp
2391 1c06: 7b40 ldrb r0, [r0, #13] ; 0xd
2392 1c08: f7ff fe5e bl 0x18c8
2393 1c0c: e022 b 0x1c54
2394 1c0e: 4668 mov r0, sp
2395 1c10: 7b40 ldrb r0, [r0, #13] ; 0xd
2396 1c12: a905 add r1, sp, #20 ; 0x14
2397 1c14: 9a00 ldr r2, [sp, #0]
2398 1c16: f7ff fe6d bl 0x18f4
2399 1c1a: e7df b 0x1bdc
2400 1c1c: 4668 mov r0, sp
2401 1c1e: 7b40 ldrb r0, [r0, #13] ; 0xd
2402 1c20: a905 add r1, sp, #20 ; 0x14
2403 1c22: f7ff feab bl 0x197c
2404 1c26: e7d9 b 0x1bdc
2405 1c28: 4850 ldr r0, =0x83ff20 ; via 0x1d6c
2406 1c2a: 6800 ldr r0, [r0, #0]
2407 1c2c: 2800 cmp r0, #0
2408 1c2e: d0ce beq 0x1bce
2409 1c30: 3801 sub r0, #1
2410 1c32: 2800 cmp r0, #0
2411 1c34: d0d4 beq 0x1be0
2412 1c36: 3801 sub r0, #1
2413 1c38: 2800 cmp r0, #0
2414 1c3a: d0d7 beq 0x1bec
2415 1c3c: 3801 sub r0, #1
2416 1c3e: 2800 cmp r0, #0
2417 1c40: d0da beq 0x1bf8
2418 1c42: 3801 sub r0, #1
2419 1c44: 2800 cmp r0, #0
2420 1c46: d0dd beq 0x1c04
2421 1c48: 3801 sub r0, #1
2422 1c4a: 2800 cmp r0, #0
2423 1c4c: d0df beq 0x1c0e
2424 1c4e: 3801 sub r0, #1
2425 1c50: 2800 cmp r0, #0
2426 1c52: d0e3 beq 0x1c1c
2427 1c54: 9804 ldr r0, [sp, #16] ; 0x10
2428 1c56: 2800 cmp r0, #0
2429 1c58: d1a3 bne 0x1ba2
2430 1c5a: 9805 ldr r0, [sp, #20] ; 0x14
2431 1c5c: b006 add sp, #24 ; 0x18
2432 1c5e: bd00 pop {pc}
2433 1c60: 4942 ldr r1, =0x83ff20 ; via 0x1d6c
2434 1c62: 2001 mov r0, #1
2435 1c64: 6008 str r0, [r1, #0]
2436 1c66: 4842 ldr r0, =0x83ff1b ; via 0x1d70
2437 1c68: 2100 mov r1, #0
2438 1c6a: 7001 strb r1, [r0, #0]
2439 1c6c: 4841 ldr r0, =0x83ff18 ; via 0x1d74
2440 1c6e: 7001 strb r1, [r0, #0]
2441 1c70: 4770 bx lr
2442 1c72: 46c0 nop (mov r8, r8)
2443 1c74: ff14 <half-bl>
2444 1c76: 0083 lsl r3, r0, #2
2445 1c78: b081 sub sp, #4
2446 1c7a: 483f ldr r0, =0xffff5800 ; via 0x1d78
2447 1c7c: 9000 str r0, [sp, #0]
2448 1c7e: 493f ldr r1, =0xffff6000 ; via 0x1d7c
2449 1c80: 2002 mov r0, #2
2450 1c82: 880a ldrh r2, [r1, #0]
2451 1c84: 4310 orr r0, r2
2452 1c86: 8008 strh r0, [r1, #0]
2453 1c88: 483c ldr r0, =0xffff6000 ; via 0x1d7c
2454 1c8a: 8801 ldrh r1, [r0, #0]
2455 1c8c: 0849 lsr r1, r1, #1
2456 1c8e: 0049 lsl r1, r1, #1
2457 1c90: 8001 strh r1, [r0, #0]
2458 1c92: 493a ldr r1, =0xffff6000 ; via 0x1d7c
2459 1c94: 8808 ldrh r0, [r1, #0]
2460 1c96: 2202 mov r2, #2
2461 1c98: 4390 bic r0, r2
2462 1c9a: 8008 strh r0, [r1, #0]
2463 1c9c: 9900 ldr r1, [sp, #0]
2464 1c9e: 2007 mov r0, #7
2465 1ca0: 7208 strb r0, [r1, #8]
2466 1ca2: 9900 ldr r1, [sp, #0]
2467 1ca4: 20bf mov r0, #191 ; 0xbf
2468 1ca6: 70c8 strb r0, [r1, #3]
2469 1ca8: 9800 ldr r0, [sp, #0]
2470 1caa: 1c81 add r1, r0, #2
2471 1cac: 2010 mov r0, #16 ; 0x10
2472 1cae: 880a ldrh r2, [r1, #0]
2473 1cb0: 4310 orr r0, r2
2474 1cb2: 8008 strh r0, [r1, #0]
2475 1cb4: 9800 ldr r0, [sp, #0]
2476 1cb6: 2180 mov r1, #128 ; 0x80
2477 1cb8: 70c1 strb r1, [r0, #3]
2478 1cba: 9800 ldr r0, [sp, #0]
2479 1cbc: 2107 mov r1, #7
2480 1cbe: 7081 strb r1, [r0, #2]
2481 1cc0: 9800 ldr r0, [sp, #0]
2482 1cc2: 21bf mov r1, #191 ; 0xbf
2483 1cc4: 70c1 strb r1, [r0, #3]
2484 1cc6: 9800 ldr r0, [sp, #0]
2485 1cc8: 2107 mov r1, #7
2486 1cca: 7001 strb r1, [r0, #0]
2487 1ccc: 9800 ldr r0, [sp, #0]
2488 1cce: 2100 mov r1, #0
2489 1cd0: 7041 strb r1, [r0, #1]
2490 1cd2: 9800 ldr r0, [sp, #0]
2491 1cd4: 2103 mov r1, #3
2492 1cd6: 70c1 strb r1, [r0, #3]
2493 1cd8: 9800 ldr r0, [sp, #0]
2494 1cda: 2100 mov r1, #0
2495 1cdc: 7201 strb r1, [r0, #8]
2496 1cde: 4828 ldr r0, =0xffff5000 ; via 0x1d80
2497 1ce0: 9000 str r0, [sp, #0]
2498 1ce2: 9800 ldr r0, [sp, #0]
2499 1ce4: 2107 mov r1, #7
2500 1ce6: 7201 strb r1, [r0, #8]
2501 1ce8: 9900 ldr r1, [sp, #0]
2502 1cea: 20bf mov r0, #191 ; 0xbf
2503 1cec: 70c8 strb r0, [r1, #3]
2504 1cee: 9800 ldr r0, [sp, #0]
2505 1cf0: 1c80 add r0, r0, #2
2506 1cf2: 2110 mov r1, #16 ; 0x10
2507 1cf4: 8802 ldrh r2, [r0, #0]
2508 1cf6: 4311 orr r1, r2
2509 1cf8: 8001 strh r1, [r0, #0]
2510 1cfa: 9800 ldr r0, [sp, #0]
2511 1cfc: 2180 mov r1, #128 ; 0x80
2512 1cfe: 70c1 strb r1, [r0, #3]
2513 1d00: 9800 ldr r0, [sp, #0]
2514 1d02: 2107 mov r1, #7
2515 1d04: 7081 strb r1, [r0, #2]
2516 1d06: 9800 ldr r0, [sp, #0]
2517 1d08: 21bf mov r1, #191 ; 0xbf
2518 1d0a: 70c1 strb r1, [r0, #3]
2519 1d0c: 9800 ldr r0, [sp, #0]
2520 1d0e: 2107 mov r1, #7
2521 1d10: 7001 strb r1, [r0, #0]
2522 1d12: 9800 ldr r0, [sp, #0]
2523 1d14: 2100 mov r1, #0
2524 1d16: 7041 strb r1, [r0, #1]
2525 1d18: 9900 ldr r1, [sp, #0]
2526 1d1a: 2003 mov r0, #3
2527 1d1c: 70c8 strb r0, [r1, #3]
2528 1d1e: 9800 ldr r0, [sp, #0]
2529 1d20: 2100 mov r1, #0
2530 1d22: 7201 strb r1, [r0, #8]
2531 1d24: b001 add sp, #4
2532 1d26: 4770 bx lr
2533 1d28: b081 sub sp, #4
2534 1d2a: 4669 mov r1, sp
2535 1d2c: 7008 strb r0, [r1, #0]
2536 1d2e: 490c ldr r1, =0x864 ; via 0x1d60
2537 1d30: 4668 mov r0, sp
2538 1d32: 7800 ldrb r0, [r0, #0]
2539 1d34: 0080 lsl r0, r0, #2
2540 1d36: 5808 ldr r0, [r1, r0]
2541 1d38: 7941 ldrb r1, [r0, #5]
2542 1d3a: 4668 mov r0, sp
2543 1d3c: 7041 strb r1, [r0, #1]
2544 1d3e: 7840 ldrb r0, [r0, #1]
2545 1d40: 09c0 lsr r0, r0, #7
2546 1d42: d20b bcs 0x1d5c
2547 1d44: 4806 ldr r0, =0x864 ; via 0x1d60
2548 1d46: 4669 mov r1, sp
2549 1d48: 7809 ldrb r1, [r1, #0]
2550 1d4a: 0089 lsl r1, r1, #2
2551 1d4c: 5840 ldr r0, [r0, r1]
2552 1d4e: 7940 ldrb r0, [r0, #5]
2553 1d50: 4669 mov r1, sp
2554 1d52: 7048 strb r0, [r1, #1]
2555 1d54: 4668 mov r0, sp
2556 1d56: 7840 ldrb r0, [r0, #1]
2557 1d58: 09c0 lsr r0, r0, #7
2558 1d5a: d3f3 bcc 0x1d44
2559 1d5c: b001 add sp, #4
2560 1d5e: 4770 bx lr
2561 1d60: 0864 lsr r4, r4, #1
2562 1d62: 0000 lsl r0, r0, #0
2563 1d64: 5805 ldr r5, [r0, r0]
2564 1d66: ffff <half-bl>
2565 1d68: 5005 str r5, [r0, r0]
2566 1d6a: ffff <half-bl>
2567 1d6c: ff20 <half-bl>
2568 1d6e: 0083 lsl r3, r0, #2
2569 1d70: ff1b <half-bl>
2570 1d72: 0083 lsl r3, r0, #2
2571 1d74: ff18 <half-bl>
2572 1d76: 0083 lsl r3, r0, #2
2573 1d78: 5800 ldr r0, [r0, r0]
2574 1d7a: ffff <half-bl>
2575 1d7c: 6000 str r0, [r0, #0]
2576 1d7e: ffff <half-bl>
2577 1d80: 5000 str r0, [r0, r0]
2578 1d82: ffff <half-bl>
2579 1d84: b500 push {lr}
2580 1d86: b087 sub sp, #28 ; 0x1c
2581 1d88: 466b mov r3, sp
2582 1d8a: 721a strb r2, [r3, #8]
2583 1d8c: 9101 str r1, [sp, #4]
2584 1d8e: 9000 str r0, [sp, #0]
2585 1d90: 9900 ldr r1, [sp, #0]
2586 1d92: 2000 mov r0, #0
2587 1d94: 8008 strh r0, [r1, #0]
2588 1d96: 9801 ldr r0, [sp, #4]
2589 1d98: 2100 mov r1, #0
2590 1d9a: 8001 strh r1, [r0, #0]
2591 1d9c: 2000 mov r0, #0
2592 1d9e: 9003 str r0, [sp, #12] ; 0xc
2593 1da0: f7ff ff5e bl 0x1c60
2594 1da4: a805 add r0, sp, #20 ; 0x14
2595 1da6: a906 add r1, sp, #24 ; 0x18
2596 1da8: 466a mov r2, sp
2597 1daa: 7a12 ldrb r2, [r2, #8]
2598 1dac: f7ff feee bl 0x1b8c
2599 1db0: 9004 str r0, [sp, #16] ; 0x10
2600 1db2: 9804 ldr r0, [sp, #16] ; 0x10
2601 1db4: 2800 cmp r0, #0
2602 1db6: d11f bne 0x1df8
2603 1db8: 9803 ldr r0, [sp, #12] ; 0xc
2604 1dba: 2800 cmp r0, #0
2605 1dbc: d11c bne 0x1df8
2606 1dbe: 9800 ldr r0, [sp, #0]
2607 1dc0: 4669 mov r1, sp
2608 1dc2: 8b0a ldrh r2, [r1, #24] ; 0x18
2609 1dc4: 8801 ldrh r1, [r0, #0]
2610 1dc6: 1851 add r1, r2, r1
2611 1dc8: 8001 strh r1, [r0, #0]
2612 1dca: 9905 ldr r1, [sp, #20] ; 0x14
2613 1dcc: 4668 mov r0, sp
2614 1dce: 8b00 ldrh r0, [r0, #24] ; 0x18
2615 1dd0: 8008 strh r0, [r1, #0]
2616 1dd2: 9801 ldr r0, [sp, #4]
2617 1dd4: 9905 ldr r1, [sp, #20] ; 0x14
2618 1dd6: 8809 ldrh r1, [r1, #0]
2619 1dd8: 8802 ldrh r2, [r0, #0]
2620 1dda: 1889 add r1, r1, r2
2621 1ddc: 8001 strh r1, [r0, #0]
2622 1dde: a805 add r0, sp, #20 ; 0x14
2623 1de0: a906 add r1, sp, #24 ; 0x18
2624 1de2: 466a mov r2, sp
2625 1de4: 7a12 ldrb r2, [r2, #8]
2626 1de6: f7ff fed1 bl 0x1b8c
2627 1dea: 9004 str r0, [sp, #16] ; 0x10
2628 1dec: 9804 ldr r0, [sp, #16] ; 0x10
2629 1dee: 2800 cmp r0, #0
2630 1df0: d102 bne 0x1df8
2631 1df2: 9803 ldr r0, [sp, #12] ; 0xc
2632 1df4: 2800 cmp r0, #0
2633 1df6: d0e2 beq 0x1dbe
2634 1df8: 9804 ldr r0, [sp, #16] ; 0x10
2635 1dfa: 2801 cmp r0, #1
2636 1dfc: d101 bne 0x1e02
2637 1dfe: 2004 mov r0, #4
2638 1e00: 9003 str r0, [sp, #12] ; 0xc
2639 1e02: 9803 ldr r0, [sp, #12] ; 0xc
2640 1e04: b007 add sp, #28 ; 0x1c
2641 1e06: bd00 pop {pc}
2642 1e08: b089 sub sp, #36 ; 0x24
2643 1e0a: 201a mov r0, #26 ; 0x1a
2644 1e0c: 9005 str r0, [sp, #20] ; 0x14
2645 1e0e: 2018 mov r0, #24 ; 0x18
2646 1e10: 9006 str r0, [sp, #24] ; 0x18
2647 1e12: 2000 mov r0, #0
2648 1e14: 9008 str r0, [sp, #32] ; 0x20
2649 1e16: 4669 mov r1, sp
2650 1e18: 9805 ldr r0, [sp, #20] ; 0x14
2651 1e1a: 8800 ldrh r0, [r0, #0]
2652 1e1c: 8008 strh r0, [r1, #0]
2653 1e1e: 9806 ldr r0, [sp, #24] ; 0x18
2654 1e20: 8800 ldrh r0, [r0, #0]
2655 1e22: 8048 strh r0, [r1, #2]
2656 1e24: 4668 mov r0, sp
2657 1e26: 8841 ldrh r1, [r0, #2]
2658 1e28: 8800 ldrh r0, [r0, #0]
2659 1e2a: 0400 lsl r0, r0, #16
2660 1e2c: 1808 add r0, r1, r0
2661 1e2e: 9001 str r0, [sp, #4]
2662 1e30: 9801 ldr r0, [sp, #4]
2663 1e32: 0200 lsl r0, r0, #8
2664 1e34: 0a00 lsr r0, r0, #8
2665 1e36: 0080 lsl r0, r0, #2
2666 1e38: 3008 add r0, #8
2667 1e3a: 9007 str r0, [sp, #28] ; 0x1c
2668 1e3c: 9807 ldr r0, [sp, #28] ; 0x1c
2669 1e3e: 3018 add r0, #24 ; 0x18
2670 1e40: 9002 str r0, [sp, #8]
2671 1e42: 9802 ldr r0, [sp, #8]
2672 1e44: 9004 str r0, [sp, #16] ; 0x10
2673 1e46: 9802 ldr r0, [sp, #8]
2674 1e48: 3002 add r0, #2
2675 1e4a: 9003 str r0, [sp, #12] ; 0xc
2676 1e4c: 9803 ldr r0, [sp, #12] ; 0xc
2677 1e4e: 8801 ldrh r1, [r0, #0]
2678 1e50: 4806 ldr r0, =0xffff ; via 0x1e6c
2679 1e52: 4281 cmp r1, r0
2680 1e54: d104 bne 0x1e60
2681 1e56: 9804 ldr r0, [sp, #16] ; 0x10
2682 1e58: 8800 ldrh r0, [r0, #0]
2683 1e5a: 4904 ldr r1, =0xffff ; via 0x1e6c
2684 1e5c: 4288 cmp r0, r1
2685 1e5e: d001 beq 0x1e64
2686 1e60: 2001 mov r0, #1
2687 1e62: 9008 str r0, [sp, #32] ; 0x20
2688 1e64: 9808 ldr r0, [sp, #32] ; 0x20
2689 1e66: b009 add sp, #36 ; 0x24
2690 1e68: 4770 bx lr
2691 1e6a: 46c0 nop (mov r8, r8)
2692
2693 1e6c: 0000ffff
2694
2695 ; ARM->Thumb call veneer around 0xad2 routine
2696 1e70: e92d4000 stmdb sp!, {lr}
2697 1e74: e28fe001 add lr, pc, #1
2698 1e78: e12fff1e bx lr
2699 1e7c: f7fe fe29 bl 0xad2
2700 1e80: 4778 bx pc
2701 1e82: 46c0 nop (mov r8, r8)
2702 1e84: e8bd8000 ldmia sp!, {pc}
2703
2704 <1E88-1EFF: all FFs>
2705
2706 1f00: 00000001
2707
2708 <1F04-end: all FFs>