This source file includes following definitions.
- capt_seq_task
- sub_FF2357A4_my
- sub_FF235588_my
- sub_FF3E376C_my
- sub_FF3E3458_my
- exp_drv_task
- sub_FF125828_my
- sub_FF112E20_my
1
2
3
4 #include "lolevel.h"
5 #include "platform.h"
6 #include "core.h"
7
8 static long *nrflag = (long*)(0xcf74+0x00);
9 #define NR_AUTO (0)
10
11 #define PAUSE_FOR_FILE_COUNTER 100
12
13 #include "../../../generic/capt_seq.c"
14
15
16
17 void __attribute__((naked,noinline)) capt_seq_task() {
18 asm volatile (
19 " STMFD SP!, {R3-R7,LR} \n"
20 " LDR R4, =0xA39A0 \n"
21 " LDR R7, =0x39F0 \n"
22 " MOV R6, #0 \n"
23
24 "loc_FF0B6994:\n"
25 " LDR R0, [R7, #4] \n"
26 " MOV R2, #0 \n"
27 " MOV R1, SP \n"
28 " BL sub_0068BDE4 /*_ReceiveMessageQueue*/ \n"
29 " TST R0, #1 \n"
30 " BEQ loc_FF0B69C0 \n"
31 " LDR R1, =0x479 \n"
32 " LDR R0, =0xFF0B63A0 /*'SsShootTask.c'*/ \n"
33 " BL _DebugAssert \n"
34 " BL _ExitTask \n"
35 " LDMFD SP!, {R3-R7,PC} \n"
36
37 "loc_FF0B69C0:\n"
38 " LDR R0, [SP] \n"
39 " LDR R1, [R0] \n"
40 " CMP R1, #0x25 \n"
41 " ADDCC PC, PC, R1, LSL#2 \n"
42 " B loc_FF0B6C1C \n"
43 " B loc_FF0B6A68 \n"
44 " B loc_FF0B6A80 \n"
45 " B loc_FF0B6A8C \n"
46 " B loc_FF0B6AA0 \n"
47 " B loc_FF0B6A98 \n"
48 " B loc_FF0B6AAC \n"
49 " B loc_FF0B6AB4 \n"
50 " B loc_FF0B6ABC \n"
51 " B loc_FF0B6AC8 \n"
52 " B loc_FF0B6B24 \n"
53 " B loc_FF0B6AD4 \n"
54 " B loc_FF0B6AE0 \n"
55 " B loc_FF0B6AE8 \n"
56 " B loc_FF0B6B0C \n"
57 " B loc_FF0B6B14 \n"
58 " B loc_FF0B6B1C \n"
59 " B loc_FF0B6B2C \n"
60 " B loc_FF0B6B34 \n"
61 " B loc_FF0B6B3C \n"
62 " B loc_FF0B6B44 \n"
63 " B loc_FF0B6B4C \n"
64 " B loc_FF0B6B58 \n"
65 " B loc_FF0B6B60 \n"
66 " B loc_FF0B6B68 \n"
67 " B loc_FF0B6B70 \n"
68 " B loc_FF0B6B78 \n"
69 " B loc_FF0B6B80 \n"
70 " B loc_FF0B6B88 \n"
71 " B loc_FF0B6B90 \n"
72 " B loc_FF0B6B98 \n"
73 " B loc_FF0B6BA0 \n"
74 " B loc_FF0B6BAC \n"
75 " B loc_FF0B6BB4 \n"
76 " B loc_FF0B6BC0 \n"
77 " B loc_FF0B6BFC \n"
78 " B loc_FF0B6C08 \n"
79 " B loc_FF0B6C28 \n"
80
81 "loc_FF0B6A68:\n"
82
83 " BL sub_FF0B71DC \n"
84 " BL shooting_expo_param_override\n"
85 " BL sub_FF0B40BC \n"
86
87
88
89 " LDR R0, [R4, #0x28] \n"
90 " CMP R0, #0 \n"
91 " BLNE sub_FF2357A4_my \n"
92 " B loc_FF0B6C28 \n"
93
94 "loc_FF0B6A80:\n"
95 " LDR R0, [R0, #0x10] \n"
96 " BL sub_FF235588_my \n"
97 " B loc_FF0B6C28 \n"
98
99 "loc_FF0B6A8C:\n"
100 " MOV R0, #1 \n"
101 " BL sub_FF0B7500 \n"
102 " B loc_FF0B6C28 \n"
103
104 "loc_FF0B6A98:\n"
105 " BL sub_FF0B6DF8 \n"
106 " B loc_FF0B6AA4 \n"
107
108 "loc_FF0B6AA0:\n"
109 " BL sub_FF0B71B8 \n"
110
111 "loc_FF0B6AA4:\n"
112 " STR R6, [R4, #0x28] \n"
113 " B loc_FF0B6C28 \n"
114
115 "loc_FF0B6AAC:\n"
116 " BL sub_FF0B71C0 \n"
117 " B loc_FF0B6C28 \n"
118
119 "loc_FF0B6AB4:\n"
120 " BL sub_FF0B73D0 \n"
121 " B loc_FF0B6ACC \n"
122
123 "loc_FF0B6ABC:\n"
124 " LDR R0, [R0, #0x10] \n"
125 " BL sub_FF235834 \n"
126 " B loc_FF0B6C28 \n"
127
128 "loc_FF0B6AC8:\n"
129 " BL sub_FF0B7454 \n"
130
131 "loc_FF0B6ACC:\n"
132 " BL sub_FF0B40BC \n"
133 " B loc_FF0B6C28 \n"
134
135 "loc_FF0B6AD4:\n"
136 " LDR R0, [R4, #0x58] \n"
137 " BL sub_FF0B7C24 \n"
138 " B loc_FF0B6C28 \n"
139
140 "loc_FF0B6AE0:\n"
141 " BL sub_FF0B7F8C \n"
142 " B loc_FF0B6C28 \n"
143
144 "loc_FF0B6AE8:\n"
145 " LDRH R0, [R4] \n"
146 " SUB R1, R0, #0x8200 \n"
147 " SUBS R1, R1, #0x3B \n"
148 " SUBNE R1, R0, #0x8000 \n"
149 " SUBNES R1, R1, #0x10 \n"
150 " MOVEQ R0, #1 \n"
151 " MOVNE R0, #0 \n"
152 " BL sub_FF0B7FF0 \n"
153 " B loc_FF0B6C28 \n"
154
155 "loc_FF0B6B0C:\n"
156 " BL sub_FF0B81D0 \n"
157 " B loc_FF0B6C28 \n"
158
159 "loc_FF0B6B14:\n"
160 " BL sub_FF0B8638 \n"
161 " B loc_FF0B6C28 \n"
162
163 "loc_FF0B6B1C:\n"
164 " BL sub_FF0B86EC \n"
165 " B loc_FF0B6C28 \n"
166
167 "loc_FF0B6B24:\n"
168 " BL sub_FF0B71B8 \n"
169 " B loc_FF0B6C28 \n"
170
171 "loc_FF0B6B2C:\n"
172 " BL sub_FF234A40 \n"
173 " B loc_FF0B6C28 \n"
174
175 "loc_FF0B6B34:\n"
176 " BL sub_FF234C80 \n"
177 " B loc_FF0B6C28 \n"
178
179 "loc_FF0B6B3C:\n"
180 " BL sub_FF234D3C \n"
181 " B loc_FF0B6C28 \n"
182
183 "loc_FF0B6B44:\n"
184 " BL sub_FF234E10 \n"
185 " B loc_FF0B6C28 \n"
186
187 "loc_FF0B6B4C:\n"
188 " MOV R0, #0 \n"
189 " BL sub_FF2350C8 \n"
190 " B loc_FF0B6C28 \n"
191
192 "loc_FF0B6B58:\n"
193 " BL sub_FF23522C \n"
194 " B loc_FF0B6C28 \n"
195
196 "loc_FF0B6B60:\n"
197 " BL sub_FF2352C0 \n"
198 " B loc_FF0B6C28 \n"
199
200 "loc_FF0B6B68:\n"
201 " BL sub_FF235368 \n"
202 " B loc_FF0B6C28 \n"
203
204 "loc_FF0B6B70:\n"
205 " BL sub_FF0B76A8 \n"
206 " B loc_FF0B6C28 \n"
207
208 "loc_FF0B6B78:\n"
209 " BL sub_FF0B773C \n"
210 " B loc_FF0B6C28 \n"
211
212 "loc_FF0B6B80:\n"
213 " BL sub_FF234EE0 \n"
214 " B loc_FF0B6C28 \n"
215
216 "loc_FF0B6B88:\n"
217 " BL sub_FF234F48 \n"
218 " B loc_FF0B6C28 \n"
219
220 "loc_FF0B6B90:\n"
221 " BL sub_FF0BCA10 \n"
222 " B loc_FF0B6C28 \n"
223
224 "loc_FF0B6B98:\n"
225 " BL sub_FF0BCB18 \n"
226 " B loc_FF0B6C28 \n"
227
228 "loc_FF0B6BA0:\n"
229 " LDR R0, [R0, #0xC] \n"
230 " BL sub_FF235478 \n"
231 " B loc_FF0B6C28 \n"
232
233 "loc_FF0B6BAC:\n"
234 " BL sub_FF2354E8 \n"
235 " B loc_FF0B6C28 \n"
236
237 "loc_FF0B6BB4:\n"
238 " BL sub_FF0BCCA4 \n"
239 " BL sub_FF0BCB70 \n"
240 " B loc_FF0B6C28 \n"
241
242 "loc_FF0B6BC0:\n"
243 " MOV R0, #1 \n"
244 " BL sub_FF236060 \n"
245 " MOV R0, #1 \n"
246 " BL sub_FF236194 \n"
247 " LDR R0, =0xA3AA0 \n"
248 " LDRH R0, [R0, #0x8C] \n"
249 " CMP R0, #4 \n"
250 " LDRNEH R0, [R4] \n"
251 " SUBNE R1, R0, #0x8000 \n"
252 " SUBNES R1, R1, #0x230 \n"
253 " BNE loc_FF0B6C28 \n"
254 " BL sub_FF0BCB18 \n"
255 " BL sub_FF0BD2B0 \n"
256 " BL sub_FF0BCFB4 \n"
257 " B loc_FF0B6C28 \n"
258
259 "loc_FF0B6BFC:\n"
260 " MOV R2, #0 \n"
261 " MOV R1, #0xD \n"
262 " B loc_FF0B6C10 \n"
263
264 "loc_FF0B6C08:\n"
265 " MOV R2, #0 \n"
266 " MOV R1, #0xC \n"
267
268 "loc_FF0B6C10:\n"
269 " MOV R0, #0 \n"
270 " BL sub_FF0B4CA4 \n"
271 " B loc_FF0B6C28 \n"
272
273 "loc_FF0B6C1C:\n"
274 " LDR R1, =0x5DE \n"
275 " LDR R0, =0xFF0B63A0 /*'SsShootTask.c'*/ \n"
276 " BL _DebugAssert \n"
277
278 "loc_FF0B6C28:\n"
279 " LDR R0, [SP] \n"
280 " LDR R1, [R0, #4] \n"
281 " LDR R0, [R7] \n"
282 " BL sub_0068BB54 /*_SetEventFlag*/ \n"
283 " LDR R5, [SP] \n"
284 " LDR R0, [R5, #8] \n"
285 " CMP R0, #0 \n"
286 " LDREQ R1, =0x116 \n"
287 " LDREQ R0, =0xFF0B63A0 /*'SsShootTask.c'*/ \n"
288 " BLEQ _DebugAssert \n"
289 " STR R6, [R5, #8] \n"
290 " B loc_FF0B6994 \n"
291 );
292 }
293
294
295
296 void __attribute__((naked,noinline)) sub_FF2357A4_my() {
297 asm volatile (
298 " STMFD SP!, {R4-R6,LR} \n"
299 " BL sub_FF0B5FD8 \n"
300 " MOV R4, R0 \n"
301 " MOV R0, #0xC \n"
302 " BL sub_FF0BE9DC \n"
303 " LDR R6, =0x99E0 \n"
304 " TST R0, #1 \n"
305 " MOV R5, #1 \n"
306 " BNE loc_FF23582C \n"
307 " BL sub_FF0B71C8 \n"
308 " BL sub_FF0BA660 \n"
309 " MOV R1, R4 \n"
310 " BL sub_FF0BA6B8 \n"
311 " LDR R0, =0x10E \n"
312 " MOV R2, #4 \n"
313 " ADD R1, R4, #0x48 \n"
314 " BL _SetPropertyCase \n"
315 " MOV R2, #4 \n"
316 " ADD R1, R4, #0x4C \n"
317 " MOV R0, #0x2C \n"
318 " BL _SetPropertyCase \n"
319 " MOV R2, #4 \n"
320 " ADD R1, R4, #8 \n"
321 " MOV R0, #0x3F \n"
322 " BL _SetPropertyCase \n"
323 " BL sub_FF236354 \n"
324 " MVN R1, #0x1000 \n"
325 " BL sub_0068BB88 /*_ClearEventFlag*/ \n"
326 " MOV R0, R4 \n"
327 " BL sub_FF3E3334 \n"
328 " MOV R0, R4 \n"
329 " BL sub_FF3E376C_my \n"
330 " TST R0, #1 \n"
331 " LDMEQFD SP!, {R4-R6,PC} \n"
332
333 "loc_FF23582C:\n"
334 " STR R5, [R6] \n"
335 " LDMFD SP!, {R4-R6,PC} \n"
336 );
337 }
338
339
340
341 void __attribute__((naked,noinline)) sub_FF235588_my() {
342 asm volatile (
343 " STMFD SP!, {R2-R8,LR} \n"
344 " MOV R5, R0 \n"
345 " LDR R0, =0x99E0 \n"
346 " LDR R7, =0xA39A0 \n"
347 " LDR R0, [R0] \n"
348 " MOV R4, #0 \n"
349 " CMP R0, #0 \n"
350 " MOVNE R4, #0x1D \n"
351 " BNE sub_FF23576C \n"
352 " LDR R0, [R7, #0x28] \n"
353 " CMP R0, #0 \n"
354 " BNE sub_FF23576C \n"
355 " BL sub_FF0BA660 \n"
356 " MOV R1, R5 \n"
357 " BL sub_FF0BA6B8 \n"
358 " LDR R0, =0x10E \n"
359 " MOV R2, #4 \n"
360 " ADD R1, R5, #0x48 \n"
361 " BL _SetPropertyCase \n"
362 " MOV R2, #4 \n"
363 " ADD R1, R5, #0x4C \n"
364 " MOV R0, #0x2C \n"
365 " BL _SetPropertyCase \n"
366 " LDR R0, [R7, #0x11C] \n"
367 " LDR R8, =0x820D \n"
368 " CMP R0, #0 \n"
369 " LDRNEH R0, [R7] \n"
370 " LDR R6, =0xA3AA0 \n"
371 " CMPNE R0, R8 \n"
372 " LDRNEH R0, [R6, #0x8A] \n"
373 " CMPNE R0, #3 \n"
374 " LDRNE R0, [R5, #8] \n"
375 " CMPNE R0, #1 \n"
376 " BLS loc_FF235630 \n"
377 " LDR R0, [R7, #0xD4] \n"
378 " CMP R0, #0 \n"
379 " BNE loc_FF235648 \n"
380 " BL sub_FF030CC4 \n"
381 " TST R0, #1 \n"
382 " BEQ loc_FF235648 \n"
383 " BL sub_FF0BEA44 \n"
384 " B loc_FF235644 \n"
385
386 "loc_FF235630:\n"
387 " MOV R0, #0xC \n"
388 " BL sub_FF0BE9DC \n"
389 " TST R0, #1 \n"
390 " BEQ loc_FF235648 \n"
391 " BL sub_FF0B4A34 \n"
392
393 "loc_FF235644:\n"
394 " MOV R4, #1 \n"
395
396 "loc_FF235648:\n"
397 " TST R4, #1 \n"
398 " BNE sub_FF23576C \n"
399 " BL sub_FF236354 \n"
400 " MVN R1, #0x1000 \n"
401 " BL sub_0068BB88 /*_ClearEventFlag*/ \n"
402 " MOV R0, R5 \n"
403 " BL sub_FF3E28F0 \n"
404 " TST R0, #1 \n"
405 " MOV R4, R0 \n"
406 " BNE sub_FF23576C \n"
407 " BL sub_FF0B71C8 \n"
408 " MOV R0, R5 \n"
409 " BL sub_FF3E3334 \n"
410 " LDR R0, [R7, #0x118] \n"
411 " CMP R0, #0 \n"
412 " BNE loc_FF2356A4 \n"
413 " LDRH R0, [R7] \n"
414 " CMP R0, R8 \n"
415 " LDRNEH R0, [R6, #0x8A] \n"
416 " CMPNE R0, #3 \n"
417 " LDRNE R0, [R5, #8] \n"
418 " CMPNE R0, #1 \n"
419 " BHI loc_FF2356AC \n"
420
421 "loc_FF2356A4:\n"
422 " MOV R0, #2 \n"
423 " BL sub_FF0C02B8 \n"
424
425 "loc_FF2356AC:\n"
426 " LDR R0, [R7, #0xA0] \n"
427 " CMP R0, #0 \n"
428 " BEQ loc_FF23574C \n"
429 " LDRH R0, [R7] \n"
430 " CMP R0, R8 \n"
431 " LDRNEH R0, [R6, #0x8A] \n"
432 " CMPNE R0, #3 \n"
433 " LDRNE R0, [R5, #8] \n"
434 " CMPNE R0, #1 \n"
435 " BLS loc_FF2356F0 \n"
436 " BL sub_FF236354 \n"
437 " MOV R3, #0xDB \n"
438 " STR R3, [SP] \n"
439 " LDR R2, =0x3A98 \n"
440 " LDR R3, =0xFF2358C8 /*'SsCaptureCtrl.c'*/ \n"
441 " MOV R1, #0x1000 \n"
442 " BL sub_FF0BEC54 \n"
443
444 "loc_FF2356F0:\n"
445 " MOV R2, #4 \n"
446 " ADD R1, SP, #4 \n"
447 " MOV R0, #0x180 \n"
448 " BL _GetPropertyCase \n"
449 " TST R0, #1 \n"
450 " MOVNE R1, #0xDF \n"
451 " LDRNE R0, =0xFF2358C8 /*'SsCaptureCtrl.c'*/ \n"
452 " BLNE _DebugAssert \n"
453 " LDR R0, [SP, #4] \n"
454 " CMP R0, #0 \n"
455 " BNE loc_FF23572C \n"
456 " BL sub_FF236354 \n"
457 " MOV R1, #0x1000 \n"
458 " BL sub_0068BB54 /*_SetEventFlag*/ \n"
459 " B loc_FF23574C \n"
460
461 "loc_FF23572C:\n"
462 " BL sub_FF236354 \n"
463 " MOV R1, #0x1000 \n"
464 " BL sub_0068BB88 /*_ClearEventFlag*/ \n"
465 " LDR R2, =0xFF235574 \n"
466 " LDR R0, [SP, #4] \n"
467 " MOV R3, #0x1000 \n"
468 " MOV R1, R2 \n"
469 " BL sub_FF03A03C /*_SetTimerAfter*/ \n"
470
471 "loc_FF23574C:\n"
472 " LDR R0, [R7, #0xAC] \n"
473 " CMP R0, #0 \n"
474 " MOV R0, R5 \n"
475 " BEQ loc_FF235764 \n"
476 " BL sub_FF3E3DF4 \n"
477 " B loc_FF235768 \n"
478
479 "loc_FF235764:\n"
480 " BL sub_FF3E376C_my \n"
481
482 "loc_FF235768:\n"
483 " MOV R4, R0 \n"
484 " BL capt_seq_hook_raw_here \n"
485 " LDR PC, =0xFF23576C \n"
486 );
487 }
488
489
490
491 void __attribute__((naked,noinline)) sub_FF3E376C_my() {
492 asm volatile (
493 " STMFD SP!, {R2-R12,LR} \n"
494 " LDR R8, =0xA39A0 \n"
495 " MOV R4, R0 \n"
496 " LDR R0, [R8, #0x15C] \n"
497 " LDR R9, =0x820D \n"
498 " CMP R0, #0 \n"
499 " LDRNEH R0, [R8] \n"
500 " ADD R6, R8, #0x100 \n"
501 " CMPNE R0, R9 \n"
502 " LDRNEH R0, [R6, #0x8A] \n"
503 " CMPNE R0, #3 \n"
504 " LDRNE R0, [R4, #8] \n"
505 " CMPNE R0, #1 \n"
506 " BHI loc_FF3E37B0 \n"
507 " MOV R0, R4 \n"
508 " BL sub_FF3E329C \n"
509 " BL sub_FF235E24 \n"
510
511 "loc_FF3E37B0:\n"
512 " LDR R0, [R8, #0x180] \n"
513 " CMP R0, #2 \n"
514 " BNE loc_FF3E37DC \n"
515 " LDRH R0, [R8] \n"
516 " CMP R0, R9 \n"
517 " LDRNEH R0, [R6, #0x8A] \n"
518 " CMPNE R0, #3 \n"
519 " LDRNE R0, [R4, #8] \n"
520 " CMPNE R0, #1 \n"
521 " MOVLS R0, #4 \n"
522 " BLLS sub_FF17436C \n"
523
524 "loc_FF3E37DC:\n"
525 " LDR R0, =0x12F \n"
526 " MOV R2, #4 \n"
527 " ADD R1, SP, #4 \n"
528 " BL _GetPropertyCase \n"
529 " TST R0, #1 \n"
530 " MOVNE R1, #0x170 \n"
531 " LDRNE R0, =0xFF3E3AB4 /*'SsStandardCaptureSeq.c'*/ \n"
532 " BLNE _DebugAssert \n"
533 " LDR R0, [SP, #4] \n"
534 " AND R0, R0, #0xFF00 \n"
535 " CMP R0, #0x600 \n"
536 " LDRNE R0, =0xFF3E2E84 \n"
537 " LDREQ R0, =0xFF3E36C4 \n"
538 " MOVNE R1, R4 \n"
539 " MOVEQ R1, #0 \n"
540 " BL sub_FF11C058 \n"
541 " MOV R0, R4 \n"
542 " BL sub_FF3E3458_my \n"
543 " LDR PC, =0xFF3E3824 \n"
544 );
545 }
546
547
548
549 void __attribute__((naked,noinline)) sub_FF3E3458_my() {
550 asm volatile (
551 " STMFD SP!, {R1-R7,LR} \n"
552 " LDR R6, =0xA3B70 \n"
553 " LDR R5, =0xA39A0 \n"
554 " MOV R4, R0 \n"
555 " LDR R3, [R6] \n"
556 " LDRSH R2, [R6, #0xC] \n"
557 " LDRSH R1, [R6, #0xE] \n"
558 " LDR R0, [R5, #0x88] \n"
559 " BL sub_FF1E07E0 \n"
560 " MOV R2, #2 \n"
561 " ADD R1, SP, #8 \n"
562 " MOV R0, #0xFA \n"
563 " BL _GetPropertyCase \n"
564 " TST R0, #1 \n"
565 " LDRNE R1, =0x2E5 \n"
566 " LDRNE R0, =0xFF3E3150 /*'SsCaptureCommon.c'*/ \n"
567 " BLNE _DebugAssert \n"
568 " LDRSH R0, [R6, #0xC] \n"
569 " LDRSH R1, [SP, #8] \n"
570 " BL sub_FF17166C \n"
571 " LDR R0, [R5, #0xE4] \n"
572 " CMP R0, #0 \n"
573 " LDRNEH R0, [R5] \n"
574 " LDRNE R1, =0x820D \n"
575 " CMPNE R0, R1 \n"
576 " LDRNE R0, =0xA3AA0 \n"
577 " LDRNEH R0, [R0, #0x8A] \n"
578 " CMPNE R0, #3 \n"
579 " LDRNE R0, [R4, #8] \n"
580 " CMPNE R0, #1 \n"
581 " BHI loc_FF3E34FC \n"
582 " BL _GetCCDTemperature \n"
583 " LDR R3, =0x12558 \n"
584 " STRH R0, [R4, #0xC8] \n"
585 " SUB R2, R3, #4 \n"
586 " STRD R2, [SP] \n"
587 " MOV R1, R0 \n"
588 " LDRSH R2, [R6, #0xC] \n"
589 " LDRH R0, [R5, #0x5E] \n"
590 " ADD R3, R3, #4 \n"
591 " BL sub_FF2F2B64 \n"
592
593 "loc_FF3E34FC:\n"
594 " BL wait_until_remote_button_is_released\n"
595 " BL capt_seq_hook_set_nr\n"
596 " LDRH R0, [R4, #0xC8] \n"
597 " LDR PC, =0xFF3E3500 \n"
598 );
599 }
600
601
602
603 void __attribute__((naked,noinline)) exp_drv_task() {
604 asm volatile (
605 " STMFD SP!, {R4-R9,LR} \n"
606 " SUB SP, SP, #0x2C \n"
607 " LDR R6, =0x4E9C \n"
608 " LDR R7, =0xBB8 \n"
609 " LDR R4, =0xF7940 \n"
610 " MOV R0, #0 \n"
611 " ADD R5, SP, #0x1C \n"
612 " STR R0, [SP, #0xC] \n"
613
614 "loc_FF12943C:\n"
615 " LDR R0, [R6, #0x20] \n"
616 " MOV R2, #0 \n"
617 " ADD R1, SP, #0x28 \n"
618 " BL sub_0068BDE4 /*_ReceiveMessageQueue*/ \n"
619 " LDR R0, [SP, #0xC] \n"
620 " CMP R0, #1 \n"
621 " BNE loc_FF129488 \n"
622 " LDR R0, [SP, #0x28] \n"
623 " LDR R0, [R0] \n"
624 " CMP R0, #0x14 \n"
625 " CMPNE R0, #0x15 \n"
626 " CMPNE R0, #0x16 \n"
627 " CMPNE R0, #0x17 \n"
628 " BEQ loc_FF1295E8 \n"
629 " CMP R0, #0x2A \n"
630 " BEQ loc_FF129570 \n"
631 " ADD R1, SP, #0xC \n"
632 " MOV R0, #0 \n"
633 " BL sub_FF1293CC \n"
634
635 "loc_FF129488:\n"
636 " LDR R0, [SP, #0x28] \n"
637 " LDR R1, [R0] \n"
638 " CMP R1, #0x30 \n"
639 " BNE loc_FF1294B4 \n"
640 " BL sub_FF12A9DC \n"
641 " LDR R0, [R6, #0x1C] \n"
642 " MOV R1, #1 \n"
643 " BL sub_0068BB54 /*_SetEventFlag*/ \n"
644 " BL _ExitTask \n"
645 " ADD SP, SP, #0x2C \n"
646 " LDMFD SP!, {R4-R9,PC} \n"
647
648 "loc_FF1294B4:\n"
649 " CMP R1, #0x2F \n"
650 " BNE loc_FF1294D0 \n"
651 " LDR R2, [R0, #0xA4]! \n"
652 " LDR R1, [R0, #4] \n"
653 " MOV R0, R1 \n"
654 " BLX R2 \n"
655 " B loc_FF129AA4 \n"
656
657 "loc_FF1294D0:\n"
658 " CMP R1, #0x28 \n"
659 " BNE loc_FF129520 \n"
660 " LDR R0, [R6, #0x1C] \n"
661 " MOV R1, #0x80 \n"
662 " BL sub_0068BB88 /*_ClearEventFlag*/ \n"
663 " LDR R0, =0xFF1241BC \n"
664 " MOV R1, #0x80 \n"
665 " BL sub_FF226D14 \n"
666 " LDR R0, [R6, #0x1C] \n"
667 " MOV R2, R7 \n"
668 " MOV R1, #0x80 \n"
669 " BL sub_0068BA94 /*_WaitForAllEventFlag*/ \n"
670 " TST R0, #1 \n"
671 " LDRNE R1, =0x1664 \n"
672 " BNE loc_FF1295DC \n"
673
674 "loc_FF12950C:\n"
675 " LDR R1, [SP, #0x28] \n"
676 " LDR R0, [R1, #0xA8] \n"
677 " LDR R1, [R1, #0xA4] \n"
678 " BLX R1 \n"
679 " B loc_FF129AA4 \n"
680
681 "loc_FF129520:\n"
682 " CMP R1, #0x29 \n"
683 " BNE loc_FF129568 \n"
684 " ADD R1, SP, #0xC \n"
685 " BL sub_FF1293CC \n"
686 " LDR R0, [R6, #0x1C] \n"
687 " MOV R1, #0x100 \n"
688 " BL sub_0068BB88 /*_ClearEventFlag*/ \n"
689 " LDR R0, =0xFF1241CC \n"
690 " MOV R1, #0x100 \n"
691 " BL sub_FF226EB4 \n"
692 " LDR R0, [R6, #0x1C] \n"
693 " MOV R2, R7 \n"
694 " MOV R1, #0x100 \n"
695 " BL sub_0068BA94 /*_WaitForAllEventFlag*/ \n"
696 " TST R0, #1 \n"
697 " BEQ loc_FF12950C \n"
698 " LDR R1, =0x166E \n"
699 " B loc_FF1295DC \n"
700
701 "loc_FF129568:\n"
702 " CMP R1, #0x2A \n"
703 " BNE loc_FF129580 \n"
704
705 "loc_FF129570:\n"
706 " LDR R0, [SP, #0x28] \n"
707 " ADD R1, SP, #0xC \n"
708 " BL sub_FF1293CC \n"
709 " B loc_FF12950C \n"
710
711 "loc_FF129580:\n"
712 " CMP R1, #0x2D \n"
713 " BNE loc_FF129598 \n"
714 " BL sub_FF1130D4 \n"
715 " BL sub_FF113EA8 \n"
716 " BL sub_FF1139BC \n"
717 " B loc_FF12950C \n"
718
719 "loc_FF129598:\n"
720 " CMP R1, #0x2E \n"
721 " BNE loc_FF1295E8 \n"
722 " LDR R0, [R6, #0x1C] \n"
723 " MOV R1, #4 \n"
724 " BL sub_0068BB88 /*_ClearEventFlag*/ \n"
725 " LDR R1, =0xFF1241EC \n"
726 " LDR R0, =0xFFFFF400 \n"
727 " MOV R2, #4 \n"
728 " BL sub_FF112B24 \n"
729 " BL sub_FF112DB4 \n"
730 " LDR R0, [R6, #0x1C] \n"
731 " MOV R2, R7 \n"
732 " MOV R1, #4 \n"
733 " BL sub_0068B9B0 /*_WaitForAnyEventFlag*/ \n"
734 " TST R0, #1 \n"
735 " BEQ loc_FF12950C \n"
736 " LDR R1, =0x1696 \n"
737
738 "loc_FF1295DC:\n"
739 " LDR R0, =0xFF124A4C /*'ExpDrv.c'*/ \n"
740 " BL _DebugAssert \n"
741 " B loc_FF12950C \n"
742
743 "loc_FF1295E8:\n"
744 " LDR R0, [SP, #0x28] \n"
745 " MOV R8, #1 \n"
746 " LDR R1, [R0] \n"
747 " CMP R1, #0x12 \n"
748 " CMPNE R1, #0x13 \n"
749 " BNE loc_FF129650 \n"
750 " LDR R1, [R0, #0x94] \n"
751 " ADD R1, R1, R1, LSL#1 \n"
752 " ADD R1, R0, R1, LSL#2 \n"
753 " SUB R1, R1, #8 \n"
754 " LDMIA R1, {R2,R3,R9} \n"
755 " STMIA R5, {R2,R3,R9} \n"
756 " BL sub_FF127518 \n"
757 " LDR R0, [SP, #0x28] \n"
758 " LDR R1, [R0, #0x94] \n"
759 " LDR R3, [R0, #0xA4] \n"
760 " LDR R2, [R0, #0xA8] \n"
761 " ADD R0, R0, #4 \n"
762 " BLX R3 \n"
763 " LDR R0, [SP, #0x28] \n"
764 " BL sub_FF12AD90 \n"
765 " LDR R0, [SP, #0x28] \n"
766 " LDR R1, [R0, #0x94] \n"
767 " LDR R2, [R0, #0xB0] \n"
768 " LDR R3, [R0, #0xAC] \n"
769 " B loc_FF129968 \n"
770
771 "loc_FF129650:\n"
772 " CMP R1, #0x14 \n"
773 " CMPNE R1, #0x15 \n"
774 " CMPNE R1, #0x16 \n"
775 " CMPNE R1, #0x17 \n"
776 " BNE loc_FF129708 \n"
777 " ADD R3, SP, #0xC \n"
778 " MOV R2, SP \n"
779 " ADD R1, SP, #0x1C \n"
780 " BL sub_FF12777C \n"
781 " CMP R0, #1 \n"
782 " MOV R9, R0 \n"
783 " CMPNE R9, #5 \n"
784 " BNE loc_FF1296A4 \n"
785 " LDR R0, [SP, #0x28] \n"
786 " MOV R2, R9 \n"
787 " LDR R1, [R0, #0x94]! \n"
788 " LDR R12, [R0, #0x10]! \n"
789 " LDR R3, [R0, #4] \n"
790 " MOV R0, SP \n"
791 " BLX R12 \n"
792 " B loc_FF1296DC \n"
793
794 "loc_FF1296A4:\n"
795 " LDR R0, [SP, #0x28] \n"
796 " CMP R9, #2 \n"
797 " LDR R3, [R0, #0xA8] \n"
798 " CMPNE R9, #6 \n"
799 " BNE loc_FF1296F0 \n"
800 " LDR R12, [R0, #0xA4] \n"
801 " MOV R2, R9 \n"
802 " MOV R1, #1 \n"
803 " MOV R0, SP \n"
804 " BLX R12 \n"
805 " LDR R0, [SP, #0x28] \n"
806 " MOV R2, SP \n"
807 " ADD R1, SP, #0x1C \n"
808 " BL sub_FF1290A4 \n"
809
810 "loc_FF1296DC:\n"
811 " LDR R0, [SP, #0x28] \n"
812 " LDR R2, [SP, #0xC] \n"
813 " MOV R1, R9 \n"
814 " BL sub_FF12936C \n"
815 " B loc_FF129970 \n"
816
817 "loc_FF1296F0:\n"
818 " LDR R1, [R0, #0x94] \n"
819 " LDR R12, [R0, #0xA4] \n"
820 " MOV R2, R9 \n"
821 " ADD R0, R0, #4 \n"
822 " BLX R12 \n"
823 " B loc_FF129970 \n"
824
825 "loc_FF129708:\n"
826 " CMP R1, #0x24 \n"
827 " CMPNE R1, #0x25 \n"
828 " BNE loc_FF129754 \n"
829 " LDR R1, [R0, #0x94] \n"
830 " ADD R1, R1, R1, LSL#1 \n"
831 " ADD R1, R0, R1, LSL#2 \n"
832 " SUB R1, R1, #8 \n"
833 " LDMIA R1, {R2,R3,R9} \n"
834 " STMIA R5, {R2,R3,R9} \n"
835 " BL sub_FF126264 \n"
836 " LDR R0, [SP, #0x28] \n"
837 " LDR R1, [R0, #0x94] \n"
838 " LDR R3, [R0, #0xA4] \n"
839 " LDR R2, [R0, #0xA8] \n"
840 " ADD R0, R0, #4 \n"
841 " BLX R3 \n"
842 " LDR R0, [SP, #0x28] \n"
843 " BL sub_FF12673C \n"
844 " B loc_FF129970 \n"
845
846 "loc_FF129754:\n"
847 " ADD R1, R0, #4 \n"
848 " LDMIA R1, {R2,R3,R9} \n"
849 " STMIA R5, {R2,R3,R9} \n"
850 " LDR R1, [R0] \n"
851 " CMP R1, #0x28 \n"
852 " ADDCC PC, PC, R1, LSL#2 \n"
853 " B loc_FF129958 \n"
854 " B loc_FF129810 \n"
855 " B loc_FF129810 \n"
856 " B loc_FF129818 \n"
857 " B loc_FF129820 \n"
858 " B loc_FF129820 \n"
859 " B loc_FF129820 \n"
860 " B loc_FF129810 \n"
861 " B loc_FF129818 \n"
862 " B loc_FF129820 \n"
863 " B loc_FF129820 \n"
864 " B loc_FF129838 \n"
865 " B loc_FF129838 \n"
866 " B loc_FF129944 \n"
867 " B loc_FF12994C \n"
868 " B loc_FF12994C \n"
869 " B loc_FF12994C \n"
870 " B loc_FF12994C \n"
871 " B loc_FF129954 \n"
872 " B loc_FF129958 \n"
873 " B loc_FF129958 \n"
874 " B loc_FF129958 \n"
875 " B loc_FF129958 \n"
876 " B loc_FF129958 \n"
877 " B loc_FF129958 \n"
878 " B loc_FF129828 \n"
879 " B loc_FF129830 \n"
880 " B loc_FF129830 \n"
881 " B loc_FF129830 \n"
882 " B loc_FF129844 \n"
883 " B loc_FF129844 \n"
884 " B loc_FF12984C \n"
885 " B loc_FF129884 \n"
886 " B loc_FF1298BC \n"
887 " B loc_FF1298F4 \n"
888 " B loc_FF12992C \n"
889 " B loc_FF12992C \n"
890 " B loc_FF129958 \n"
891 " B loc_FF129958 \n"
892 " B loc_FF129934 \n"
893 " B loc_FF12993C \n"
894
895 "loc_FF129810:\n"
896 " BL sub_FF12485C \n"
897 " B loc_FF129958 \n"
898
899 "loc_FF129818:\n"
900 " BL sub_FF124BA0 \n"
901 " B loc_FF129958 \n"
902
903 "loc_FF129820:\n"
904 " BL sub_FF124E0C \n"
905 " B loc_FF129958 \n"
906
907 "loc_FF129828:\n"
908 " BL sub_FF125108 \n"
909 " B loc_FF129958 \n"
910
911 "loc_FF129830:\n"
912 " BL sub_FF125324 \n"
913 " B loc_FF129958 \n"
914
915 "loc_FF129838:\n"
916 " BL sub_FF125828_my \n"
917 " MOV R8, #0 \n"
918 " B loc_FF129958 \n"
919
920 "loc_FF129844:\n"
921 " BL sub_FF125A08 \n"
922 " B loc_FF129958 \n"
923
924 "loc_FF12984C:\n"
925 " LDRH R1, [R0, #4] \n"
926 " STRH R1, [SP, #0x1C] \n"
927 " LDRH R1, [R4, #2] \n"
928 " STRH R1, [SP, #0x1E] \n"
929 " LDRH R1, [R4, #4] \n"
930 " STRH R1, [SP, #0x20] \n"
931 " LDRH R1, [R4, #6] \n"
932 " STRH R1, [SP, #0x22] \n"
933 " LDRH R1, [R0, #0xC] \n"
934 " STRH R1, [SP, #0x24] \n"
935 " LDRH R1, [R4, #0xA] \n"
936 " STRH R1, [SP, #0x26] \n"
937 " BL sub_FF12AA80 \n"
938 " B loc_FF129958 \n"
939
940 "loc_FF129884:\n"
941 " LDRH R1, [R0, #4] \n"
942 " STRH R1, [SP, #0x1C] \n"
943 " LDRH R1, [R4, #2] \n"
944 " STRH R1, [SP, #0x1E] \n"
945 " LDRH R1, [R4, #4] \n"
946 " STRH R1, [SP, #0x20] \n"
947 " LDRH R1, [R4, #6] \n"
948 " STRH R1, [SP, #0x22] \n"
949 " LDRH R1, [R4, #8] \n"
950 " STRH R1, [SP, #0x24] \n"
951 " LDRH R1, [R4, #0xA] \n"
952 " STRH R1, [SP, #0x26] \n"
953 " BL sub_FF12AB8C \n"
954 " B loc_FF129958 \n"
955
956 "loc_FF1298BC:\n"
957 " LDRH R1, [R4] \n"
958 " STRH R1, [SP, #0x1C] \n"
959 " LDRH R1, [R0, #6] \n"
960 " STRH R1, [SP, #0x1E] \n"
961 " LDRH R1, [R4, #4] \n"
962 " STRH R1, [SP, #0x20] \n"
963 " LDRH R1, [R4, #6] \n"
964 " STRH R1, [SP, #0x22] \n"
965 " LDRH R1, [R4, #8] \n"
966 " STRH R1, [SP, #0x24] \n"
967 " LDRH R1, [R4, #0xA] \n"
968 " STRH R1, [SP, #0x26] \n"
969 " BL sub_FF12AC44 \n"
970 " B loc_FF129958 \n"
971
972 "loc_FF1298F4:\n"
973 " LDRH R1, [R4] \n"
974 " STRH R1, [SP, #0x1C] \n"
975 " LDRH R1, [R4, #2] \n"
976 " STRH R1, [SP, #0x1E] \n"
977 " LDRH R1, [R4, #4] \n"
978 " STRH R1, [SP, #0x20] \n"
979 " LDRH R1, [R4, #6] \n"
980 " STRH R1, [SP, #0x22] \n"
981 " LDRH R1, [R0, #0xC] \n"
982 " STRH R1, [SP, #0x24] \n"
983 " LDRH R1, [R4, #0xA] \n"
984 " STRH R1, [SP, #0x26] \n"
985 " BL sub_FF12ACEC \n"
986 " B loc_FF129958 \n"
987
988 "loc_FF12992C:\n"
989 " BL sub_FF126014 \n"
990 " B loc_FF129958 \n"
991
992 "loc_FF129934:\n"
993 " BL sub_FF126840 \n"
994 " B loc_FF129958 \n"
995
996 "loc_FF12993C:\n"
997 " BL sub_FF126DB8 \n"
998 " B loc_FF129958 \n"
999
1000 "loc_FF129944:\n"
1001 " BL sub_FF126FE0 \n"
1002 " B loc_FF129958 \n"
1003
1004 "loc_FF12994C:\n"
1005 " BL sub_FF1271A0 \n"
1006 " B loc_FF129958 \n"
1007
1008 "loc_FF129954:\n"
1009 " BL sub_FF12730C \n"
1010
1011 "loc_FF129958:\n"
1012 " LDR R0, [SP, #0x28] \n"
1013 " LDR R1, [R0, #0x94] \n"
1014 " LDR R2, [R0, #0xA8] \n"
1015 " LDR R3, [R0, #0xA4] \n"
1016
1017 "loc_FF129968:\n"
1018 " ADD R0, R0, #4 \n"
1019 " BLX R3 \n"
1020
1021 "loc_FF129970:\n"
1022 " LDR R0, [SP, #0x28] \n"
1023 " LDR R0, [R0] \n"
1024 " CMP R0, #0x10 \n"
1025 " BEQ loc_FF1299A8 \n"
1026 " BGT loc_FF129998 \n"
1027 " CMP R0, #1 \n"
1028 " CMPNE R0, #4 \n"
1029 " CMPNE R0, #0xE \n"
1030 " BNE loc_FF1299DC \n"
1031 " B loc_FF1299A8 \n"
1032
1033 "loc_FF129998:\n"
1034 " CMP R0, #0x13 \n"
1035 " CMPNE R0, #0x17 \n"
1036 " CMPNE R0, #0x1A \n"
1037 " BNE loc_FF1299DC \n"
1038
1039 "loc_FF1299A8:\n"
1040 " LDRSH R0, [R4] \n"
1041 " CMN R0, #0xC00 \n"
1042 " LDRNESH R1, [R4, #8] \n"
1043 " CMNNE R1, #0xC00 \n"
1044 " STRNEH R0, [SP, #0x1C] \n"
1045 " STRNEH R1, [SP, #0x24] \n"
1046 " BNE loc_FF1299DC \n"
1047 " ADD R0, SP, #0x10 \n"
1048 " BL sub_FF12AFBC /*_get_current_exp*/ \n"
1049 " LDRH R0, [SP, #0x10] \n"
1050 " STRH R0, [SP, #0x1C] \n"
1051 " LDRH R0, [SP, #0x18] \n"
1052 " STRH R0, [SP, #0x24] \n"
1053
1054 "loc_FF1299DC:\n"
1055 " LDR R0, [SP, #0x28] \n"
1056 " CMP R8, #1 \n"
1057 " BNE loc_FF129A2C \n"
1058 " LDR R1, [R0, #0x94] \n"
1059 " MOV R2, #0xC \n"
1060 " ADD R1, R1, R1, LSL#1 \n"
1061 " ADD R0, R0, R1, LSL#2 \n"
1062 " SUB R8, R0, #8 \n"
1063 " LDR R0, =0xF7940 \n"
1064 " ADD R1, SP, #0x1C \n"
1065 " BL sub_006A90D8 \n"
1066 " LDR R0, =0xF794C \n"
1067 " MOV R2, #0xC \n"
1068 " ADD R1, SP, #0x1C \n"
1069 " BL sub_006A90D8 \n"
1070 " LDR R0, =0xF7958 \n"
1071 " MOV R2, #0xC \n"
1072 " MOV R1, R8 \n"
1073 " BL sub_006A90D8 \n"
1074 " B loc_FF129AA4 \n"
1075
1076 "loc_FF129A2C:\n"
1077 " LDR R0, [R0] \n"
1078 " MOV R3, #1 \n"
1079 " CMP R0, #0xB \n"
1080 " BNE loc_FF129A70 \n"
1081 " MOV R2, #0 \n"
1082 " STRD R2, [SP] \n"
1083 " MOV R2, R3 \n"
1084 " MOV R1, R3 \n"
1085 " MOV R0, #0 \n"
1086 " BL sub_FF12463C \n"
1087 " MOV R3, #1 \n"
1088 " MOV R2, #0 \n"
1089 " STRD R2, [SP] \n"
1090 " MOV R2, R3 \n"
1091 " MOV R1, R3 \n"
1092 " MOV R0, #0 \n"
1093 " B loc_FF129AA0 \n"
1094
1095 "loc_FF129A70:\n"
1096 " MOV R2, #1 \n"
1097 " STRD R2, [SP] \n"
1098 " MOV R3, R2 \n"
1099 " MOV R1, R2 \n"
1100 " MOV R0, R2 \n"
1101 " BL sub_FF12463C \n"
1102 " MOV R3, #1 \n"
1103 " MOV R2, R3 \n"
1104 " MOV R1, R3 \n"
1105 " MOV R0, R3 \n"
1106 " STR R3, [SP] \n"
1107 " STR R3, [SP, #4] \n"
1108
1109 "loc_FF129AA0:\n"
1110 " BL sub_FF1247A8 \n"
1111
1112 "loc_FF129AA4:\n"
1113 " LDR R0, [SP, #0x28] \n"
1114 " BL sub_FF12A9DC \n"
1115 " B loc_FF12943C \n"
1116 );
1117 }
1118
1119
1120
1121 void __attribute__((naked,noinline)) sub_FF125828_my() {
1122 asm volatile (
1123 " STMFD SP!, {R4-R8,LR} \n"
1124 " LDR R7, =0x4E9C \n"
1125 " MOV R4, R0 \n"
1126 " LDR R0, [R7, #0x1C] \n"
1127 " MOV R1, #0x3E \n"
1128 " BL sub_0068BB88 /*_ClearEventFlag*/ \n"
1129 " MOV R2, #0 \n"
1130 " LDRSH R0, [R4, #4] \n"
1131 " MOV R3, #1 \n"
1132 " MOV R1, R2 \n"
1133 " BL sub_FF124254 \n"
1134 " MOV R6, R0 \n"
1135 " LDRSH R0, [R4, #6] \n"
1136 " BL sub_FF124464 \n"
1137 " LDRSH R0, [R4, #8] \n"
1138 " BL sub_FF1244BC \n"
1139 " LDRSH R0, [R4, #0xA] \n"
1140 " BL sub_FF124514 \n"
1141 " LDRSH R0, [R4, #0xC] \n"
1142 " MOV R1, #0 \n"
1143 " BL sub_FF12456C \n"
1144 " MOV R5, R0 \n"
1145 " LDR R0, [R4] \n"
1146 " LDR R8, =0xF7958 \n"
1147 " CMP R0, #0xB \n"
1148 " MOVEQ R6, #0 \n"
1149 " MOVEQ R5, R6 \n"
1150 " BEQ loc_FF1258C0 \n"
1151 " CMP R6, #1 \n"
1152 " BNE loc_FF1258C0 \n"
1153 " LDRSH R0, [R4, #4] \n"
1154 " LDR R1, =0xFF1241AC \n"
1155 " MOV R2, #2 \n"
1156 " BL sub_FF226D98 \n"
1157 " STRH R0, [R4, #4] \n"
1158 " MOV R0, #0 \n"
1159 " STR R0, [R7, #0x28] \n"
1160 " B loc_FF1258C8 \n"
1161
1162 "loc_FF1258C0:\n"
1163 " LDRH R0, [R8] \n"
1164 " STRH R0, [R4, #4] \n"
1165
1166 "loc_FF1258C8:\n"
1167 " CMP R5, #1 \n"
1168 " LDRNEH R0, [R8, #8] \n"
1169 " BNE loc_FF1258E4 \n"
1170 " LDRSH R0, [R4, #0xC] \n"
1171 " LDR R1, =0xFF124230 \n"
1172 " MOV R2, #0x20 \n"
1173 " BL sub_FF12AA3C \n"
1174
1175 "loc_FF1258E4:\n"
1176 " STRH R0, [R4, #0xC] \n"
1177 " LDRSH R0, [R4, #6] \n"
1178 " BL sub_FF112E20_my \n"
1179 " LDR PC, =0xFF1258F0 \n"
1180 );
1181 }
1182
1183
1184
1185 void __attribute__((naked,noinline)) sub_FF112E20_my() {
1186 asm volatile (
1187 " STMFD SP!, {R4-R6,LR} \n"
1188 " LDR R5, =0x4AF8 \n"
1189 " MOV R4, R0 \n"
1190 " LDR R0, [R5, #4] \n"
1191 " CMP R0, #1 \n"
1192 " MOVNE R1, #0x154 \n"
1193 " LDRNE R0, =0xFF112C58 /*'Shutter.c'*/ \n"
1194 " BLNE _DebugAssert \n"
1195 " CMN R4, #0xC00 \n"
1196 " LDREQSH R4, [R5, #2] \n"
1197 " CMN R4, #0xC00 \n"
1198 " LDREQ R1, =0x15A \n"
1199 " LDREQ R0, =0xFF112C58 /*'Shutter.c'*/ \n"
1200 " STRH R4, [R5, #2] \n"
1201 " BLEQ _DebugAssert \n"
1202 " MOV R0, R4 \n"
1203 " BL apex2us \n"
1204 " LDR PC, =0xFF112E64 \n"
1205 );
1206 }