comparison se_k200i/boot-disasm @ 393:6c31d8c54ae4

se_k200i: preliminary analysis
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 06 Nov 2022 01:13:43 +0000
parents
children
comparison
equal deleted inserted replaced
392:35009c936a4a 393:6c31d8c54ae4
1 ; SE K200i firmware structure includes a very complicated bootloader stage
2 ; of their own, sitting at the beginning of the boot flash bank and executing
3 ; from ARM7TDMI reset vector after Calypso boot ROM has provided its
4 ; interrupt-boot window and moved itself out of the way per the control word
5 ; at 0x2000. This custom bootloader stage appears to provide its own UART
6 ; interrupt-boot mechanism, possibly a replica of either our familiar Calypso
7 ; boot ROM protocol or perhaps the later Calypso+ secure boot one, and if no
8 ; serial entry happens, this bootloader stage transfers control to the main
9 ; fw image at 0x20000 - but not before doing some checks first! See
10 ; flash-notes for the description of magic areas, including the IMEI, that are
11 ; checked before the main part of the fw is allowed to boot.
12
13 0: ea000492 b 0x1250
14 4: ea1ffffe b 0x800004
15 8: ea1ffffe b 0x800008
16 c: ea1ffffe b 0x80000c
17 10: ea1ffffe b 0x800010
18 14: ea1ffffe b 0x800014
19 18: ea1ffffe b 0x800018
20 1c: ea1ffffe b 0x80001c
21
22 20: eae00492 b 0xff801270
23 24: e1a00000 mov r0, r0
24 28: e1a00000 mov r0, r0
25 2c: e1a00000 mov r0, r0
26 30: e1a00000 mov r0, r0
27 34: e1a00000 mov r0, r0
28 38: e1a00000 mov r0, r0
29 3c: e1a00000 mov r0, r0
30
31 40: b083 sub sp, #12 ; 0xc
32 42: 9101 str r1, [sp, #4]
33 44: 9000 str r0, [sp, #0]
34 46: 2000 mov r0, #0
35 48: 9002 str r0, [sp, #8]
36 4a: 9802 ldr r0, [sp, #8]
37 4c: 2808 cmp r0, #8
38 4e: da09 bge 0x64
39 50: 9a02 ldr r2, [sp, #8]
40 52: 9801 ldr r0, [sp, #4]
41 54: 2100 mov r1, #0
42 56: 5411 strb r1, [r2, r0]
43 58: 9802 ldr r0, [sp, #8]
44 5a: 3001 add r0, #1
45 5c: 9002 str r0, [sp, #8]
46 5e: 9802 ldr r0, [sp, #8]
47 60: 2808 cmp r0, #8
48 62: dbf5 blt 0x50
49 64: 2000 mov r0, #0
50 66: 9002 str r0, [sp, #8]
51 68: 9802 ldr r0, [sp, #8]
52 6a: 2810 cmp r0, #16 ; 0x10
53 6c: db00 blt 0x70
54 6e: e088 b 0x182
55 70: 9902 ldr r1, [sp, #8]
56 72: 9800 ldr r0, [sp, #0]
57 74: 5c08 ldrb r0, [r1, r0]
58 76: 2830 cmp r0, #48 ; 0x30
59 78: db26 blt 0xc8
60 7a: 9902 ldr r1, [sp, #8]
61 7c: 9800 ldr r0, [sp, #0]
62 7e: 5c08 ldrb r0, [r1, r0]
63 80: 2839 cmp r0, #57 ; 0x39
64 82: dc21 bgt 0xc8
65 84: 9802 ldr r0, [sp, #8]
66 86: 0fc1 lsr r1, r0, #31
67 88: 1809 add r1, r1, r0
68 8a: 0849 lsr r1, r1, #1
69 8c: 0049 lsl r1, r1, #1
70 8e: 1a40 sub r0, r0, r1
71 90: 2800 cmp r0, #0
72 92: d00d beq 0xb0
73 94: 9802 ldr r0, [sp, #8]
74 96: 1e40 sub r0, r0, #1
75 98: 0fc1 lsr r1, r0, #31
76 9a: 1808 add r0, r1, r0
77 9c: 1041 asr r1, r0, #1
78 9e: 9801 ldr r0, [sp, #4]
79 a0: 1808 add r0, r1, r0
80 a2: 9a02 ldr r2, [sp, #8]
81 a4: 9900 ldr r1, [sp, #0]
82 a6: 5c51 ldrb r1, [r2, r1]
83 a8: 7802 ldrb r2, [r0, #0]
84 aa: 1889 add r1, r1, r2
85 ac: 3930 sub r1, #48 ; 0x30
86 ae: e054 b 0x15a
87 b0: 9802 ldr r0, [sp, #8]
88 b2: 0fc1 lsr r1, r0, #31
89 b4: 1808 add r0, r1, r0
90 b6: 1042 asr r2, r0, #1
91 b8: 9b02 ldr r3, [sp, #8]
92 ba: 9800 ldr r0, [sp, #0]
93 bc: 5c18 ldrb r0, [r3, r0]
94 be: 3830 sub r0, #48 ; 0x30
95 c0: 0100 lsl r0, r0, #4
96 c2: 9901 ldr r1, [sp, #4]
97 c4: 5450 strb r0, [r2, r1]
98 c6: e055 b 0x174
99 c8: 9902 ldr r1, [sp, #8]
100 ca: 9800 ldr r0, [sp, #0]
101 cc: 5c08 ldrb r0, [r1, r0]
102 ce: 2861 cmp r0, #97 ; 0x61
103 d0: db24 blt 0x11c
104 d2: 9902 ldr r1, [sp, #8]
105 d4: 9800 ldr r0, [sp, #0]
106 d6: 5c08 ldrb r0, [r1, r0]
107 d8: 287a cmp r0, #122 ; 0x7a
108 da: dc1f bgt 0x11c
109 dc: 9802 ldr r0, [sp, #8]
110 de: 0fc1 lsr r1, r0, #31
111 e0: 1809 add r1, r1, r0
112 e2: 0849 lsr r1, r1, #1
113 e4: 0049 lsl r1, r1, #1
114 e6: 1a40 sub r0, r0, r1
115 e8: 2800 cmp r0, #0
116 ea: d00e beq 0x10a
117 ec: 9802 ldr r0, [sp, #8]
118 ee: 1e40 sub r0, r0, #1
119 f0: 0fc1 lsr r1, r0, #31
120 f2: 1808 add r0, r1, r0
121 f4: 1040 asr r0, r0, #1
122 f6: 9901 ldr r1, [sp, #4]
123 f8: 1841 add r1, r0, r1
124 fa: 9a02 ldr r2, [sp, #8]
125 fc: 9800 ldr r0, [sp, #0]
126 fe: 5c12 ldrb r2, [r2, r0]
127 100: 7808 ldrb r0, [r1, #0]
128 102: 1810 add r0, r2, r0
129 104: 3857 sub r0, #87 ; 0x57
130 106: 7008 strb r0, [r1, #0]
131 108: e034 b 0x174
132 10a: 9802 ldr r0, [sp, #8]
133 10c: 0fc1 lsr r1, r0, #31
134 10e: 1808 add r0, r1, r0
135 110: 1042 asr r2, r0, #1
136 112: 9802 ldr r0, [sp, #8]
137 114: 9b00 ldr r3, [sp, #0]
138 116: 5cc0 ldrb r0, [r0, r3]
139 118: 3857 sub r0, #87 ; 0x57
140 11a: e7d1 b 0xc0
141 11c: 9802 ldr r0, [sp, #8]
142 11e: 9900 ldr r1, [sp, #0]
143 120: 5c40 ldrb r0, [r0, r1]
144 122: 2841 cmp r0, #65 ; 0x41
145 124: db26 blt 0x174
146 126: 9802 ldr r0, [sp, #8]
147 128: 9900 ldr r1, [sp, #0]
148 12a: 5c40 ldrb r0, [r0, r1]
149 12c: 285a cmp r0, #90 ; 0x5a
150 12e: dc21 bgt 0x174
151 130: 9802 ldr r0, [sp, #8]
152 132: 0fc1 lsr r1, r0, #31
153 134: 1809 add r1, r1, r0
154 136: 0849 lsr r1, r1, #1
155 138: 0049 lsl r1, r1, #1
156 13a: 1a40 sub r0, r0, r1
157 13c: 2800 cmp r0, #0
158 13e: d00e beq 0x15e
159 140: 9802 ldr r0, [sp, #8]
160 142: 1e40 sub r0, r0, #1
161 144: 0fc1 lsr r1, r0, #31
162 146: 1808 add r0, r1, r0
163 148: 1041 asr r1, r0, #1
164 14a: 9801 ldr r0, [sp, #4]
165 14c: 1808 add r0, r1, r0
166 14e: 9a02 ldr r2, [sp, #8]
167 150: 9900 ldr r1, [sp, #0]
168 152: 5c51 ldrb r1, [r2, r1]
169 154: 7802 ldrb r2, [r0, #0]
170 156: 1889 add r1, r1, r2
171 158: 3937 sub r1, #55 ; 0x37
172 15a: 7001 strb r1, [r0, #0]
173 15c: e00a b 0x174
174 15e: 9802 ldr r0, [sp, #8]
175 160: 0fc1 lsr r1, r0, #31
176 162: 1808 add r0, r1, r0
177 164: 1043 asr r3, r0, #1
178 166: 9a01 ldr r2, [sp, #4]
179 168: 9902 ldr r1, [sp, #8]
180 16a: 9800 ldr r0, [sp, #0]
181 16c: 5c08 ldrb r0, [r1, r0]
182 16e: 3837 sub r0, #55 ; 0x37
183 170: 0100 lsl r0, r0, #4
184 172: 5498 strb r0, [r3, r2]
185 174: 9802 ldr r0, [sp, #8]
186 176: 3001 add r0, #1
187 178: 9002 str r0, [sp, #8]
188 17a: 9802 ldr r0, [sp, #8]
189 17c: 2810 cmp r0, #16 ; 0x10
190 17e: da00 bge 0x182
191 180: e776 b 0x70
192 182: b003 add sp, #12 ; 0xc
193 184: 4770 bx lr
194
195 186: b500 push {lr}
196 188: b084 sub sp, #16 ; 0x10
197 18a: 2000 mov r0, #0
198 18c: 9000 str r0, [sp, #0]
199 18e: a0d8 add r0, pc, #864 ; 0x360
200 190: 2101 mov r1, #1
201 192: 4aea ldr r2, =0x1000010 ; via 0x53c
202 194: 7812 ldrb r2, [r2, #0]
203 196: f000 fef8 bl 0xf8a
204 19a: 9800 ldr r0, [sp, #0]
205 19c: 2832 cmp r0, #50 ; 0x32
206 19e: da1a bge 0x1d6
207 1a0: a801 add r0, sp, #4
208 1a2: 49e6 ldr r1, =0x1000010 ; via 0x53c
209 1a4: 7809 ldrb r1, [r1, #0]
210 1a6: f000 ff71 bl 0x108c
211 1aa: 4668 mov r0, sp
212 1ac: 7900 ldrb r0, [r0, #4]
213 1ae: 2843 cmp r0, #67 ; 0x43
214 1b0: d10b bne 0x1ca
215 1b2: a0d0 add r0, pc, #832 ; 0x340
216 1b4: a902 add r1, sp, #8
217 1b6: f7ff ff43 bl 0x40
218 1ba: a802 add r0, sp, #8
219 1bc: 2108 mov r1, #8
220 1be: 4adf ldr r2, =0x1000010 ; via 0x53c
221 1c0: 7812 ldrb r2, [r2, #0]
222 1c2: f000 fee2 bl 0xf8a
223 1c6: 2001 mov r0, #1
224 1c8: e006 b 0x1d8
225 1ca: 9800 ldr r0, [sp, #0]
226 1cc: 3001 add r0, #1
227 1ce: 9000 str r0, [sp, #0]
228 1d0: 9800 ldr r0, [sp, #0]
229 1d2: 2832 cmp r0, #50 ; 0x32
230 1d4: dbe4 blt 0x1a0
231 1d6: 2000 mov r0, #0
232 1d8: b004 add sp, #16 ; 0x10
233 1da: bd00 pop {pc}
234
235 1dc: 49ca ldr r1, =0xfffff804 ; via 0x508
236 1de: 2001 mov r0, #1
237 1e0: 03c0 lsl r0, r0, #15
238 1e2: 8008 strh r0, [r1, #0]
239 1e4: 49c9 ldr r1, =0xfffff800 ; via 0x50c
240 1e6: 2080 mov r0, #128 ; 0x80
241 1e8: 8008 strh r0, [r1, #0]
242 1ea: 48c9 ldr r0, =0xfffff802 ; via 0x510
243 1ec: 8800 ldrh r0, [r0, #0]
244 1ee: 48c8 ldr r0, =0xfffff802 ; via 0x510
245 1f0: 2101 mov r1, #1
246 1f2: 8001 strh r1, [r0, #0]
247 1f4: 8800 ldrh r0, [r0, #0]
248 1f6: e7fe b 0x1f6
249
250 1f8: b081 sub sp, #4
251 1fa: 4669 mov r1, sp
252 1fc: 7008 strb r0, [r1, #0]
253 1fe: 4668 mov r0, sp
254 200: 7809 ldrb r1, [r1, #0]
255 202: 0709 lsl r1, r1, #28
256 204: 0f09 lsr r1, r1, #28
257 206: 0049 lsl r1, r1, #1
258 208: 7041 strb r1, [r0, #1]
259 20a: 7840 ldrb r0, [r0, #1]
260 20c: 280a cmp r0, #10 ; 0xa
261 20e: da01 bge 0x214
262 210: 2000 mov r0, #0
263 212: e000 b 0x216
264 214: 2009 mov r0, #9
265 216: 4669 mov r1, sp
266 218: 7849 ldrb r1, [r1, #1]
267 21a: 1a09 sub r1, r1, r0
268 21c: 4668 mov r0, sp
269 21e: 7041 strb r1, [r0, #1]
270 220: 7800 ldrb r0, [r0, #0]
271 222: 0900 lsr r0, r0, #4
272 224: 0700 lsl r0, r0, #28
273 226: 0f01 lsr r1, r0, #28
274 228: 4668 mov r0, sp
275 22a: 7840 ldrb r0, [r0, #1]
276 22c: 1808 add r0, r1, r0
277 22e: 0600 lsl r0, r0, #24
278 230: 0e00 lsr r0, r0, #24
279 232: b001 add sp, #4
280 234: 4770 bx lr
281
282 236: b500 push {lr}
283 238: b081 sub sp, #4
284 23a: 4669 mov r1, sp
285 23c: 2000 mov r0, #0
286 23e: 7008 strb r0, [r1, #0]
287 240: 2001 mov r0, #1
288 242: 0400 lsl r0, r0, #16
289 244: 7800 ldrb r0, [r0, #0]
290 246: f7ff ffd7 bl 0x1f8
291 24a: 4669 mov r1, sp
292 24c: 7809 ldrb r1, [r1, #0]
293 24e: 1841 add r1, r0, r1
294 250: 4668 mov r0, sp
295 252: 7001 strb r1, [r0, #0]
296 254: 48dd ldr r0, =0x10001 ; via 0x5cc
297 256: 7800 ldrb r0, [r0, #0]
298 258: f7ff ffce bl 0x1f8
299 25c: 4669 mov r1, sp
300 25e: 7809 ldrb r1, [r1, #0]
301 260: 1841 add r1, r0, r1
302 262: 4668 mov r0, sp
303 264: 7001 strb r1, [r0, #0]
304 266: 48da ldr r0, =0x10002 ; via 0x5d0
305 268: 7800 ldrb r0, [r0, #0]
306 26a: f7ff ffc5 bl 0x1f8
307 26e: 4669 mov r1, sp
308 270: 7809 ldrb r1, [r1, #0]
309 272: 1841 add r1, r0, r1
310 274: 4668 mov r0, sp
311 276: 7001 strb r1, [r0, #0]
312 278: 48d6 ldr r0, =0x10003 ; via 0x5d4
313 27a: 7800 ldrb r0, [r0, #0]
314 27c: f7ff ffbc bl 0x1f8
315 280: 4669 mov r1, sp
316 282: 7809 ldrb r1, [r1, #0]
317 284: 1840 add r0, r0, r1
318 286: 4669 mov r1, sp
319 288: 7008 strb r0, [r1, #0]
320 28a: 48d3 ldr r0, =0x10004 ; via 0x5d8
321 28c: 7800 ldrb r0, [r0, #0]
322 28e: f7ff ffb3 bl 0x1f8
323 292: 4669 mov r1, sp
324 294: 7809 ldrb r1, [r1, #0]
325 296: 1841 add r1, r0, r1
326 298: 4668 mov r0, sp
327 29a: 7001 strb r1, [r0, #0]
328 29c: 48cf ldr r0, =0x10005 ; via 0x5dc
329 29e: 7800 ldrb r0, [r0, #0]
330 2a0: f7ff ffaa bl 0x1f8
331 2a4: 4669 mov r1, sp
332 2a6: 7809 ldrb r1, [r1, #0]
333 2a8: 1841 add r1, r0, r1
334 2aa: 4668 mov r0, sp
335 2ac: 7001 strb r1, [r0, #0]
336 2ae: 48cc ldr r0, =0x10006 ; via 0x5e0
337 2b0: 7800 ldrb r0, [r0, #0]
338 2b2: f7ff ffa1 bl 0x1f8
339 2b6: 4669 mov r1, sp
340 2b8: 7809 ldrb r1, [r1, #0]
341 2ba: 1841 add r1, r0, r1
342 2bc: 4668 mov r0, sp
343 2be: 7001 strb r1, [r0, #0]
344 2c0: 7800 ldrb r0, [r0, #0]
345 2c2: 210a mov r1, #10 ; 0xa
346 2c4: f000 ff1a bl 0x10fc
347 2c8: 210a mov r1, #10 ; 0xa
348 2ca: 1a08 sub r0, r1, r0
349 2cc: 4669 mov r1, sp
350 2ce: 7048 strb r0, [r1, #1]
351 2d0: 4668 mov r0, sp
352 2d2: 7840 ldrb r0, [r0, #1]
353 2d4: 280a cmp r0, #10 ; 0xa
354 2d6: d101 bne 0x2dc
355 2d8: 2000 mov r0, #0
356 2da: e001 b 0x2e0
357 2dc: 4668 mov r0, sp
358 2de: 7840 ldrb r0, [r0, #1]
359 2e0: 4669 mov r1, sp
360 2e2: 7048 strb r0, [r1, #1]
361 2e4: 4668 mov r0, sp
362 2e6: 7840 ldrb r0, [r0, #1]
363 2e8: b001 add sp, #4
364 2ea: bd00 pop {pc}
365
366 2ec: b500 push {lr}
367 2ee: b082 sub sp, #8
368 2f0: 9000 str r0, [sp, #0]
369 2f2: 2000 mov r0, #0
370 2f4: 9001 str r0, [sp, #4]
371 2f6: 9801 ldr r0, [sp, #4]
372 2f8: 280e cmp r0, #14 ; 0xe
373 2fa: da1f bge 0x33c
374 2fc: 9801 ldr r0, [sp, #4]
375 2fe: 0fc1 lsr r1, r0, #31
376 300: 1808 add r0, r1, r0
377 302: 1041 asr r1, r0, #1
378 304: 2001 mov r0, #1
379 306: 0400 lsl r0, r0, #16
380 308: 5c40 ldrb r0, [r0, r1]
381 30a: 0900 lsr r0, r0, #4
382 30c: 3030 add r0, #48 ; 0x30
383 30e: 9a01 ldr r2, [sp, #4]
384 310: 9900 ldr r1, [sp, #0]
385 312: 5450 strb r0, [r2, r1]
386 314: 9801 ldr r0, [sp, #4]
387 316: 0fc1 lsr r1, r0, #31
388 318: 1808 add r0, r1, r0
389 31a: 1040 asr r0, r0, #1
390 31c: 2101 mov r1, #1
391 31e: 0409 lsl r1, r1, #16
392 320: 5c08 ldrb r0, [r1, r0]
393 322: 0700 lsl r0, r0, #28
394 324: 0f00 lsr r0, r0, #28
395 326: 3030 add r0, #48 ; 0x30
396 328: 9a01 ldr r2, [sp, #4]
397 32a: 9900 ldr r1, [sp, #0]
398 32c: 1851 add r1, r2, r1
399 32e: 7048 strb r0, [r1, #1]
400 330: 9801 ldr r0, [sp, #4]
401 332: 3002 add r0, #2
402 334: 9001 str r0, [sp, #4]
403 336: 9801 ldr r0, [sp, #4]
404 338: 280e cmp r0, #14 ; 0xe
405 33a: dbdf blt 0x2fc
406 33c: f7ff ff7b bl 0x236
407 340: 3030 add r0, #48 ; 0x30
408 342: 9900 ldr r1, [sp, #0]
409 344: 7388 strb r0, [r1, #14] ; 0xe
410 346: b002 add sp, #8
411 348: bd00 pop {pc}
412
413 34a: b500 push {lr}
414 34c: b08c sub sp, #48 ; 0x30
415 34e: 4668 mov r0, sp
416 350: 497a ldr r1, =0x1000010 ; via 0x53c
417 352: 7809 ldrb r1, [r1, #0]
418 354: f000 fe4a bl 0xfec
419 358: e0a7 b 0x4aa
420 35a: a066 add r0, pc, #408 ; 0x198
421 35c: a901 add r1, sp, #4
422 35e: f7ff fe6f bl 0x40
423 362: 2108 mov r1, #8
424 364: e08e b 0x484
425 366: a091 add r0, pc, #580 ; 0x244
426 368: 211e mov r1, #30 ; 0x1e
427 36a: e099 b 0x4a0
428 36c: a801 add r0, sp, #4
429 36e: f7ff ffbd bl 0x2ec
430 372: 210f mov r1, #15 ; 0xf
431 374: e086 b 0x484
432 376: 489b ldr r0, =0x422024 ; via 0x5e4
433 378: 9009 str r0, [sp, #36] ; 0x24
434 37a: 2000 mov r0, #0
435 37c: e007 b 0x38e
436 37e: 990a ldr r1, [sp, #40] ; 0x28
437 380: 9809 ldr r0, [sp, #36] ; 0x24
438 382: 5c08 ldrb r0, [r1, r0]
439 384: 990a ldr r1, [sp, #40] ; 0x28
440 386: aa01 add r2, sp, #4
441 388: 5450 strb r0, [r2, r1]
442 38a: 980a ldr r0, [sp, #40] ; 0x28
443 38c: 3001 add r0, #1
444 38e: 900a str r0, [sp, #40] ; 0x28
445 390: 990a ldr r1, [sp, #40] ; 0x28
446 392: 9809 ldr r0, [sp, #36] ; 0x24
447 394: 5c08 ldrb r0, [r1, r0]
448 396: 2800 cmp r0, #0
449 398: d002 beq 0x3a0
450 39a: 980a ldr r0, [sp, #40] ; 0x28
451 39c: 281a cmp r0, #26 ; 0x1a
452 39e: dbee blt 0x37e
453 3a0: 9a0a ldr r2, [sp, #40] ; 0x28
454 3a2: 2020 mov r0, #32 ; 0x20
455 3a4: a901 add r1, sp, #4
456 3a6: 5488 strb r0, [r1, r2]
457 3a8: 488f ldr r0, =0x422004 ; via 0x5e8
458 3aa: 9009 str r0, [sp, #36] ; 0x24
459 3ac: 980a ldr r0, [sp, #40] ; 0x28
460 3ae: 3001 add r0, #1
461 3b0: 900b str r0, [sp, #44] ; 0x2c
462 3b2: 2000 mov r0, #0
463 3b4: 900a str r0, [sp, #40] ; 0x28
464 3b6: e00b b 0x3d0
465 3b8: 990a ldr r1, [sp, #40] ; 0x28
466 3ba: 9809 ldr r0, [sp, #36] ; 0x24
467 3bc: 5c09 ldrb r1, [r1, r0]
468 3be: 9a0b ldr r2, [sp, #44] ; 0x2c
469 3c0: a801 add r0, sp, #4
470 3c2: 5481 strb r1, [r0, r2]
471 3c4: 980a ldr r0, [sp, #40] ; 0x28
472 3c6: 3001 add r0, #1
473 3c8: 900a str r0, [sp, #40] ; 0x28
474 3ca: 980b ldr r0, [sp, #44] ; 0x2c
475 3cc: 3001 add r0, #1
476 3ce: 900b str r0, [sp, #44] ; 0x2c
477 3d0: 990a ldr r1, [sp, #40] ; 0x28
478 3d2: 9809 ldr r0, [sp, #36] ; 0x24
479 3d4: 5c08 ldrb r0, [r1, r0]
480 3d6: 2800 cmp r0, #0
481 3d8: d002 beq 0x3e0
482 3da: 980b ldr r0, [sp, #44] ; 0x2c
483 3dc: 281e cmp r0, #30 ; 0x1e
484 3de: dbeb blt 0x3b8
485 3e0: 980b ldr r0, [sp, #44] ; 0x2c
486 3e2: 281e cmp r0, #30 ; 0x1e
487 3e4: da4d bge 0x482
488 3e6: 980b ldr r0, [sp, #44] ; 0x2c
489 3e8: 2120 mov r1, #32 ; 0x20
490 3ea: aa01 add r2, sp, #4
491 3ec: 5411 strb r1, [r2, r0]
492 3ee: 980b ldr r0, [sp, #44] ; 0x2c
493 3f0: 3001 add r0, #1
494 3f2: 900b str r0, [sp, #44] ; 0x2c
495 3f4: 980b ldr r0, [sp, #44] ; 0x2c
496 3f6: 281e cmp r0, #30 ; 0x1e
497 3f8: dbf5 blt 0x3e6
498 3fa: e042 b 0x482
499 3fc: 203b mov r0, #59 ; 0x3b
500 3fe: 04c0 lsl r0, r0, #19
501 400: 9009 str r0, [sp, #36] ; 0x24
502 402: 2000 mov r0, #0
503 404: e007 b 0x416
504 406: 990a ldr r1, [sp, #40] ; 0x28
505 408: 9809 ldr r0, [sp, #36] ; 0x24
506 40a: 5c09 ldrb r1, [r1, r0]
507 40c: 9a0a ldr r2, [sp, #40] ; 0x28
508 40e: a801 add r0, sp, #4
509 410: 5481 strb r1, [r0, r2]
510 412: 980a ldr r0, [sp, #40] ; 0x28
511 414: 3001 add r0, #1
512 416: 900a str r0, [sp, #40] ; 0x28
513 418: 990a ldr r1, [sp, #40] ; 0x28
514 41a: 9809 ldr r0, [sp, #36] ; 0x24
515 41c: 5c08 ldrb r0, [r1, r0]
516 41e: 2800 cmp r0, #0
517 420: d002 beq 0x428
518 422: 980a ldr r0, [sp, #40] ; 0x28
519 424: 281a cmp r0, #26 ; 0x1a
520 426: dbee blt 0x406
521 428: 9a0a ldr r2, [sp, #40] ; 0x28
522 42a: 2020 mov r0, #32 ; 0x20
523 42c: a901 add r1, sp, #4
524 42e: 5488 strb r0, [r1, r2]
525 430: 48e2 ldr r0, =0x1d80020 ; via 0x7bc
526 432: 9009 str r0, [sp, #36] ; 0x24
527 434: 980a ldr r0, [sp, #40] ; 0x28
528 436: 3001 add r0, #1
529 438: 900b str r0, [sp, #44] ; 0x2c
530 43a: 2000 mov r0, #0
531 43c: 900a str r0, [sp, #40] ; 0x28
532 43e: e00b b 0x458
533 440: 990a ldr r1, [sp, #40] ; 0x28
534 442: 9809 ldr r0, [sp, #36] ; 0x24
535 444: 5c08 ldrb r0, [r1, r0]
536 446: 990b ldr r1, [sp, #44] ; 0x2c
537 448: aa01 add r2, sp, #4
538 44a: 5450 strb r0, [r2, r1]
539 44c: 980a ldr r0, [sp, #40] ; 0x28
540 44e: 3001 add r0, #1
541 450: 900a str r0, [sp, #40] ; 0x28
542 452: 980b ldr r0, [sp, #44] ; 0x2c
543 454: 3001 add r0, #1
544 456: 900b str r0, [sp, #44] ; 0x2c
545 458: 980a ldr r0, [sp, #40] ; 0x28
546 45a: 9909 ldr r1, [sp, #36] ; 0x24
547 45c: 5c40 ldrb r0, [r0, r1]
548 45e: 2800 cmp r0, #0
549 460: d002 beq 0x468
550 462: 980b ldr r0, [sp, #44] ; 0x2c
551 464: 281e cmp r0, #30 ; 0x1e
552 466: dbeb blt 0x440
553 468: 980b ldr r0, [sp, #44] ; 0x2c
554 46a: 281e cmp r0, #30 ; 0x1e
555 46c: da09 bge 0x482
556 46e: 990b ldr r1, [sp, #44] ; 0x2c
557 470: 2020 mov r0, #32 ; 0x20
558 472: aa01 add r2, sp, #4
559 474: 5450 strb r0, [r2, r1]
560 476: 980b ldr r0, [sp, #44] ; 0x2c
561 478: 3001 add r0, #1
562 47a: 900b str r0, [sp, #44] ; 0x2c
563 47c: 980b ldr r0, [sp, #44] ; 0x2c
564 47e: 281e cmp r0, #30 ; 0x1e
565 480: dbf5 blt 0x46e
566 482: 211e mov r1, #30 ; 0x1e
567 484: a801 add r0, sp, #4
568 486: e00b b 0x4a0
569 488: f7ff fea8 bl 0x1dc
570 48c: e75f b 0x34e
571 48e: a0ef add r0, pc, #956 ; 0x3bc
572 490: 2102 mov r1, #2
573 492: 4a2a ldr r2, =0x1000010 ; via 0x53c
574 494: 7812 ldrb r2, [r2, #0]
575 496: f000 fd78 bl 0xf8a
576 49a: e026 b 0x4ea
577 49c: a0ec add r0, pc, #944 ; 0x3b0
578 49e: 2102 mov r1, #2
579 4a0: 4a26 ldr r2, =0x1000010 ; via 0x53c
580 4a2: 7812 ldrb r2, [r2, #0]
581 4a4: f000 fd71 bl 0xf8a
582 4a8: e751 b 0x34e
583 4aa: 4668 mov r0, sp
584 4ac: 7800 ldrb r0, [r0, #0]
585 4ae: 2143 mov r1, #67 ; 0x43
586 4b0: 1a40 sub r0, r0, r1
587 4b2: 2800 cmp r0, #0
588 4b4: d100 bne 0x4b8
589 4b6: e750 b 0x35a
590 4b8: 3801 sub r0, #1
591 4ba: 2800 cmp r0, #0
592 4bc: d09e beq 0x3fc
593 4be: 3801 sub r0, #1
594 4c0: 2800 cmp r0, #0
595 4c2: d0eb beq 0x49c
596 4c4: 3802 sub r0, #2
597 4c6: 2800 cmp r0, #0
598 4c8: d0e1 beq 0x48e
599 4ca: 3802 sub r0, #2
600 4cc: 2800 cmp r0, #0
601 4ce: d100 bne 0x4d2
602 4d0: e74c b 0x36c
603 4d2: 3804 sub r0, #4
604 4d4: 2800 cmp r0, #0
605 4d6: d100 bne 0x4da
606 4d8: e745 b 0x366
607 4da: 3804 sub r0, #4
608 4dc: 2800 cmp r0, #0
609 4de: d0d3 beq 0x488
610 4e0: 3807 sub r0, #7
611 4e2: 2800 cmp r0, #0
612 4e4: d100 bne 0x4e8
613 4e6: e746 b 0x376
614 4e8: e731 b 0x34e
615 4ea: b00c add sp, #48 ; 0x30
616 4ec: bd00 pop {pc}
617 4ee: 46c0 nop (mov r8, r8)
618
619 4f0: 46c00054
620 4f4: 30303239 ; ASCIZ "92000101FFFFFFFF"
621 4f8: 31303130
622 4fc: 46464646
623 500: 46464646
624 504: c046c000
625 508: fffff804
626 50c: fffff800
627 510: fffff802
628
629 514: b500 push {lr}
630 516: b084 sub sp, #16 ; 0x10
631 518: 4668 mov r0, sp
632 51a: 2109 mov r1, #9
633 51c: 4a07 ldr r2, =0x1000010 ; via 0x53c
634 51e: 7812 ldrb r2, [r2, #0]
635 520: f000 fd7f bl 0x1022
636 524: 4668 mov r0, sp
637 526: 7800 ldrb r0, [r0, #0]
638 528: 2804 cmp r0, #4
639 52a: dd09 ble 0x540
640 52c: a0ea add r0, pc, #936 ; 0x3a8
641 52e: 2102 mov r1, #2
642 530: 4a02 ldr r2, =0x1000010 ; via 0x53c
643 532: 7812 ldrb r2, [r2, #0]
644 534: f000 fd29 bl 0xf8a
645 538: e035 b 0x5a6
646 53a: 46c0 nop (mov r8, r8)
647 53c: 01000010
648 540: 4669 mov r1, sp
649 542: 2000 mov r0, #0
650 544: 7308 strb r0, [r1, #12] ; 0xc
651 546: 4668 mov r0, sp
652 548: 2104 mov r1, #4
653 54a: 7341 strb r1, [r0, #13] ; 0xd
654 54c: a0e3 add r0, pc, #908 ; 0x38c
655 54e: 2102 mov r1, #2
656 550: 4af7 ldr r2, =0x1000010 ; via 0x930
657 552: 7812 ldrb r2, [r2, #0]
658 554: f000 fd19 bl 0xf8a
659 558: a803 add r0, sp, #12 ; 0xc
660 55a: 2102 mov r1, #2
661 55c: 4af4 ldr r2, =0x1000010 ; via 0x930
662 55e: 7812 ldrb r2, [r2, #0]
663 560: f000 fd13 bl 0xf8a
664 564: 48f2 ldr r0, =0x1000010 ; via 0x930
665 566: 7800 ldrb r0, [r0, #0]
666 568: f000 fcf3 bl 0xf52
667 56c: 49dd ldr r1, =0x1304 ; via 0x8e4
668 56e: 4668 mov r0, sp
669 570: 7800 ldrb r0, [r0, #0]
670 572: 5c09 ldrb r1, [r1, r0]
671 574: 48da ldr r0, =0x1000011 ; via 0x8e0
672 576: 7800 ldrb r0, [r0, #0]
673 578: 4288 cmp r0, r1
674 57a: d009 beq 0x590
675 57c: 49d9 ldr r1, =0x1304 ; via 0x8e4
676 57e: 4668 mov r0, sp
677 580: 7800 ldrb r0, [r0, #0]
678 582: 5c08 ldrb r0, [r1, r0]
679 584: 49d6 ldr r1, =0x1000011 ; via 0x8e0
680 586: 7008 strb r0, [r1, #0]
681 588: 48e9 ldr r0, =0x1000010 ; via 0x930
682 58a: 7800 ldrb r0, [r0, #0]
683 58c: f000 fca9 bl 0xee2
684 590: 48f5 ldr r0, =0x1000000 ; via 0x968
685 592: 2100 mov r1, #0
686 594: 6001 str r1, [r0, #0]
687 596: 48f5 ldr r0, =0x100000c ; via 0x96c
688 598: 7001 strb r1, [r0, #0]
689 59a: 49f5 ldr r1, =0x1000004 ; via 0x970
690 59c: 2000 mov r0, #0
691 59e: 7008 strb r0, [r1, #0]
692 5a0: 48f4 ldr r0, =0x1000008 ; via 0x974
693 5a2: 2100 mov r1, #0
694 5a4: 6001 str r1, [r0, #0]
695 5a6: b004 add sp, #16 ; 0x10
696 5a8: bd00 pop {pc}
697 5aa: 46c0 nop (mov r8, r8)
698
699 5ac: 7263694d ; ASCIZ "MicroEROM v1.0 "
700 5b0: 4f52456f
701 5b4: 3176204d
702 5b8: 2020302e
703 5bc: 20202020
704 5c0: 20202020
705 5c4: 20202020
706 5c8: c0002020
707 5cc: 00010001
708 5d0: 00010002
709 5d4: 00010003
710 5d8: 00010004
711 5dc: 00010005
712 5e0: 00010006
713 5e4: 00422024
714 5e8: 00422004
715
716 5ec: b500 push {lr}
717 5ee: 48e4 ldr r0, =0xfffffbf4 ; via 0x980
718 5f0: 4485 add sp, r0
719 5f2: 4668 mov r0, sp
720 5f4: 2108 mov r1, #8
721 5f6: 4ace ldr r2, =0x1000010 ; via 0x930
722 5f8: 7812 ldrb r2, [r2, #0]
723 5fa: f000 fd12 bl 0x1022
724 5fe: 4ade ldr r2, =0x402 ; via 0x978
725 600: 4669 mov r1, sp
726 602: 4668 mov r0, sp
727 604: 78c3 ldrb r3, [r0, #3]
728 606: 7880 ldrb r0, [r0, #2]
729 608: 0200 lsl r0, r0, #8
730 60a: 1818 add r0, r3, r0
731 60c: 5250 strh r0, [r2, r1]
732 60e: 2081 mov r0, #129 ; 0x81
733 610: 00c2 lsl r2, r0, #3
734 612: 4668 mov r0, sp
735 614: 7940 ldrb r0, [r0, #5]
736 616: 0403 lsl r3, r0, #16
737 618: 4668 mov r0, sp
738 61a: 7900 ldrb r0, [r0, #4]
739 61c: 0600 lsl r0, r0, #24
740 61e: 181b add r3, r3, r0
741 620: 4668 mov r0, sp
742 622: 7980 ldrb r0, [r0, #6]
743 624: 0200 lsl r0, r0, #8
744 626: 18c3 add r3, r0, r3
745 628: 4668 mov r0, sp
746 62a: 79c0 ldrb r0, [r0, #7]
747 62c: 18c0 add r0, r0, r3
748 62e: 5050 str r0, [r2, r1]
749 630: 48cd ldr r0, =0x1000000 ; via 0x968
750 632: 6800 ldr r0, [r0, #0]
751 634: 2800 cmp r0, #0
752 636: d105 bne 0x644
753 638: 2081 mov r0, #129 ; 0x81
754 63a: 00c1 lsl r1, r0, #3
755 63c: 4668 mov r0, sp
756 63e: 5808 ldr r0, [r1, r0]
757 640: 49c9 ldr r1, =0x1000000 ; via 0x968
758 642: 6008 str r0, [r1, #0]
759 644: 4668 mov r0, sp
760 646: 4acc ldr r2, =0x402 ; via 0x978
761 648: 4669 mov r1, sp
762 64a: 5a51 ldrh r1, [r2, r1]
763 64c: 4ab8 ldr r2, =0x1000010 ; via 0x930
764 64e: 7812 ldrb r2, [r2, #0]
765 650: f000 fce7 bl 0x1022
766 654: 4ac9 ldr r2, =0x404 ; via 0x97c
767 656: 4669 mov r1, sp
768 658: 2000 mov r0, #0
769 65a: 5250 strh r0, [r2, r1]
770 65c: 49c7 ldr r1, =0x404 ; via 0x97c
771 65e: 4668 mov r0, sp
772 660: 5a0a ldrh r2, [r1, r0]
773 662: 49c5 ldr r1, =0x402 ; via 0x978
774 664: 5a08 ldrh r0, [r1, r0]
775 666: 4282 cmp r2, r0
776 668: da1a bge 0x6a0
777 66a: 49c4 ldr r1, =0x404 ; via 0x97c
778 66c: 4668 mov r0, sp
779 66e: 5a0b ldrh r3, [r1, r0]
780 670: 2081 mov r0, #129 ; 0x81
781 672: 00c0 lsl r0, r0, #3
782 674: 4669 mov r1, sp
783 676: 5841 ldr r1, [r0, r1]
784 678: 4ac0 ldr r2, =0x404 ; via 0x97c
785 67a: 4668 mov r0, sp
786 67c: 5a10 ldrh r0, [r2, r0]
787 67e: 466a mov r2, sp
788 680: 5c80 ldrb r0, [r0, r2]
789 682: 5458 strb r0, [r3, r1]
790 684: 49bd ldr r1, =0x404 ; via 0x97c
791 686: 466b mov r3, sp
792 688: 4abc ldr r2, =0x404 ; via 0x97c
793 68a: 4668 mov r0, sp
794 68c: 5a10 ldrh r0, [r2, r0]
795 68e: 3001 add r0, #1
796 690: 52c8 strh r0, [r1, r3]
797 692: 4668 mov r0, sp
798 694: 5a08 ldrh r0, [r1, r0]
799 696: 49b8 ldr r1, =0x402 ; via 0x978
800 698: 466a mov r2, sp
801 69a: 5a89 ldrh r1, [r1, r2]
802 69c: 4288 cmp r0, r1
803 69e: dbe4 blt 0x66a
804 6a0: 2001 mov r0, #1
805 6a2: 0282 lsl r2, r0, #10
806 6a4: 4669 mov r1, sp
807 6a6: 2005 mov r0, #5
808 6a8: 5450 strb r0, [r2, r1]
809 6aa: 49b3 ldr r1, =0x402 ; via 0x978
810 6ac: 4668 mov r0, sp
811 6ae: 5a08 ldrh r0, [r1, r0]
812 6b0: 0600 lsl r0, r0, #24
813 6b2: 0e02 lsr r2, r0, #24
814 6b4: 2001 mov r0, #1
815 6b6: 0280 lsl r0, r0, #10
816 6b8: 4669 mov r1, sp
817 6ba: 5c40 ldrb r0, [r0, r1]
818 6bc: 1810 add r0, r2, r0
819 6be: 2101 mov r1, #1
820 6c0: 028a lsl r2, r1, #10
821 6c2: 4669 mov r1, sp
822 6c4: 5450 strb r0, [r2, r1]
823 6c6: 2081 mov r0, #129 ; 0x81
824 6c8: 00c1 lsl r1, r0, #3
825 6ca: 4668 mov r0, sp
826 6cc: 5808 ldr r0, [r1, r0]
827 6ce: 0e00 lsr r0, r0, #24
828 6d0: 0600 lsl r0, r0, #24
829 6d2: 0e02 lsr r2, r0, #24
830 6d4: 2001 mov r0, #1
831 6d6: 0281 lsl r1, r0, #10
832 6d8: 4668 mov r0, sp
833 6da: 5c08 ldrb r0, [r1, r0]
834 6dc: 1812 add r2, r2, r0
835 6de: 2001 mov r0, #1
836 6e0: 0281 lsl r1, r0, #10
837 6e2: 4668 mov r0, sp
838 6e4: 540a strb r2, [r1, r0]
839 6e6: 2081 mov r0, #129 ; 0x81
840 6e8: 00c1 lsl r1, r0, #3
841 6ea: 4668 mov r0, sp
842 6ec: 5808 ldr r0, [r1, r0]
843 6ee: 0200 lsl r0, r0, #8
844 6f0: 0e00 lsr r0, r0, #24
845 6f2: 0400 lsl r0, r0, #16
846 6f4: 0c02 lsr r2, r0, #16
847 6f6: 2001 mov r0, #1
848 6f8: 0281 lsl r1, r0, #10
849 6fa: 4668 mov r0, sp
850 6fc: 5c08 ldrb r0, [r1, r0]
851 6fe: 1811 add r1, r2, r0
852 700: 2001 mov r0, #1
853 702: 0280 lsl r0, r0, #10
854 704: 466a mov r2, sp
855 706: 5481 strb r1, [r0, r2]
856 708: 2081 mov r0, #129 ; 0x81
857 70a: 00c1 lsl r1, r0, #3
858 70c: 4668 mov r0, sp
859 70e: 5808 ldr r0, [r1, r0]
860 710: 0400 lsl r0, r0, #16
861 712: 0e00 lsr r0, r0, #24
862 714: 0200 lsl r0, r0, #8
863 716: 0a02 lsr r2, r0, #8
864 718: 2001 mov r0, #1
865 71a: 0281 lsl r1, r0, #10
866 71c: 4668 mov r0, sp
867 71e: 5c08 ldrb r0, [r1, r0]
868 720: 1812 add r2, r2, r0
869 722: 2001 mov r0, #1
870 724: 0281 lsl r1, r0, #10
871 726: 4668 mov r0, sp
872 728: 540a strb r2, [r1, r0]
873 72a: 2081 mov r0, #129 ; 0x81
874 72c: 00c0 lsl r0, r0, #3
875 72e: 4669 mov r1, sp
876 730: 5840 ldr r0, [r0, r1]
877 732: 0600 lsl r0, r0, #24
878 734: 0e02 lsr r2, r0, #24
879 736: 2001 mov r0, #1
880 738: 0280 lsl r0, r0, #10
881 73a: 5c40 ldrb r0, [r0, r1]
882 73c: 1811 add r1, r2, r0
883 73e: 2001 mov r0, #1
884 740: 0282 lsl r2, r0, #10
885 742: 4668 mov r0, sp
886 744: 5411 strb r1, [r2, r0]
887 746: 4a8d ldr r2, =0x404 ; via 0x97c
888 748: 2100 mov r1, #0
889 74a: 5211 strh r1, [r2, r0]
890 74c: 488b ldr r0, =0x404 ; via 0x97c
891 74e: 4669 mov r1, sp
892 750: 5a40 ldrh r0, [r0, r1]
893 752: 4a89 ldr r2, =0x402 ; via 0x978
894 754: 5a51 ldrh r1, [r2, r1]
895 756: 4288 cmp r0, r1
896 758: da19 bge 0x78e
897 75a: 4988 ldr r1, =0x404 ; via 0x97c
898 75c: 4668 mov r0, sp
899 75e: 5a09 ldrh r1, [r1, r0]
900 760: 5c09 ldrb r1, [r1, r0]
901 762: 2001 mov r0, #1
902 764: 0282 lsl r2, r0, #10
903 766: 4668 mov r0, sp
904 768: 5c10 ldrb r0, [r2, r0]
905 76a: 1809 add r1, r1, r0
906 76c: 2001 mov r0, #1
907 76e: 0282 lsl r2, r0, #10
908 770: 4668 mov r0, sp
909 772: 5411 strb r1, [r2, r0]
910 774: 4a81 ldr r2, =0x404 ; via 0x97c
911 776: 4669 mov r1, sp
912 778: 4b80 ldr r3, =0x404 ; via 0x97c
913 77a: 5a18 ldrh r0, [r3, r0]
914 77c: 3001 add r0, #1
915 77e: 5250 strh r0, [r2, r1]
916 780: 487e ldr r0, =0x404 ; via 0x97c
917 782: 5a40 ldrh r0, [r0, r1]
918 784: 497c ldr r1, =0x402 ; via 0x978
919 786: 466a mov r2, sp
920 788: 5a89 ldrh r1, [r1, r2]
921 78a: 4288 cmp r0, r1
922 78c: dbe5 blt 0x75a
923 78e: 4878 ldr r0, =0x1000004 ; via 0x970
924 790: 2101 mov r1, #1
925 792: 028a lsl r2, r1, #10
926 794: 4669 mov r1, sp
927 796: 5c51 ldrb r1, [r2, r1]
928 798: 43c9 mvn r1, r1
929 79a: 7802 ldrb r2, [r0, #0]
930 79c: 1889 add r1, r1, r2
931 79e: 7001 strb r1, [r0, #0]
932 7a0: a09e add r0, pc, #632 ; 0x278
933 7a2: 2102 mov r1, #2
934 7a4: 4a62 ldr r2, =0x1000010 ; via 0x930
935 7a6: 7812 ldrb r2, [r2, #0]
936 7a8: f000 fbef bl 0xf8a
937 7ac: 486f ldr r0, =0x100000c ; via 0x96c
938 7ae: 2101 mov r1, #1
939 7b0: 7001 strb r1, [r0, #0]
940 7b2: 4873 ldr r0, =0xfffffbf4 ; via 0x980
941 7b4: 4240 neg r0, r0
942 7b6: 4485 add sp, r0
943 7b8: bd00 pop {pc}
944 7ba: 46c0 nop (mov r8, r8)
945
946 7bc: 01d80020
947
948 7c0: b500 push {lr}
949 7c2: b082 sub sp, #8
950 7c4: 4869 ldr r0, =0x100000c ; via 0x96c
951 7c6: 7800 ldrb r0, [r0, #0]
952 7c8: 2801 cmp r0, #1
953 7ca: d00f beq 0x7ec
954 7cc: a094 add r0, pc, #592 ; 0x250
955 7ce: 2102 mov r1, #2
956 7d0: 4a57 ldr r2, =0x1000010 ; via 0x930
957 7d2: 7812 ldrb r2, [r2, #0]
958 7d4: f000 fbd9 bl 0xf8a
959 7d8: 4865 ldr r0, =0x1000004 ; via 0x970
960 7da: 2101 mov r1, #1
961 7dc: 4a54 ldr r2, =0x1000010 ; via 0x930
962 7de: 7812 ldrb r2, [r2, #0]
963 7e0: f000 fbd3 bl 0xf8a
964 7e4: 4961 ldr r1, =0x100000c ; via 0x96c
965 7e6: 2000 mov r0, #0
966 7e8: 7008 strb r0, [r1, #0]
967 7ea: e02d b 0x848
968 7ec: 4669 mov r1, sp
969 7ee: 4860 ldr r0, =0x1000004 ; via 0x970
970 7f0: 7800 ldrb r0, [r0, #0]
971 7f2: 43c0 mvn r0, r0
972 7f4: 7108 strb r0, [r1, #4]
973 7f6: 4668 mov r0, sp
974 7f8: 2101 mov r1, #1
975 7fa: 4a4d ldr r2, =0x1000010 ; via 0x930
976 7fc: 7812 ldrb r2, [r2, #0]
977 7fe: f000 fc10 bl 0x1022
978 802: 4668 mov r0, sp
979 804: 7900 ldrb r0, [r0, #4]
980 806: 4669 mov r1, sp
981 808: 7809 ldrb r1, [r1, #0]
982 80a: 4288 cmp r0, r1
983 80c: d00d beq 0x82a
984 80e: a084 add r0, pc, #528 ; 0x210
985 810: 2102 mov r1, #2
986 812: 4a47 ldr r2, =0x1000010 ; via 0x930
987 814: 7812 ldrb r2, [r2, #0]
988 816: f000 fbb8 bl 0xf8a
989 81a: 4855 ldr r0, =0x1000004 ; via 0x970
990 81c: 2101 mov r1, #1
991 81e: 4a44 ldr r2, =0x1000010 ; via 0x930
992 820: 7812 ldrb r2, [r2, #0]
993 822: f000 fbb2 bl 0xf8a
994 826: 2100 mov r1, #0
995 828: e00c b 0x844
996 82a: a07e add r0, pc, #504 ; 0x1f8
997 82c: 2102 mov r1, #2
998 82e: 4a40 ldr r2, =0x1000010 ; via 0x930
999 830: 7812 ldrb r2, [r2, #0]
1000 832: f000 fbaa bl 0xf8a
1001 836: 484e ldr r0, =0x1000004 ; via 0x970
1002 838: 2101 mov r1, #1
1003 83a: 4a3d ldr r2, =0x1000010 ; via 0x930
1004 83c: 7812 ldrb r2, [r2, #0]
1005 83e: f000 fba4 bl 0xf8a
1006 842: 2102 mov r1, #2
1007 844: 4849 ldr r0, =0x100000c ; via 0x96c
1008 846: 7001 strb r1, [r0, #0]
1009 848: b002 add sp, #8
1010 84a: bd00 pop {pc}
1011
1012 84c: c000473e
1013 850: 00003030
1014
1015 854: b510 push {r4, lr}
1016 856: b082 sub sp, #8
1017 858: 4844 ldr r0, =0x100000c ; via 0x96c
1018 85a: 7800 ldrb r0, [r0, #0]
1019 85c: 2802 cmp r0, #2
1020 85e: d009 beq 0x874
1021 860: a071 add r0, pc, #452 ; 0x1c4
1022 862: 2102 mov r1, #2
1023 864: 4a32 ldr r2, =0x1000010 ; via 0x930
1024 866: 7812 ldrb r2, [r2, #0]
1025 868: f000 fb8f bl 0xf8a
1026 86c: 493f ldr r1, =0x100000c ; via 0x96c
1027 86e: 2000 mov r0, #0
1028 870: 7008 strb r0, [r1, #0]
1029 872: e02e b 0x8d2
1030 874: 4668 mov r0, sp
1031 876: 2104 mov r1, #4
1032 878: 4a2d ldr r2, =0x1000010 ; via 0x930
1033 87a: 7812 ldrb r2, [r2, #0]
1034 87c: f000 fbd1 bl 0x1022
1035 880: 4668 mov r0, sp
1036 882: 7840 ldrb r0, [r0, #1]
1037 884: 0401 lsl r1, r0, #16
1038 886: 4668 mov r0, sp
1039 888: 7800 ldrb r0, [r0, #0]
1040 88a: 0600 lsl r0, r0, #24
1041 88c: 1808 add r0, r1, r0
1042 88e: 4669 mov r1, sp
1043 890: 7889 ldrb r1, [r1, #2]
1044 892: 0209 lsl r1, r1, #8
1045 894: 1809 add r1, r1, r0
1046 896: 4668 mov r0, sp
1047 898: 78c0 ldrb r0, [r0, #3]
1048 89a: 1841 add r1, r0, r1
1049 89c: 4835 ldr r0, =0x1000008 ; via 0x974
1050 89e: 6001 str r1, [r0, #0]
1051 8a0: 4834 ldr r0, =0x1000008 ; via 0x974
1052 8a2: 6801 ldr r1, [r0, #0]
1053 8a4: 4830 ldr r0, =0x1000000 ; via 0x968
1054 8a6: 6800 ldr r0, [r0, #0]
1055 8a8: 4281 cmp r1, r0
1056 8aa: d006 beq 0x8ba
1057 8ac: a05f add r0, pc, #380 ; 0x17c
1058 8ae: 2102 mov r1, #2
1059 8b0: 4a1f ldr r2, =0x1000010 ; via 0x930
1060 8b2: 7812 ldrb r2, [r2, #0]
1061 8b4: f000 fb69 bl 0xf8a
1062 8b8: e00b b 0x8d2
1063 8ba: a05b add r0, pc, #364 ; 0x16c
1064 8bc: 2102 mov r1, #2
1065 8be: 4a1c ldr r2, =0x1000010 ; via 0x930
1066 8c0: 7812 ldrb r2, [r2, #0]
1067 8c2: f000 fb62 bl 0xf8a
1068 8c6: 482b ldr r0, =0x1000008 ; via 0x974
1069 8c8: 6800 ldr r0, [r0, #0]
1070 8ca: 9001 str r0, [sp, #4]
1071 8cc: 9c01 ldr r4, [sp, #4]
1072 8ce: f000 fd0b bl 0x12e8
1073 8d2: b002 add sp, #8
1074 8d4: bd10 pop {r4, pc}
1075 8d6: 46c0 nop (mov r8, r8)
1076
1077 8d8: c000503e
1078 8dc: c000703e
1079 8e0: 01000011
1080 8e4: 00001304
1081
1082 8e8: b500 push {lr}
1083 8ea: b081 sub sp, #4
1084 8ec: 491e ldr r1, =0x1000000 ; via 0x968
1085 8ee: 2000 mov r0, #0
1086 8f0: 6008 str r0, [r1, #0]
1087 8f2: 2100 mov r1, #0
1088 8f4: 481d ldr r0, =0x100000c ; via 0x96c
1089 8f6: 7001 strb r1, [r0, #0]
1090 8f8: 481d ldr r0, =0x1000004 ; via 0x970
1091 8fa: 7001 strb r1, [r0, #0]
1092 8fc: 481d ldr r0, =0x1000008 ; via 0x974
1093 8fe: 6001 str r1, [r0, #0]
1094 900: 4668 mov r0, sp
1095 902: 490b ldr r1, =0x1000010 ; via 0x930
1096 904: 7809 ldrb r1, [r1, #0]
1097 906: f000 fb71 bl 0xfec
1098 90a: 4668 mov r0, sp
1099 90c: 7800 ldrb r0, [r0, #0]
1100 90e: 283c cmp r0, #60 ; 0x3c
1101 910: d1f6 bne 0x900
1102 912: 4668 mov r0, sp
1103 914: 4946 ldr r1, =0x1000010 ; via 0xa30
1104 916: 7809 ldrb r1, [r1, #0]
1105 918: f000 fb68 bl 0xfec
1106 91c: e011 b 0x942
1107 91e: f7ff fdf9 bl 0x514
1108 922: e7ed b 0x900
1109 924: f7ff fe62 bl 0x5ec
1110 928: e7ea b 0x900
1111 92a: f7ff ff49 bl 0x7c0
1112 92e: e7e7 b 0x900
1113 930: 01000010
1114 934: f7ff ff8e bl 0x854
1115 938: e7e2 b 0x900
1116 93a: 480b ldr r0, =0x1000000 ; via 0x968
1117 93c: 2100 mov r1, #0
1118 93e: 6001 str r1, [r0, #0]
1119 940: e7d8 b 0x8f4
1120 942: 4668 mov r0, sp
1121 944: 7801 ldrb r1, [r0, #0]
1122 946: 2061 mov r0, #97 ; 0x61
1123 948: 1a08 sub r0, r1, r0
1124 94a: 2800 cmp r0, #0
1125 94c: d0f5 beq 0x93a
1126 94e: 3801 sub r0, #1
1127 950: 2800 cmp r0, #0
1128 952: d0ef beq 0x934
1129 954: 3801 sub r0, #1
1130 956: 2800 cmp r0, #0
1131 958: d0e7 beq 0x92a
1132 95a: 380d sub r0, #13 ; 0xd
1133 95c: 2800 cmp r0, #0
1134 95e: d0de beq 0x91e
1135 960: 3807 sub r0, #7
1136 962: 2800 cmp r0, #0
1137 964: d0de beq 0x924
1138 966: e7e8 b 0x93a
1139
1140 968: 01000000
1141 96c: 0100000c
1142 970: 01000004
1143 974: 01000008
1144 978: 00000402
1145 97c: 00000404
1146 980: fffffbf4
1147
1148 984: b510 push {r4, lr}
1149 986: b086 sub sp, #24 ; 0x18
1150 988: 482a ldr r0, =0x1ff02c8 ; via 0xa34
1151 98a: 9005 str r0, [sp, #20] ; 0x14
1152 98c: 2001 mov r0, #1
1153 98e: 0400 lsl r0, r0, #16
1154 990: 4929 ldr r1, =0x1ff0000 ; via 0xa38
1155 992: aa01 add r2, sp, #4
1156 994: 2359 mov r3, #89 ; 0x59
1157 996: 00db lsl r3, r3, #3
1158 998: f000 f9ca bl 0xd30
1159 99c: a801 add r0, sp, #4
1160 99e: 4927 ldr r1, =0x10008 ; via 0xa3c
1161 9a0: aa03 add r2, sp, #12 ; 0xc
1162 9a2: 2340 mov r3, #64 ; 0x40
1163 9a4: f000 f9c4 bl 0xd30
1164 9a8: 4668 mov r0, sp
1165 9aa: 7b01 ldrb r1, [r0, #12] ; 0xc
1166 9ac: 9805 ldr r0, [sp, #20] ; 0x14
1167 9ae: 7800 ldrb r0, [r0, #0]
1168 9b0: 4281 cmp r1, r0
1169 9b2: d130 bne 0xa16
1170 9b4: 4668 mov r0, sp
1171 9b6: 7b41 ldrb r1, [r0, #13] ; 0xd
1172 9b8: 9805 ldr r0, [sp, #20] ; 0x14
1173 9ba: 7840 ldrb r0, [r0, #1]
1174 9bc: 4281 cmp r1, r0
1175 9be: d12a bne 0xa16
1176 9c0: 4668 mov r0, sp
1177 9c2: 7b81 ldrb r1, [r0, #14] ; 0xe
1178 9c4: 9805 ldr r0, [sp, #20] ; 0x14
1179 9c6: 7880 ldrb r0, [r0, #2]
1180 9c8: 4281 cmp r1, r0
1181 9ca: d124 bne 0xa16
1182 9cc: 4668 mov r0, sp
1183 9ce: 7bc1 ldrb r1, [r0, #15] ; 0xf
1184 9d0: 9805 ldr r0, [sp, #20] ; 0x14
1185 9d2: 78c0 ldrb r0, [r0, #3]
1186 9d4: 4281 cmp r1, r0
1187 9d6: d11e bne 0xa16
1188 9d8: 4668 mov r0, sp
1189 9da: 7c00 ldrb r0, [r0, #16] ; 0x10
1190 9dc: 9905 ldr r1, [sp, #20] ; 0x14
1191 9de: 7909 ldrb r1, [r1, #4]
1192 9e0: 4288 cmp r0, r1
1193 9e2: d118 bne 0xa16
1194 9e4: 4668 mov r0, sp
1195 9e6: 7c41 ldrb r1, [r0, #17] ; 0x11
1196 9e8: 9805 ldr r0, [sp, #20] ; 0x14
1197 9ea: 7940 ldrb r0, [r0, #5]
1198 9ec: 4281 cmp r1, r0
1199 9ee: d112 bne 0xa16
1200 9f0: 4668 mov r0, sp
1201 9f2: 7c81 ldrb r1, [r0, #18] ; 0x12
1202 9f4: 9805 ldr r0, [sp, #20] ; 0x14
1203 9f6: 7980 ldrb r0, [r0, #6]
1204 9f8: 4281 cmp r1, r0
1205 9fa: d10c bne 0xa16
1206 9fc: 4668 mov r0, sp
1207 9fe: 7cc0 ldrb r0, [r0, #19] ; 0x13
1208 a00: 9905 ldr r1, [sp, #20] ; 0x14
1209 a02: 79c9 ldrb r1, [r1, #7]
1210 a04: 4288 cmp r0, r1
1211 a06: d106 bne 0xa16
1212 a08: 2001 mov r0, #1
1213 a0a: 0440 lsl r0, r0, #17
1214 a0c: 9000 str r0, [sp, #0]
1215 a0e: 9c00 ldr r4, [sp, #0]
1216 a10: f000 fc6a bl 0x12e8
1217 a14: e000 b 0xa18
1218 a16: e7fe b 0xa16
1219 a18: b006 add sp, #24 ; 0x18
1220 a1a: bd10 pop {r4, pc}
1221
1222 a1c: c000773e
1223 a20: c000433e
1224 a24: c000633e
1225 a28: c000623e
1226 a2c: c000423e
1227 a30: 01000010
1228 a34: 01ff02c8
1229 a38: 01ff0000
1230 a3c: 00010008
1231
1232 a40: b082 sub sp, #8
1233 a42: 9101 str r1, [sp, #4]
1234 a44: 9000 str r0, [sp, #0]
1235 a46: 9901 ldr r1, [sp, #4]
1236 a48: 10c8 asr r0, r1, #3
1237 a4a: 0f00 lsr r0, r0, #28
1238 a4c: 1840 add r0, r0, r1
1239 a4e: 220f mov r2, #15 ; 0xf
1240 a50: 4390 bic r0, r2
1241 a52: 1a08 sub r0, r1, r0
1242 a54: 9001 str r0, [sp, #4]
1243 a56: 2110 mov r1, #16 ; 0x10
1244 a58: 9801 ldr r0, [sp, #4]
1245 a5a: 1a08 sub r0, r1, r0
1246 a5c: 2100 mov r1, #0
1247 a5e: 43c9 mvn r1, r1
1248 a60: 4081 lsl r1, r0
1249 a62: 9800 ldr r0, [sp, #0]
1250 a64: 2200 mov r2, #0
1251 a66: 5e80 ldrsh r0, [r0, r2]
1252 a68: 4008 and r0, r1
1253 a6a: 0400 lsl r0, r0, #16
1254 a6c: 0c00 lsr r0, r0, #16
1255 a6e: 2110 mov r1, #16 ; 0x10
1256 a70: 9a01 ldr r2, [sp, #4]
1257 a72: 1a89 sub r1, r1, r2
1258 a74: 40c8 lsr r0, r1
1259 a76: 9900 ldr r1, [sp, #0]
1260 a78: 2200 mov r2, #0
1261 a7a: 5e89 ldrsh r1, [r1, r2]
1262 a7c: 9a01 ldr r2, [sp, #4]
1263 a7e: 4091 lsl r1, r2
1264 a80: 4308 orr r0, r1
1265 a82: 9900 ldr r1, [sp, #0]
1266 a84: 8008 strh r0, [r1, #0]
1267 a86: b002 add sp, #8
1268 a88: 4770 bx lr
1269
1270 a8a: b500 push {lr}
1271 a8c: b08e sub sp, #56 ; 0x38
1272 a8e: 9000 str r0, [sp, #0]
1273 a90: 48d7 ldr r0, =0x72d42a70 ; via 0xdf0
1274 a92: 9001 str r0, [sp, #4]
1275 a94: 48d7 ldr r0, =0x9836f25a ; via 0xdf4
1276 a96: 9002 str r0, [sp, #8]
1277 a98: 9800 ldr r0, [sp, #0]
1278 a9a: 7840 ldrb r0, [r0, #1]
1279 a9c: 0400 lsl r0, r0, #16
1280 a9e: 0200 lsl r0, r0, #8
1281 aa0: 0e00 lsr r0, r0, #24
1282 aa2: 0402 lsl r2, r0, #16
1283 aa4: 9800 ldr r0, [sp, #0]
1284 aa6: 7800 ldrb r0, [r0, #0]
1285 aa8: 0600 lsl r0, r0, #24
1286 aaa: 0e00 lsr r0, r0, #24
1287 aac: 0600 lsl r0, r0, #24
1288 aae: 4302 orr r2, r0
1289 ab0: 9800 ldr r0, [sp, #0]
1290 ab2: 7880 ldrb r0, [r0, #2]
1291 ab4: 0200 lsl r0, r0, #8
1292 ab6: 0400 lsl r0, r0, #16
1293 ab8: 0e00 lsr r0, r0, #24
1294 aba: 0201 lsl r1, r0, #8
1295 abc: 4311 orr r1, r2
1296 abe: 9800 ldr r0, [sp, #0]
1297 ac0: 78c0 ldrb r0, [r0, #3]
1298 ac2: 0600 lsl r0, r0, #24
1299 ac4: 0e00 lsr r0, r0, #24
1300 ac6: 4308 orr r0, r1
1301 ac8: 9003 str r0, [sp, #12] ; 0xc
1302 aca: 9800 ldr r0, [sp, #0]
1303 acc: 7940 ldrb r0, [r0, #5]
1304 ace: 0400 lsl r0, r0, #16
1305 ad0: 0200 lsl r0, r0, #8
1306 ad2: 0e00 lsr r0, r0, #24
1307 ad4: 0402 lsl r2, r0, #16
1308 ad6: 9800 ldr r0, [sp, #0]
1309 ad8: 7900 ldrb r0, [r0, #4]
1310 ada: 0600 lsl r0, r0, #24
1311 adc: 0e00 lsr r0, r0, #24
1312 ade: 0600 lsl r0, r0, #24
1313 ae0: 4302 orr r2, r0
1314 ae2: 9800 ldr r0, [sp, #0]
1315 ae4: 7980 ldrb r0, [r0, #6]
1316 ae6: 0200 lsl r0, r0, #8
1317 ae8: 0400 lsl r0, r0, #16
1318 aea: 0e00 lsr r0, r0, #24
1319 aec: 0201 lsl r1, r0, #8
1320 aee: 4311 orr r1, r2
1321 af0: 9800 ldr r0, [sp, #0]
1322 af2: 79c0 ldrb r0, [r0, #7]
1323 af4: 0600 lsl r0, r0, #24
1324 af6: 0e00 lsr r0, r0, #24
1325 af8: 4308 orr r0, r1
1326 afa: 9004 str r0, [sp, #16] ; 0x10
1327 afc: 9801 ldr r0, [sp, #4]
1328 afe: 9903 ldr r1, [sp, #12] ; 0xc
1329 b00: 4048 eor r0, r1
1330 b02: 9003 str r0, [sp, #12] ; 0xc
1331 b04: 9802 ldr r0, [sp, #8]
1332 b06: 9904 ldr r1, [sp, #16] ; 0x10
1333 b08: 4048 eor r0, r1
1334 b0a: 9004 str r0, [sp, #16] ; 0x10
1335 b0c: 9803 ldr r0, [sp, #12] ; 0xc
1336 b0e: 1700 asr r0, r0, #28
1337 b10: 0700 lsl r0, r0, #28
1338 b12: 0f00 lsr r0, r0, #28
1339 b14: 3004 add r0, #4
1340 b16: 9005 str r0, [sp, #20] ; 0x14
1341 b18: 2000 mov r0, #0
1342 b1a: 9007 str r0, [sp, #28] ; 0x1c
1343 b1c: 9907 ldr r1, [sp, #28] ; 0x1c
1344 b1e: 9805 ldr r0, [sp, #20] ; 0x14
1345 b20: 4281 cmp r1, r0
1346 b22: db00 blt 0xb26
1347 b24: e086 b 0xc34
1348 b26: 4669 mov r1, sp
1349 b28: 9803 ldr r0, [sp, #12] ; 0xc
1350 b2a: 0400 lsl r0, r0, #16
1351 b2c: 0c00 lsr r0, r0, #16
1352 b2e: 8608 strh r0, [r1, #48] ; 0x30
1353 b30: 4668 mov r0, sp
1354 b32: 9904 ldr r1, [sp, #16] ; 0x10
1355 b34: 1409 asr r1, r1, #16
1356 b36: 0409 lsl r1, r1, #16
1357 b38: 0c09 lsr r1, r1, #16
1358 b3a: 8641 strh r1, [r0, #50] ; 0x32
1359 b3c: 4669 mov r1, sp
1360 b3e: 9804 ldr r0, [sp, #16] ; 0x10
1361 b40: 0400 lsl r0, r0, #16
1362 b42: 0c00 lsr r0, r0, #16
1363 b44: 8688 strh r0, [r1, #52] ; 0x34
1364 b46: 9803 ldr r0, [sp, #12] ; 0xc
1365 b48: 1400 asr r0, r0, #16
1366 b4a: 0400 lsl r0, r0, #16
1367 b4c: 0c00 lsr r0, r0, #16
1368 b4e: 9008 str r0, [sp, #32] ; 0x20
1369 b50: 9803 ldr r0, [sp, #12] ; 0xc
1370 b52: 0600 lsl r0, r0, #24
1371 b54: 0e00 lsr r0, r0, #24
1372 b56: 9009 str r0, [sp, #36] ; 0x24
1373 b58: 9804 ldr r0, [sp, #16] ; 0x10
1374 b5a: 1400 asr r0, r0, #16
1375 b5c: 0600 lsl r0, r0, #24
1376 b5e: 0e00 lsr r0, r0, #24
1377 b60: 900a str r0, [sp, #40] ; 0x28
1378 b62: 9804 ldr r0, [sp, #16] ; 0x10
1379 b64: 0600 lsl r0, r0, #24
1380 b66: 0e00 lsr r0, r0, #24
1381 b68: 900b str r0, [sp, #44] ; 0x2c
1382 b6a: 9809 ldr r0, [sp, #36] ; 0x24
1383 b6c: 2800 cmp r0, #0
1384 b6e: d004 beq 0xb7a
1385 b70: 9808 ldr r0, [sp, #32] ; 0x20
1386 b72: 9909 ldr r1, [sp, #36] ; 0x24
1387 b74: f000 fac2 bl 0x10fc
1388 b78: e000 b 0xb7c
1389 b7a: 2000 mov r0, #0
1390 b7c: 9009 str r0, [sp, #36] ; 0x24
1391 b7e: 980a ldr r0, [sp, #40] ; 0x28
1392 b80: 2800 cmp r0, #0
1393 b82: d004 beq 0xb8e
1394 b84: 9808 ldr r0, [sp, #32] ; 0x20
1395 b86: 990a ldr r1, [sp, #40] ; 0x28
1396 b88: f000 fab8 bl 0x10fc
1397 b8c: e000 b 0xb90
1398 b8e: 2000 mov r0, #0
1399 b90: 900a str r0, [sp, #40] ; 0x28
1400 b92: 980b ldr r0, [sp, #44] ; 0x2c
1401 b94: 2800 cmp r0, #0
1402 b96: d004 beq 0xba2
1403 b98: 9808 ldr r0, [sp, #32] ; 0x20
1404 b9a: 990b ldr r1, [sp, #44] ; 0x2c
1405 b9c: f000 faae bl 0x10fc
1406 ba0: e000 b 0xba4
1407 ba2: 2000 mov r0, #0
1408 ba4: 900b str r0, [sp, #44] ; 0x2c
1409 ba6: a80c add r0, sp, #48 ; 0x30
1410 ba8: 9909 ldr r1, [sp, #36] ; 0x24
1411 baa: f7ff ff49 bl 0xa40
1412 bae: 2032 mov r0, #50 ; 0x32
1413 bb0: 4468 add r0, sp
1414 bb2: 990a ldr r1, [sp, #40] ; 0x28
1415 bb4: f7ff ff44 bl 0xa40
1416 bb8: a80d add r0, sp, #52 ; 0x34
1417 bba: 990b ldr r1, [sp, #44] ; 0x2c
1418 bbc: f7ff ff40 bl 0xa40
1419 bc0: 980c ldr r0, [sp, #48] ; 0x30
1420 bc2: 1400 asr r0, r0, #16
1421 bc4: 0400 lsl r0, r0, #16
1422 bc6: 1400 asr r0, r0, #16
1423 bc8: 990c ldr r1, [sp, #48] ; 0x30
1424 bca: 0409 lsl r1, r1, #16
1425 bcc: 1409 asr r1, r1, #16
1426 bce: 0409 lsl r1, r1, #16
1427 bd0: 1409 asr r1, r1, #16
1428 bd2: 4048 eor r0, r1
1429 bd4: 4669 mov r1, sp
1430 bd6: 8608 strh r0, [r1, #48] ; 0x30
1431 bd8: 980d ldr r0, [sp, #52] ; 0x34
1432 bda: 0400 lsl r0, r0, #16
1433 bdc: 1400 asr r0, r0, #16
1434 bde: 0400 lsl r0, r0, #16
1435 be0: 1400 asr r0, r0, #16
1436 be2: 990c ldr r1, [sp, #48] ; 0x30
1437 be4: 0409 lsl r1, r1, #16
1438 be6: 1409 asr r1, r1, #16
1439 be8: 0409 lsl r1, r1, #16
1440 bea: 1409 asr r1, r1, #16
1441 bec: 4048 eor r0, r1
1442 bee: 4669 mov r1, sp
1443 bf0: 8608 strh r0, [r1, #48] ; 0x30
1444 bf2: 9803 ldr r0, [sp, #12] ; 0xc
1445 bf4: 9006 str r0, [sp, #24] ; 0x18
1446 bf6: 980c ldr r0, [sp, #48] ; 0x30
1447 bf8: 0400 lsl r0, r0, #16
1448 bfa: 1400 asr r0, r0, #16
1449 bfc: 0400 lsl r0, r0, #16
1450 bfe: 1400 asr r0, r0, #16
1451 c00: 0400 lsl r0, r0, #16
1452 c02: 0c00 lsr r0, r0, #16
1453 c04: 9904 ldr r1, [sp, #16] ; 0x10
1454 c06: 0409 lsl r1, r1, #16
1455 c08: 0c09 lsr r1, r1, #16
1456 c0a: 0409 lsl r1, r1, #16
1457 c0c: 4308 orr r0, r1
1458 c0e: 9003 str r0, [sp, #12] ; 0xc
1459 c10: 9804 ldr r0, [sp, #16] ; 0x10
1460 c12: 0c00 lsr r0, r0, #16
1461 c14: 0400 lsl r0, r0, #16
1462 c16: 0c00 lsr r0, r0, #16
1463 c18: 9906 ldr r1, [sp, #24] ; 0x18
1464 c1a: 0409 lsl r1, r1, #16
1465 c1c: 0c09 lsr r1, r1, #16
1466 c1e: 0409 lsl r1, r1, #16
1467 c20: 4308 orr r0, r1
1468 c22: 9004 str r0, [sp, #16] ; 0x10
1469 c24: 9807 ldr r0, [sp, #28] ; 0x1c
1470 c26: 3001 add r0, #1
1471 c28: 9007 str r0, [sp, #28] ; 0x1c
1472 c2a: 9807 ldr r0, [sp, #28] ; 0x1c
1473 c2c: 9905 ldr r1, [sp, #20] ; 0x14
1474 c2e: 4288 cmp r0, r1
1475 c30: da00 bge 0xc34
1476 c32: e778 b 0xb26
1477 c34: 2000 mov r0, #0
1478 c36: 9007 str r0, [sp, #28] ; 0x1c
1479 c38: 9807 ldr r0, [sp, #28] ; 0x1c
1480 c3a: 2804 cmp r0, #4
1481 c3c: da10 bge 0xc60
1482 c3e: 9b07 ldr r3, [sp, #28] ; 0x1c
1483 c40: 9a00 ldr r2, [sp, #0]
1484 c42: 2103 mov r1, #3
1485 c44: 9807 ldr r0, [sp, #28] ; 0x1c
1486 c46: 1a08 sub r0, r1, r0
1487 c48: 00c1 lsl r1, r0, #3
1488 c4a: 9803 ldr r0, [sp, #12] ; 0xc
1489 c4c: 4108 asr r0, r1
1490 c4e: 0600 lsl r0, r0, #24
1491 c50: 0e00 lsr r0, r0, #24
1492 c52: 5498 strb r0, [r3, r2]
1493 c54: 9807 ldr r0, [sp, #28] ; 0x1c
1494 c56: 3001 add r0, #1
1495 c58: 9007 str r0, [sp, #28] ; 0x1c
1496 c5a: 9807 ldr r0, [sp, #28] ; 0x1c
1497 c5c: 2804 cmp r0, #4
1498 c5e: dbee blt 0xc3e
1499 c60: 2004 mov r0, #4
1500 c62: 9007 str r0, [sp, #28] ; 0x1c
1501 c64: 9807 ldr r0, [sp, #28] ; 0x1c
1502 c66: 2808 cmp r0, #8
1503 c68: da10 bge 0xc8c
1504 c6a: 9907 ldr r1, [sp, #28] ; 0x1c
1505 c6c: 9b00 ldr r3, [sp, #0]
1506 c6e: 2207 mov r2, #7
1507 c70: 9807 ldr r0, [sp, #28] ; 0x1c
1508 c72: 1a10 sub r0, r2, r0
1509 c74: 00c0 lsl r0, r0, #3
1510 c76: 9a04 ldr r2, [sp, #16] ; 0x10
1511 c78: 4102 asr r2, r0
1512 c7a: 0610 lsl r0, r2, #24
1513 c7c: 0e00 lsr r0, r0, #24
1514 c7e: 54c8 strb r0, [r1, r3]
1515 c80: 9807 ldr r0, [sp, #28] ; 0x1c
1516 c82: 3001 add r0, #1
1517 c84: 9007 str r0, [sp, #28] ; 0x1c
1518 c86: 9807 ldr r0, [sp, #28] ; 0x1c
1519 c88: 2808 cmp r0, #8
1520 c8a: dbee blt 0xc6a
1521 c8c: b00e add sp, #56 ; 0x38
1522 c8e: bd00 pop {pc}
1523
1524 c90: b500 push {lr}
1525 c92: b083 sub sp, #12 ; 0xc
1526 c94: 9101 str r1, [sp, #4]
1527 c96: 9000 str r0, [sp, #0]
1528 c98: 4669 mov r1, sp
1529 c9a: 2000 mov r0, #0
1530 c9c: 7208 strb r0, [r1, #8]
1531 c9e: 4668 mov r0, sp
1532 ca0: 7a00 ldrb r0, [r0, #8]
1533 ca2: 2810 cmp r0, #16 ; 0x10
1534 ca4: da3f bge 0xd26
1535 ca6: 4668 mov r0, sp
1536 ca8: 7a00 ldrb r0, [r0, #8]
1537 caa: 0fc1 lsr r1, r0, #31
1538 cac: 1808 add r0, r1, r0
1539 cae: 1042 asr r2, r0, #1
1540 cb0: 9901 ldr r1, [sp, #4]
1541 cb2: 4668 mov r0, sp
1542 cb4: 7a03 ldrb r3, [r0, #8]
1543 cb6: 9800 ldr r0, [sp, #0]
1544 cb8: 5c18 ldrb r0, [r3, r0]
1545 cba: 2839 cmp r0, #57 ; 0x39
1546 cbc: dd05 ble 0xcca
1547 cbe: 4668 mov r0, sp
1548 cc0: 7a00 ldrb r0, [r0, #8]
1549 cc2: 9b00 ldr r3, [sp, #0]
1550 cc4: 5cc0 ldrb r0, [r0, r3]
1551 cc6: 3837 sub r0, #55 ; 0x37
1552 cc8: e004 b 0xcd4
1553 cca: 4668 mov r0, sp
1554 ccc: 7a00 ldrb r0, [r0, #8]
1555 cce: 9b00 ldr r3, [sp, #0]
1556 cd0: 5cc0 ldrb r0, [r0, r3]
1557 cd2: 3830 sub r0, #48 ; 0x30
1558 cd4: 0100 lsl r0, r0, #4
1559 cd6: 5450 strb r0, [r2, r1]
1560 cd8: 4668 mov r0, sp
1561 cda: 7a00 ldrb r0, [r0, #8]
1562 cdc: 0fc1 lsr r1, r0, #31
1563 cde: 1808 add r0, r1, r0
1564 ce0: 1041 asr r1, r0, #1
1565 ce2: 9801 ldr r0, [sp, #4]
1566 ce4: 180a add r2, r1, r0
1567 ce6: 4668 mov r0, sp
1568 ce8: 7a01 ldrb r1, [r0, #8]
1569 cea: 9800 ldr r0, [sp, #0]
1570 cec: 1808 add r0, r1, r0
1571 cee: 7840 ldrb r0, [r0, #1]
1572 cf0: 2839 cmp r0, #57 ; 0x39
1573 cf2: dd06 ble 0xd02
1574 cf4: 4668 mov r0, sp
1575 cf6: 7a00 ldrb r0, [r0, #8]
1576 cf8: 9900 ldr r1, [sp, #0]
1577 cfa: 1840 add r0, r0, r1
1578 cfc: 7840 ldrb r0, [r0, #1]
1579 cfe: 3837 sub r0, #55 ; 0x37
1580 d00: e005 b 0xd0e
1581 d02: 4668 mov r0, sp
1582 d04: 7a01 ldrb r1, [r0, #8]
1583 d06: 9800 ldr r0, [sp, #0]
1584 d08: 1808 add r0, r1, r0
1585 d0a: 7840 ldrb r0, [r0, #1]
1586 d0c: 3830 sub r0, #48 ; 0x30
1587 d0e: 7811 ldrb r1, [r2, #0]
1588 d10: 1840 add r0, r0, r1
1589 d12: 7010 strb r0, [r2, #0]
1590 d14: 4669 mov r1, sp
1591 d16: 4668 mov r0, sp
1592 d18: 7a00 ldrb r0, [r0, #8]
1593 d1a: 3002 add r0, #2
1594 d1c: 7208 strb r0, [r1, #8]
1595 d1e: 4668 mov r0, sp
1596 d20: 7a00 ldrb r0, [r0, #8]
1597 d22: 2810 cmp r0, #16 ; 0x10
1598 d24: dbbf blt 0xca6
1599 d26: 9801 ldr r0, [sp, #4]
1600 d28: f7ff feaf bl 0xa8a
1601 d2c: b003 add sp, #12 ; 0xc
1602 d2e: bd00 pop {pc}
1603
1604 d30: b500 push {lr}
1605 d32: b089 sub sp, #36 ; 0x24
1606 d34: 9303 str r3, [sp, #12] ; 0xc
1607 d36: 9202 str r2, [sp, #8]
1608 d38: 9101 str r1, [sp, #4]
1609 d3a: 9000 str r0, [sp, #0]
1610 d3c: 9803 ldr r0, [sp, #12] ; 0xc
1611 d3e: 2800 cmp r0, #0
1612 d40: dd53 ble 0xdea
1613 d42: 9803 ldr r0, [sp, #12] ; 0xc
1614 d44: 9006 str r0, [sp, #24] ; 0x18
1615 d46: 2000 mov r0, #0
1616 d48: 9004 str r0, [sp, #16] ; 0x10
1617 d4a: 9804 ldr r0, [sp, #16] ; 0x10
1618 d4c: 2808 cmp r0, #8
1619 d4e: da0b bge 0xd68
1620 d50: 9904 ldr r1, [sp, #16] ; 0x10
1621 d52: 9800 ldr r0, [sp, #0]
1622 d54: 5c09 ldrb r1, [r1, r0]
1623 d56: 9804 ldr r0, [sp, #16] ; 0x10
1624 d58: aa07 add r2, sp, #28 ; 0x1c
1625 d5a: 5411 strb r1, [r2, r0]
1626 d5c: 9804 ldr r0, [sp, #16] ; 0x10
1627 d5e: 3001 add r0, #1
1628 d60: 9004 str r0, [sp, #16] ; 0x10
1629 d62: 9804 ldr r0, [sp, #16] ; 0x10
1630 d64: 2808 cmp r0, #8
1631 d66: dbf3 blt 0xd50
1632 d68: 9806 ldr r0, [sp, #24] ; 0x18
1633 d6a: 2800 cmp r0, #0
1634 d6c: dd2c ble 0xdc8
1635 d6e: 9806 ldr r0, [sp, #24] ; 0x18
1636 d70: 2808 cmp r0, #8
1637 d72: da01 bge 0xd78
1638 d74: 9806 ldr r0, [sp, #24] ; 0x18
1639 d76: e000 b 0xd7a
1640 d78: 2008 mov r0, #8
1641 d7a: 9005 str r0, [sp, #20] ; 0x14
1642 d7c: 2000 mov r0, #0
1643 d7e: 9004 str r0, [sp, #16] ; 0x10
1644 d80: 9804 ldr r0, [sp, #16] ; 0x10
1645 d82: 2808 cmp r0, #8
1646 d84: da17 bge 0xdb6
1647 d86: 9904 ldr r1, [sp, #16] ; 0x10
1648 d88: 9805 ldr r0, [sp, #20] ; 0x14
1649 d8a: 4281 cmp r1, r0
1650 d8c: da0d bge 0xdaa
1651 d8e: 9803 ldr r0, [sp, #12] ; 0xc
1652 d90: 9901 ldr r1, [sp, #4]
1653 d92: 1840 add r0, r0, r1
1654 d94: 9906 ldr r1, [sp, #24] ; 0x18
1655 d96: 1a40 sub r0, r0, r1
1656 d98: 9904 ldr r1, [sp, #16] ; 0x10
1657 d9a: 5c09 ldrb r1, [r1, r0]
1658 d9c: 9804 ldr r0, [sp, #16] ; 0x10
1659 d9e: aa07 add r2, sp, #28 ; 0x1c
1660 da0: 5c10 ldrb r0, [r2, r0]
1661 da2: 4048 eor r0, r1
1662 da4: 9904 ldr r1, [sp, #16] ; 0x10
1663 da6: aa07 add r2, sp, #28 ; 0x1c
1664 da8: 5450 strb r0, [r2, r1]
1665 daa: 9804 ldr r0, [sp, #16] ; 0x10
1666 dac: 3001 add r0, #1
1667 dae: 9004 str r0, [sp, #16] ; 0x10
1668 db0: 9804 ldr r0, [sp, #16] ; 0x10
1669 db2: 2808 cmp r0, #8
1670 db4: dbe7 blt 0xd86
1671 db6: a807 add r0, sp, #28 ; 0x1c
1672 db8: f7ff fe67 bl 0xa8a
1673 dbc: 9806 ldr r0, [sp, #24] ; 0x18
1674 dbe: 3808 sub r0, #8
1675 dc0: 9006 str r0, [sp, #24] ; 0x18
1676 dc2: 9806 ldr r0, [sp, #24] ; 0x18
1677 dc4: 2800 cmp r0, #0
1678 dc6: dcd2 bgt 0xd6e
1679 dc8: 2000 mov r0, #0
1680 dca: 9004 str r0, [sp, #16] ; 0x10
1681 dcc: 9804 ldr r0, [sp, #16] ; 0x10
1682 dce: 2808 cmp r0, #8
1683 dd0: da0b bge 0xdea
1684 dd2: 9804 ldr r0, [sp, #16] ; 0x10
1685 dd4: 9a02 ldr r2, [sp, #8]
1686 dd6: 9b04 ldr r3, [sp, #16] ; 0x10
1687 dd8: a907 add r1, sp, #28 ; 0x1c
1688 dda: 5cc9 ldrb r1, [r1, r3]
1689 ddc: 5481 strb r1, [r0, r2]
1690 dde: 9804 ldr r0, [sp, #16] ; 0x10
1691 de0: 3001 add r0, #1
1692 de2: 9004 str r0, [sp, #16] ; 0x10
1693 de4: 9804 ldr r0, [sp, #16] ; 0x10
1694 de6: 2808 cmp r0, #8
1695 de8: dbf3 blt 0xdd2
1696 dea: b009 add sp, #36 ; 0x24
1697 dec: bd00 pop {pc}
1698 dee: 46c0 nop (mov r8, r8)
1699
1700 df0: 72d42a70
1701 df4: 9836f25a
1702
1703 df8: b082 sub sp, #8
1704 dfa: 4669 mov r1, sp
1705 dfc: 7008 strb r0, [r1, #0]
1706 dfe: 2000 mov r0, #0
1707 e00: 8088 strh r0, [r1, #4]
1708 e02: 4668 mov r0, sp
1709 e04: 8881 ldrh r1, [r0, #4]
1710 e06: 20ff mov r0, #255 ; 0xff
1711 e08: 30f5 add r0, #245 ; 0xf5
1712 e0a: 4281 cmp r1, r0
1713 e0c: da21 bge 0xe52
1714 e0e: 4669 mov r1, sp
1715 e10: 4668 mov r0, sp
1716 e12: 8880 ldrh r0, [r0, #4]
1717 e14: 3001 add r0, #1
1718 e16: 8088 strh r0, [r1, #4]
1719 e18: 48b4 ldr r0, =0x12fc ; via 0x10ec
1720 e1a: 7809 ldrb r1, [r1, #0]
1721 e1c: 0089 lsl r1, r1, #2
1722 e1e: 5840 ldr r0, [r0, r1]
1723 e20: 7940 ldrb r0, [r0, #5]
1724 e22: 4669 mov r1, sp
1725 e24: 7048 strb r0, [r1, #1]
1726 e26: 4668 mov r0, sp
1727 e28: 7840 ldrb r0, [r0, #1]
1728 e2a: 0840 lsr r0, r0, #1
1729 e2c: d30b bcc 0xe46
1730 e2e: 49af ldr r1, =0x12fc ; via 0x10ec
1731 e30: 4668 mov r0, sp
1732 e32: 7800 ldrb r0, [r0, #0]
1733 e34: 0080 lsl r0, r0, #2
1734 e36: 5808 ldr r0, [r1, r0]
1735 e38: 7800 ldrb r0, [r0, #0]
1736 e3a: 0600 lsl r0, r0, #24
1737 e3c: 0e00 lsr r0, r0, #24
1738 e3e: 4669 mov r1, sp
1739 e40: 7088 strb r0, [r1, #2]
1740 e42: 2000 mov r0, #0
1741 e44: 8088 strh r0, [r1, #4]
1742 e46: 4668 mov r0, sp
1743 e48: 8881 ldrh r1, [r0, #4]
1744 e4a: 20ff mov r0, #255 ; 0xff
1745 e4c: 30f5 add r0, #245 ; 0xf5
1746 e4e: 4281 cmp r1, r0
1747 e50: dbdd blt 0xe0e
1748 e52: b002 add sp, #8
1749 e54: 4770 bx lr
1750
1751 e56: b081 sub sp, #4
1752 e58: 49a5 ldr r1, =0x1000010 ; via 0x10f0
1753 e5a: 2000 mov r0, #0
1754 e5c: 7008 strb r0, [r1, #0]
1755 e5e: 49a3 ldr r1, =0x12fc ; via 0x10ec
1756 e60: 48a3 ldr r0, =0x1000010 ; via 0x10f0
1757 e62: 7800 ldrb r0, [r0, #0]
1758 e64: 0080 lsl r0, r0, #2
1759 e66: 5808 ldr r0, [r1, r0]
1760 e68: 9000 str r0, [sp, #0]
1761 e6a: 49a2 ldr r1, =0x1000011 ; via 0x10f4
1762 e6c: 2054 mov r0, #84 ; 0x54
1763 e6e: 7008 strb r0, [r1, #0]
1764 e70: 49a1 ldr r1, =0xffff6000 ; via 0x10f8
1765 e72: 2002 mov r0, #2
1766 e74: 880a ldrh r2, [r1, #0]
1767 e76: 4310 orr r0, r2
1768 e78: 8008 strh r0, [r1, #0]
1769 e7a: 489f ldr r0, =0xffff6000 ; via 0x10f8
1770 e7c: 8801 ldrh r1, [r0, #0]
1771 e7e: 0849 lsr r1, r1, #1
1772 e80: 0049 lsl r1, r1, #1
1773 e82: 8001 strh r1, [r0, #0]
1774 e84: 499c ldr r1, =0xffff6000 ; via 0x10f8
1775 e86: 8808 ldrh r0, [r1, #0]
1776 e88: 2202 mov r2, #2
1777 e8a: 4390 bic r0, r2
1778 e8c: 8008 strh r0, [r1, #0]
1779 e8e: 9800 ldr r0, [sp, #0]
1780 e90: 2107 mov r1, #7
1781 e92: 7201 strb r1, [r0, #8]
1782 e94: 9800 ldr r0, [sp, #0]
1783 e96: 7a00 ldrb r0, [r0, #8]
1784 e98: 2807 cmp r0, #7
1785 e9a: d1fb bne 0xe94
1786 e9c: 9900 ldr r1, [sp, #0]
1787 e9e: 20bf mov r0, #191 ; 0xbf
1788 ea0: 70c8 strb r0, [r1, #3]
1789 ea2: 9800 ldr r0, [sp, #0]
1790 ea4: 2110 mov r1, #16 ; 0x10
1791 ea6: 7081 strb r1, [r0, #2]
1792 ea8: 9800 ldr r0, [sp, #0]
1793 eaa: 2140 mov r1, #64 ; 0x40
1794 eac: 7101 strb r1, [r0, #4]
1795 eae: 9800 ldr r0, [sp, #0]
1796 eb0: 2100 mov r1, #0
1797 eb2: 71c1 strb r1, [r0, #7]
1798 eb4: 9800 ldr r0, [sp, #0]
1799 eb6: 70c1 strb r1, [r0, #3]
1800 eb8: 9800 ldr r0, [sp, #0]
1801 eba: 2187 mov r1, #135 ; 0x87
1802 ebc: 7081 strb r1, [r0, #2]
1803 ebe: 9800 ldr r0, [sp, #0]
1804 ec0: 2180 mov r1, #128 ; 0x80
1805 ec2: 70c1 strb r1, [r0, #3]
1806 ec4: 9800 ldr r0, [sp, #0]
1807 ec6: 498b ldr r1, =0x1000011 ; via 0x10f4
1808 ec8: 7809 ldrb r1, [r1, #0]
1809 eca: 7001 strb r1, [r0, #0]
1810 ecc: 9900 ldr r1, [sp, #0]
1811 ece: 2000 mov r0, #0
1812 ed0: 7048 strb r0, [r1, #1]
1813 ed2: 9900 ldr r1, [sp, #0]
1814 ed4: 2003 mov r0, #3
1815 ed6: 70c8 strb r0, [r1, #3]
1816 ed8: 9900 ldr r1, [sp, #0]
1817 eda: 2000 mov r0, #0
1818 edc: 7208 strb r0, [r1, #8]
1819 ede: b001 add sp, #4
1820 ee0: 4770 bx lr
1821
1822 ee2: b081 sub sp, #4
1823 ee4: 4669 mov r1, sp
1824 ee6: 7008 strb r0, [r1, #0]
1825 ee8: 4980 ldr r1, =0x12fc ; via 0x10ec
1826 eea: 4668 mov r0, sp
1827 eec: 7800 ldrb r0, [r0, #0]
1828 eee: 0080 lsl r0, r0, #2
1829 ef0: 5808 ldr r0, [r1, r0]
1830 ef2: 2107 mov r1, #7
1831 ef4: 7201 strb r1, [r0, #8]
1832 ef6: 487d ldr r0, =0x12fc ; via 0x10ec
1833 ef8: 4669 mov r1, sp
1834 efa: 7809 ldrb r1, [r1, #0]
1835 efc: 0089 lsl r1, r1, #2
1836 efe: 5840 ldr r0, [r0, r1]
1837 f00: 7a00 ldrb r0, [r0, #8]
1838 f02: 2807 cmp r0, #7
1839 f04: d1f7 bne 0xef6
1840 f06: 4979 ldr r1, =0x12fc ; via 0x10ec
1841 f08: 4668 mov r0, sp
1842 f0a: 7800 ldrb r0, [r0, #0]
1843 f0c: 0080 lsl r0, r0, #2
1844 f0e: 5808 ldr r0, [r1, r0]
1845 f10: 2180 mov r1, #128 ; 0x80
1846 f12: 70c1 strb r1, [r0, #3]
1847 f14: 4875 ldr r0, =0x12fc ; via 0x10ec
1848 f16: 4669 mov r1, sp
1849 f18: 7809 ldrb r1, [r1, #0]
1850 f1a: 0089 lsl r1, r1, #2
1851 f1c: 5840 ldr r0, [r0, r1]
1852 f1e: 4975 ldr r1, =0x1000011 ; via 0x10f4
1853 f20: 7809 ldrb r1, [r1, #0]
1854 f22: 7001 strb r1, [r0, #0]
1855 f24: 4871 ldr r0, =0x12fc ; via 0x10ec
1856 f26: 4669 mov r1, sp
1857 f28: 7809 ldrb r1, [r1, #0]
1858 f2a: 0089 lsl r1, r1, #2
1859 f2c: 5840 ldr r0, [r0, r1]
1860 f2e: 2100 mov r1, #0
1861 f30: 7041 strb r1, [r0, #1]
1862 f32: 486e ldr r0, =0x12fc ; via 0x10ec
1863 f34: 4669 mov r1, sp
1864 f36: 7809 ldrb r1, [r1, #0]
1865 f38: 0089 lsl r1, r1, #2
1866 f3a: 5840 ldr r0, [r0, r1]
1867 f3c: 2103 mov r1, #3
1868 f3e: 70c1 strb r1, [r0, #3]
1869 f40: 486a ldr r0, =0x12fc ; via 0x10ec
1870 f42: 4669 mov r1, sp
1871 f44: 7809 ldrb r1, [r1, #0]
1872 f46: 0089 lsl r1, r1, #2
1873 f48: 5840 ldr r0, [r0, r1]
1874 f4a: 2100 mov r1, #0
1875 f4c: 7201 strb r1, [r0, #8]
1876 f4e: b001 add sp, #4
1877 f50: 4770 bx lr
1878
1879 f52: b081 sub sp, #4
1880 f54: 4669 mov r1, sp
1881 f56: 7008 strb r0, [r1, #0]
1882 f58: 4964 ldr r1, =0x12fc ; via 0x10ec
1883 f5a: 4668 mov r0, sp
1884 f5c: 7800 ldrb r0, [r0, #0]
1885 f5e: 0080 lsl r0, r0, #2
1886 f60: 5808 ldr r0, [r1, r0]
1887 f62: 7941 ldrb r1, [r0, #5]
1888 f64: 4668 mov r0, sp
1889 f66: 7041 strb r1, [r0, #1]
1890 f68: 7840 ldrb r0, [r0, #1]
1891 f6a: 09c0 lsr r0, r0, #7
1892 f6c: d20b bcs 0xf86
1893 f6e: 485f ldr r0, =0x12fc ; via 0x10ec
1894 f70: 4669 mov r1, sp
1895 f72: 7809 ldrb r1, [r1, #0]
1896 f74: 0089 lsl r1, r1, #2
1897 f76: 5840 ldr r0, [r0, r1]
1898 f78: 7940 ldrb r0, [r0, #5]
1899 f7a: 4669 mov r1, sp
1900 f7c: 7048 strb r0, [r1, #1]
1901 f7e: 4668 mov r0, sp
1902 f80: 7840 ldrb r0, [r0, #1]
1903 f82: 09c0 lsr r0, r0, #7
1904 f84: d3f3 bcc 0xf6e
1905 f86: b001 add sp, #4
1906 f88: 4770 bx lr
1907
1908 f8a: b085 sub sp, #20 ; 0x14
1909 f8c: 466b mov r3, sp
1910 f8e: 719a strb r2, [r3, #6]
1911 f90: 466a mov r2, sp
1912 f92: 8091 strh r1, [r2, #4]
1913 f94: 9000 str r0, [sp, #0]
1914 f96: 9800 ldr r0, [sp, #0]
1915 f98: 9002 str r0, [sp, #8]
1916 f9a: 4669 mov r1, sp
1917 f9c: 4668 mov r0, sp
1918 f9e: 8880 ldrh r0, [r0, #4]
1919 fa0: 8208 strh r0, [r1, #16] ; 0x10
1920 fa2: 4668 mov r0, sp
1921 fa4: 8a00 ldrh r0, [r0, #16] ; 0x10
1922 fa6: 2800 cmp r0, #0
1923 fa8: d01e beq 0xfe8
1924 faa: 4950 ldr r1, =0x12fc ; via 0x10ec
1925 fac: 4668 mov r0, sp
1926 fae: 7980 ldrb r0, [r0, #6]
1927 fb0: 0080 lsl r0, r0, #2
1928 fb2: 5808 ldr r0, [r1, r0]
1929 fb4: 7941 ldrb r1, [r0, #5]
1930 fb6: 4668 mov r0, sp
1931 fb8: 7301 strb r1, [r0, #12] ; 0xc
1932 fba: 7b00 ldrb r0, [r0, #12] ; 0xc
1933 fbc: 0980 lsr r0, r0, #6
1934 fbe: d3f4 bcc 0xfaa
1935 fc0: 494a ldr r1, =0x12fc ; via 0x10ec
1936 fc2: 4668 mov r0, sp
1937 fc4: 7980 ldrb r0, [r0, #6]
1938 fc6: 0080 lsl r0, r0, #2
1939 fc8: 5809 ldr r1, [r1, r0]
1940 fca: 9802 ldr r0, [sp, #8]
1941 fcc: 7800 ldrb r0, [r0, #0]
1942 fce: 7008 strb r0, [r1, #0]
1943 fd0: 9802 ldr r0, [sp, #8]
1944 fd2: 3001 add r0, #1
1945 fd4: 9002 str r0, [sp, #8]
1946 fd6: 4669 mov r1, sp
1947 fd8: 4668 mov r0, sp
1948 fda: 8a00 ldrh r0, [r0, #16] ; 0x10
1949 fdc: 3801 sub r0, #1
1950 fde: 8208 strh r0, [r1, #16] ; 0x10
1951 fe0: 4668 mov r0, sp
1952 fe2: 8a00 ldrh r0, [r0, #16] ; 0x10
1953 fe4: 2800 cmp r0, #0
1954 fe6: d1e0 bne 0xfaa
1955 fe8: b005 add sp, #20 ; 0x14
1956 fea: 4770 bx lr
1957
1958 fec: b082 sub sp, #8
1959 fee: 466a mov r2, sp
1960 ff0: 7111 strb r1, [r2, #4]
1961 ff2: 9000 str r0, [sp, #0]
1962 ff4: 483d ldr r0, =0x12fc ; via 0x10ec
1963 ff6: 4669 mov r1, sp
1964 ff8: 7909 ldrb r1, [r1, #4]
1965 ffa: 0089 lsl r1, r1, #2
1966 ffc: 5840 ldr r0, [r0, r1]
1967 ffe: 7940 ldrb r0, [r0, #5]
1968 1000: 4669 mov r1, sp
1969 1002: 7148 strb r0, [r1, #5]
1970 1004: 4668 mov r0, sp
1971 1006: 7940 ldrb r0, [r0, #5]
1972 1008: 0840 lsr r0, r0, #1
1973 100a: d3f3 bcc 0xff4
1974 100c: 4837 ldr r0, =0x12fc ; via 0x10ec
1975 100e: 7909 ldrb r1, [r1, #4]
1976 1010: 0089 lsl r1, r1, #2
1977 1012: 5840 ldr r0, [r0, r1]
1978 1014: 7800 ldrb r0, [r0, #0]
1979 1016: 0600 lsl r0, r0, #24
1980 1018: 0e00 lsr r0, r0, #24
1981 101a: 9900 ldr r1, [sp, #0]
1982 101c: 7008 strb r0, [r1, #0]
1983 101e: b002 add sp, #8
1984 1020: 4770 bx lr
1985
1986 1022: b083 sub sp, #12 ; 0xc
1987 1024: 466b mov r3, sp
1988 1026: 719a strb r2, [r3, #6]
1989 1028: 466a mov r2, sp
1990 102a: 8091 strh r1, [r2, #4]
1991 102c: 9000 str r0, [sp, #0]
1992 102e: 4669 mov r1, sp
1993 1030: 4668 mov r0, sp
1994 1032: 8880 ldrh r0, [r0, #4]
1995 1034: 8108 strh r0, [r1, #8]
1996 1036: 4668 mov r0, sp
1997 1038: 8900 ldrh r0, [r0, #8]
1998 103a: 2800 cmp r0, #0
1999 103c: dd24 ble 0x1088
2000 103e: 482b ldr r0, =0x12fc ; via 0x10ec
2001 1040: 4669 mov r1, sp
2002 1042: 7989 ldrb r1, [r1, #6]
2003 1044: 0089 lsl r1, r1, #2
2004 1046: 5840 ldr r0, [r0, r1]
2005 1048: 7940 ldrb r0, [r0, #5]
2006 104a: 4669 mov r1, sp
2007 104c: 71c8 strb r0, [r1, #7]
2008 104e: 4668 mov r0, sp
2009 1050: 79c0 ldrb r0, [r0, #7]
2010 1052: 0840 lsr r0, r0, #1
2011 1054: d3f3 bcc 0x103e
2012 1056: 4668 mov r0, sp
2013 1058: 8881 ldrh r1, [r0, #4]
2014 105a: 9800 ldr r0, [sp, #0]
2015 105c: 1809 add r1, r1, r0
2016 105e: 4668 mov r0, sp
2017 1060: 8900 ldrh r0, [r0, #8]
2018 1062: 1a0a sub r2, r1, r0
2019 1064: 4821 ldr r0, =0x12fc ; via 0x10ec
2020 1066: 4669 mov r1, sp
2021 1068: 7989 ldrb r1, [r1, #6]
2022 106a: 0089 lsl r1, r1, #2
2023 106c: 5840 ldr r0, [r0, r1]
2024 106e: 7800 ldrb r0, [r0, #0]
2025 1070: 0600 lsl r0, r0, #24
2026 1072: 0e00 lsr r0, r0, #24
2027 1074: 7010 strb r0, [r2, #0]
2028 1076: 4669 mov r1, sp
2029 1078: 4668 mov r0, sp
2030 107a: 8900 ldrh r0, [r0, #8]
2031 107c: 3801 sub r0, #1
2032 107e: 8108 strh r0, [r1, #8]
2033 1080: 4668 mov r0, sp
2034 1082: 8900 ldrh r0, [r0, #8]
2035 1084: 2800 cmp r0, #0
2036 1086: dcda bgt 0x103e
2037 1088: b003 add sp, #12 ; 0xc
2038 108a: 4770 bx lr
2039
2040 108c: b082 sub sp, #8
2041 108e: 466a mov r2, sp
2042 1090: 7111 strb r1, [r2, #4]
2043 1092: 9000 str r0, [sp, #0]
2044 1094: 4669 mov r1, sp
2045 1096: 2000 mov r0, #0
2046 1098: 80c8 strh r0, [r1, #6]
2047 109a: 4668 mov r0, sp
2048 109c: 88c1 ldrh r1, [r0, #6]
2049 109e: 20ff mov r0, #255 ; 0xff
2050 10a0: 30f5 add r0, #245 ; 0xf5
2051 10a2: 4281 cmp r1, r0
2052 10a4: da1f bge 0x10e6
2053 10a6: 4669 mov r1, sp
2054 10a8: 4668 mov r0, sp
2055 10aa: 88c0 ldrh r0, [r0, #6]
2056 10ac: 3001 add r0, #1
2057 10ae: 80c8 strh r0, [r1, #6]
2058 10b0: 490e ldr r1, =0x12fc ; via 0x10ec
2059 10b2: 4668 mov r0, sp
2060 10b4: 7900 ldrb r0, [r0, #4]
2061 10b6: 0080 lsl r0, r0, #2
2062 10b8: 5808 ldr r0, [r1, r0]
2063 10ba: 7941 ldrb r1, [r0, #5]
2064 10bc: 4668 mov r0, sp
2065 10be: 7141 strb r1, [r0, #5]
2066 10c0: 7940 ldrb r0, [r0, #5]
2067 10c2: 0840 lsr r0, r0, #1
2068 10c4: d309 bcc 0x10da
2069 10c6: 4809 ldr r0, =0x12fc ; via 0x10ec
2070 10c8: 4669 mov r1, sp
2071 10ca: 7909 ldrb r1, [r1, #4]
2072 10cc: 0089 lsl r1, r1, #2
2073 10ce: 5840 ldr r0, [r0, r1]
2074 10d0: 7800 ldrb r0, [r0, #0]
2075 10d2: 0600 lsl r0, r0, #24
2076 10d4: 0e01 lsr r1, r0, #24
2077 10d6: 9800 ldr r0, [sp, #0]
2078 10d8: 7001 strb r1, [r0, #0]
2079 10da: 4668 mov r0, sp
2080 10dc: 88c1 ldrh r1, [r0, #6]
2081 10de: 20ff mov r0, #255 ; 0xff
2082 10e0: 30f5 add r0, #245 ; 0xf5
2083 10e2: 4281 cmp r1, r0
2084 10e4: dbdf blt 0x10a6
2085 10e6: b002 add sp, #8
2086 10e8: 4770 bx lr
2087 10ea: 46c0 nop (mov r8, r8)
2088
2089 10ec: 000012fc
2090 10f0: 01000010
2091 10f4: 01000011
2092 10f8: ffff6000
2093
2094 10fc: b43c push {r2, r3, r4, r5}
2095 10fe: 17cc asr r4, r1, #31
2096 1100: 4061 eor r1, r4
2097 1102: 1b09 sub r1, r1, r4
2098 1104: d050 beq 0x11a8
2099 1106: 17c2 asr r2, r0, #31
2100 1108: 4050 eor r0, r2
2101 110a: 1a80 sub r0, r0, r2
2102 110c: 0864 lsr r4, r4, #1
2103 110e: 4054 eor r4, r2
2104 1110: 1c0a add r2, r1, #0
2105 1112: 0c05 lsr r5, r0, #16
2106 1114: 42aa cmp r2, r5
2107 1116: d800 bhi 0x111a
2108 1118: 0412 lsl r2, r2, #16
2109 111a: 0a05 lsr r5, r0, #8
2110 111c: 42aa cmp r2, r5
2111 111e: d800 bhi 0x1122
2112 1120: 0212 lsl r2, r2, #8
2113 1122: 1c03 add r3, r0, #0
2114 1124: a51b add r5, pc, #108 ; 0x6c
2115 1126: 085b lsr r3, r3, #1
2116 1128: 3d0c sub r5, #12 ; 0xc
2117 112a: 429a cmp r2, r3
2118 112c: d9fb bls 0x1126
2119 112e: 2300 mov r3, #0
2120 1130: 46af mov pc, r5
2121 1132: 0a12 lsr r2, r2, #8
2122 1134: 01d5 lsl r5, r2, #7
2123 1136: 42a8 cmp r0, r5
2124 1138: 415b adc r3, r3
2125 113a: 42a8 cmp r0, r5
2126 113c: d300 bcc 0x1140
2127 113e: 1b40 sub r0, r0, r5
2128 1140: 0195 lsl r5, r2, #6
2129 1142: 42a8 cmp r0, r5
2130 1144: 415b adc r3, r3
2131 1146: 42a8 cmp r0, r5
2132 1148: d300 bcc 0x114c
2133 114a: 1b40 sub r0, r0, r5
2134 114c: 0155 lsl r5, r2, #5
2135 114e: 42a8 cmp r0, r5
2136 1150: 415b adc r3, r3
2137 1152: 42a8 cmp r0, r5
2138 1154: d300 bcc 0x1158
2139 1156: 1b40 sub r0, r0, r5
2140 1158: 0115 lsl r5, r2, #4
2141 115a: 42a8 cmp r0, r5
2142 115c: 415b adc r3, r3
2143 115e: 42a8 cmp r0, r5
2144 1160: d300 bcc 0x1164
2145 1162: 1b40 sub r0, r0, r5
2146 1164: 00d5 lsl r5, r2, #3
2147 1166: 42a8 cmp r0, r5
2148 1168: 415b adc r3, r3
2149 116a: 42a8 cmp r0, r5
2150 116c: d300 bcc 0x1170
2151 116e: 1b40 sub r0, r0, r5
2152 1170: 0095 lsl r5, r2, #2
2153 1172: 42a8 cmp r0, r5
2154 1174: 415b adc r3, r3
2155 1176: 42a8 cmp r0, r5
2156 1178: d300 bcc 0x117c
2157 117a: 1b40 sub r0, r0, r5
2158 117c: 0055 lsl r5, r2, #1
2159 117e: 42a8 cmp r0, r5
2160 1180: 415b adc r3, r3
2161 1182: 42a8 cmp r0, r5
2162 1184: d300 bcc 0x1188
2163 1186: 1b40 sub r0, r0, r5
2164 1188: 4290 cmp r0, r2
2165 118a: 415b adc r3, r3
2166 118c: 4290 cmp r0, r2
2167 118e: d300 bcc 0x1192
2168 1190: 1a80 sub r0, r0, r2
2169 1192: 4291 cmp r1, r2
2170 1194: d3cd bcc 0x1132
2171 1196: 17e5 asr r5, r4, #31
2172 1198: 4068 eor r0, r5
2173 119a: 1b40 sub r0, r0, r5
2174 119c: 0064 lsl r4, r4, #1
2175 119e: 17e4 asr r4, r4, #31
2176 11a0: 4063 eor r3, r4
2177 11a2: 1b19 sub r1, r3, r4
2178 11a4: bc3c pop {r2, r3, r4, r5}
2179 11a6: 46f7 mov pc, lr
2180 11a8: 2000 mov r0, #0
2181 11aa: bc3c pop {r2, r3, r4, r5}
2182 11ac: 46f7 mov pc, lr
2183
2184 11ae: 0000 lsl r0, r0, #0
2185 11b0: 4918 ldr r1, =0xfffffa08 ; via 0x1214
2186 11b2: 4819 ldr r0, =0xffff ; via 0x1218
2187 11b4: 8008 strh r0, [r1, #0]
2188 11b6: 4819 ldr r0, =0xfffffa0a ; via 0x121c
2189 11b8: 211f mov r1, #31 ; 0x1f
2190 11ba: 8001 strh r1, [r0, #0]
2191 11bc: 4818 ldr r0, =0xfffff804 ; via 0x1220
2192 11be: 21f5 mov r1, #245 ; 0xf5
2193 11c0: 8001 strh r1, [r0, #0]
2194 11c2: 21a0 mov r1, #160 ; 0xa0
2195 11c4: 8001 strh r1, [r0, #0]
2196 11c6: 4817 ldr r0, =0xffff9800 ; via 0x1224
2197 11c8: 4917 ldr r1, =0x2002 ; via 0x1228
2198 11ca: 8001 strh r1, [r0, #0]
2199 11cc: 4815 ldr r0, =0xffff9800 ; via 0x1224
2200 11ce: 8800 ldrh r0, [r0, #0]
2201 11d0: 0840 lsr r0, r0, #1
2202 11d2: d2fb bcs 0x11cc
2203 11d4: 4915 ldr r1, =0xfffffd00 ; via 0x122c
2204 11d6: 4816 ldr r0, =0x1001 ; via 0x1230
2205 11d8: 8008 strh r0, [r1, #0]
2206 11da: 4916 ldr r1, =0xfffffd02 ; via 0x1234
2207 11dc: 2080 mov r0, #128 ; 0x80
2208 11de: 8008 strh r0, [r1, #0]
2209 11e0: 4915 ldr r1, =0xfffef006 ; via 0x1238
2210 11e2: 2008 mov r0, #8
2211 11e4: 880a ldrh r2, [r1, #0]
2212 11e6: 4310 orr r0, r2
2213 11e8: 8008 strh r0, [r1, #0]
2214 11ea: 46f7 mov pc, lr
2215
2216 11ec: b500 push {lr}
2217 11ee: f7ff ffdf bl 0x11b0
2218 11f2: f7ff fe30 bl 0xe56
2219 11f6: bd00 pop {pc}
2220
2221 11f8: b500 push {lr}
2222 11fa: f7fe ffc4 bl 0x186
2223 11fe: 2801 cmp r0, #1
2224 1200: d104 bne 0x120c
2225 1202: f7ff f8a2 bl 0x34a
2226 1206: f7ff fb6f bl 0x8e8
2227 120a: bd00 pop {pc}
2228 120c: f7ff fbba bl 0x984
2229 1210: bd00 pop {pc}
2230 1212: 46c0 nop (mov r8, r8)
2231
2232 1214: fffffa08
2233 1218: 0000ffff
2234 121c: fffffa0a
2235 1220: fffff804
2236 1224: ffff9800
2237 1228: 00002002
2238 122c: fffffd00
2239 1230: 00001001
2240 1234: fffffd02
2241 1238: fffef006
2242 123c: fffffb00
2243 1240: 02a1
2244 1242: 02a1
2245 1244: 02a1
2246 1246: 0283
2247 1248: 0281
2248 124a: 00c0
2249 124c: 0040
2250 124e: 002a
2251
2252 1250: e51f101c ldr r1, =0xfffffb00 ; via 0x123c
2253 1254: e15f21bc ldrh r2, =0x2a1 ; via 0x1240
2254 1258: e1c120b0 strh r2, [r1]
2255 125c: e15f22b2 ldrh r2, =0x2a1 ; via 0x1242
2256 1260: e1c120b2 strh r2, [r1, #2]
2257 1264: e15f22b8 ldrh r2, =0x2a1 ; via 0x1244
2258 1268: e1c120b4 strh r2, [r1, #4]
2259 126c: e15f22be ldrh r2, =0x283 ; via 0x1246
2260 1270: e1c120b6 strh r2, [r1, #6]
2261 1274: e15f23b4 ldrh r2, =0x281 ; via 0x1248
2262 1278: e1c120ba strh r2, [r1, #10] ; 0xa
2263 127c: e15f23ba ldrh r2, =0xc0 ; via 0x124a
2264 1280: e1c120bc strh r2, [r1, #12] ; 0xc
2265 1284: e15f24b0 ldrh r2, =0x40 ; via 0x124c
2266 1288: e1c120b8 strh r2, [r1, #8]
2267 128c: e15f24b6 ldrh r2, =0x2a ; via 0x124e
2268 1290: e1c120be strh r2, [r1, #14] ; 0xe
2269 1294: e59f0018 ldr r0, =0x1001000 ; via 0x12b4
2270 1298: e3a01b01 mov r1, #1024 ; 0x400
2271 129c: e2411004 sub r1, r1, #4
2272 12a0: e0802001 add r2, r0, r1
2273 12a4: e3c22003 bic r2, r2, #3
2274 12a8: e1a0d002 mov sp, r2
2275 12ac: eb000007 bl 0x12d0
2276 12b0: ea000000 b 0x12b8
2277 12b4: 01001000
2278
2279 12b8: e92d4000 stmdb sp!, {lr}
2280 12bc: e28fe001 add lr, pc, #1
2281 12c0: e12fff1e bx lr
2282 12c4: f7ff ff98 bl 0x11f8
2283 12c8: 4778 bx pc
2284 12ca: 46c0 nop (mov r8, r8)
2285 12cc: e8bd8000 ldmia sp!, {pc}
2286
2287 12d0: e92d4000 stmdb sp!, {lr}
2288 12d4: e28fe001 add lr, pc, #1
2289 12d8: e12fff1e bx lr
2290 12dc: f7ff ff86 bl 0x11ec
2291 12e0: 4778 bx pc
2292 12e2: 46c0 nop (mov r8, r8)
2293 12e4: e8bd8000 ldmia sp!, {pc}
2294
2295 12e8: 46a4 mov r12, r4
2296 12ea: 0864 lsr r4, r4, #1
2297 12ec: d301 bcc 0x12f2
2298 12ee: 4760 bx r12
2299 12f0: 46c0 nop (mov r8, r8)
2300 12f2: 4674 mov r4, lr
2301 12f4: 46fe mov lr, pc
2302 12f6: 4760 bx r12
2303 12f8: e12fff14 bx r4
2304
2305 12fc: ffff5800
2306 1300: ffff5000
2307 1304: 2a150e07
2308 1308: 00000054
2309
2310 2000: 00000001