This source file includes following definitions.
- capt_seq_task
- sub_FFE6ED50_my
- sub_FFE71CC4_my
- exp_drv_task
- sub_FFD0FC90_my
- sub_FFCDCA8C_my
1
2
3
4 #include "lolevel.h"
5 #include "platform.h"
6 #include "core.h"
7
8 static long *nrflag = (long*)0xCF74;
9
10 #include "../../../generic/capt_seq.c"
11
12
13
14 void __attribute__((naked,noinline)) capt_seq_task() {
15 asm volatile (
16 " STMFD SP!, {R4,LR} \n"
17 " SUB SP, SP, #4 \n"
18 " MOV R4, SP \n"
19 " B loc_FFE6F2BC \n"
20
21 "loc_FFE6F160:\n"
22 " LDR R2, [SP] \n"
23 " LDR R3, [R2] \n"
24 " MOV R0, R2 \n"
25 " CMP R3, #0x15 \n"
26 " LDRLS PC, [PC, R3, LSL#2] \n"
27 " B loc_FFE6F290 \n"
28 " .long loc_FFE6F1D0 \n"
29 " .long loc_FFE6F1DC \n"
30 " .long loc_FFE6F1E4 \n"
31 " .long loc_FFE6F1F8 \n"
32 " .long loc_FFE6F1F0 \n"
33 " .long loc_FFE6F200 \n"
34 " .long loc_FFE6F208 \n"
35 " .long loc_FFE6F214 \n"
36 " .long loc_FFE6F21C \n"
37 " .long loc_FFE6F228 \n"
38 " .long loc_FFE6F230 \n"
39 " .long loc_FFE6F238 \n"
40 " .long loc_FFE6F240 \n"
41 " .long loc_FFE6F248 \n"
42 " .long loc_FFE6F250 \n"
43 " .long loc_FFE6F25C \n"
44 " .long loc_FFE6F264 \n"
45 " .long loc_FFE6F26C \n"
46 " .long loc_FFE6F274 \n"
47 " .long loc_FFE6F280 \n"
48 " .long loc_FFE6F288 \n"
49 " .long loc_FFE6F2A4 \n"
50
51 "loc_FFE6F1D0:\n"
52 " BL sub_FFE6F7FC \n"
53 " BL shooting_expo_param_override\n"
54 " BL sub_FFE6D0DC \n"
55 " B loc_FFE6F2A0 \n"
56
57 "loc_FFE6F1DC:\n"
58 " BL sub_FFE6ED50_my \n"
59 " B loc_FFE6F2A0 \n"
60
61 "loc_FFE6F1E4:\n"
62 " MOV R0, #1 \n"
63 " BL sub_FFE6F9D0 \n"
64 " B loc_FFE6F2A0 \n"
65
66 "loc_FFE6F1F0:\n"
67 " BL sub_FFE6F3A0 \n"
68 " B loc_FFE6F2A0 \n"
69
70 "loc_FFE6F1F8:\n"
71 " BL sub_FFE6F7C8 \n"
72 " B loc_FFE6F2A0 \n"
73
74 "loc_FFE6F200:\n"
75 " BL sub_FFE6F7D8 \n"
76 " B loc_FFE6F2A0 \n"
77
78 "loc_FFE6F208:\n"
79 " BL sub_FFE6F8E0 \n"
80 " BL sub_FFE6D0DC \n"
81 " B loc_FFE6F2A0 \n"
82
83 "loc_FFE6F214:\n"
84 " BL sub_FFE6EE5C \n"
85 " B loc_FFE6F2A0 \n"
86
87 "loc_FFE6F21C:\n"
88 " BL sub_FFE6F944 \n"
89 " BL sub_FFE6D0DC \n"
90 " B loc_FFE6F2A0 \n"
91
92 "loc_FFE6F228:\n"
93 " BL sub_FFE6F7C8 \n"
94 " B loc_FFE6F2A0 \n"
95
96 "loc_FFE6F230:\n"
97 " BL sub_FFE70F30 \n"
98 " B loc_FFE6F2A0 \n"
99
100 "loc_FFE6F238:\n"
101 " BL sub_FFE710FC \n"
102 " B loc_FFE6F2A0 \n"
103
104 "loc_FFE6F240:\n"
105 " BL sub_FFE71190 \n"
106 " B loc_FFE6F2A0 \n"
107
108 "loc_FFE6F248:\n"
109 " BL sub_FFE7128C \n"
110 " B loc_FFE6F2A0 \n"
111
112 "loc_FFE6F250:\n"
113 " MOV R0, #0 \n"
114 " BL sub_FFE714F8 \n"
115 " B loc_FFE6F2A0 \n"
116
117 "loc_FFE6F25C:\n"
118 " BL sub_FFE716B0 \n"
119 " B loc_FFE6F2A0 \n"
120
121 "loc_FFE6F264:\n"
122 " BL sub_FFE71744 \n"
123 " B loc_FFE6F2A0 \n"
124
125 "loc_FFE6F26C:\n"
126 " BL sub_FFE71800 \n"
127 " B loc_FFE6F2A0 \n"
128
129 "loc_FFE6F274:\n"
130 " BL sub_FFE6FB24 \n"
131 " BL sub_FFE6EC74 \n"
132 " B loc_FFE6F2A0 \n"
133
134 "loc_FFE6F280:\n"
135 " BL sub_FFE713CC \n"
136 " B loc_FFE6F2A0 \n"
137
138 "loc_FFE6F288:\n"
139 " BL sub_FFE71428 \n"
140 " B loc_FFE6F2A0 \n"
141
142 "loc_FFE6F290:\n"
143 " MOV R1, #0x4C0 \n"
144 " LDR R0, =0xFFE6EAD0 /*'SsShootTask.c'*/ \n"
145 " ADD R1, R1, #0xE \n"
146 " BL _DebugAssert \n"
147
148 "loc_FFE6F2A0:\n"
149 " LDR R2, [SP] \n"
150
151 "loc_FFE6F2A4:\n"
152 " LDR R3, =0x6E2B8 \n"
153 " LDR R1, [R2, #4] \n"
154 " LDR R0, [R3] \n"
155 " BL sub_FFE81C1C /*_SetEventFlag*/ \n"
156 " LDR R0, [SP] \n"
157 " BL sub_FFE6EB50 \n"
158
159 "loc_FFE6F2BC:\n"
160 " LDR R3, =0x6E2BC \n"
161 " MOV R1, R4 \n"
162 " LDR R0, [R3] \n"
163 " MOV R2, #0 \n"
164 " BL sub_FFE82334 /*_ReceiveMessageQueue*/ \n"
165 " TST R0, #1 \n"
166 " BEQ loc_FFE6F160 \n"
167 " LDR R0, =0xFFE6EAD0 /*'SsShootTask.c'*/ \n"
168 " MOV R1, #0x400 \n"
169 " BL _DebugAssert \n"
170 " BL _ExitTask \n"
171 " ADD SP, SP, #4 \n"
172 " LDMFD SP!, {R4,PC} \n"
173 );
174 }
175
176
177
178 void __attribute__((naked,noinline)) sub_FFE6ED50_my() {
179 asm volatile (
180 " STMFD SP!, {R4,LR} \n"
181 " LDR R4, [R0, #0xC] \n"
182 " LDR R3, [R4, #8] \n"
183 " ORR R3, R3, #1 \n"
184 " STR R3, [R4, #8] \n"
185 " MOV R0, #0xC \n"
186 " BL sub_FFE78B8C \n"
187 " TST R0, #1 \n"
188 " MOV R0, #1 \n"
189 " MOV R2, R4 \n"
190 " MOV R1, R0 \n"
191 " BEQ loc_FFE6ED94 \n"
192 " LDR R3, [R4, #8] \n"
193 " ORR R3, R3, #0x40000000 \n"
194 " STR R3, [R4, #8] \n"
195 " LDMFD SP!, {R4,LR} \n"
196 " B sub_FFE6D5EC \n"
197
198 "loc_FFE6ED94:\n"
199 " BL sub_FFE6F7E8 \n"
200 " MOV R0, R4 \n"
201 " BL sub_FFE7081C \n"
202 " TST R0, #1 \n"
203 " MOV R2, R4 \n"
204 " MOV R1, #1 \n"
205 " BEQ loc_FFE6EDB8 \n"
206 " LDMFD SP!, {R4,LR} \n"
207 " B sub_FFE6D5EC \n"
208
209 "loc_FFE6EDB8:\n"
210 " BL sub_FFC0B998 \n"
211 " STR R0, [R4, #0x14] \n"
212 " MOV R0, R4 \n"
213 " BL sub_FFE71BAC \n"
214 " BL sub_FFE72558 \n"
215 " MOV R0, R4 \n"
216 " BL sub_FFE71CC4_my \n"
217 " BL capt_seq_hook_raw_here\n"
218 " MOV R1, #1 \n"
219 " MOV R2, R4 \n"
220 " BL sub_FFE6D5EC \n"
221 " BL sub_FFE71FF8 \n"
222 " CMP R0, #0 \n"
223 " LDRNE R3, [R4, #8] \n"
224 " ORRNE R3, R3, #0x2000 \n"
225 " STRNE R3, [R4, #8] \n"
226 " LDMFD SP!, {R4,PC} \n"
227 );
228 }
229
230
231
232 void __attribute__((naked,noinline)) sub_FFE71CC4_my() {
233 asm volatile (
234 " STMFD SP!, {R4,LR} \n"
235 " MOV R4, R0 \n"
236 " SUB SP, SP, #0xC \n"
237 " BL sub_FFE726EC \n"
238 " MVN R1, #0 \n"
239 " BL sub_FFE81DB8 /*_ClearEventFlag*/ \n"
240 " MOV R0, #0x8A \n"
241 " ADD R1, SP, #4 \n"
242 " MOV R2, #4 \n"
243 " BL _GetPropertyCase \n"
244 " TST R0, #1 \n"
245 " BEQ loc_FFE71D04 \n"
246 " MOV R1, #0x1D0 \n"
247 " LDR R0, =0xFFE71B48 /*'SsCaptureSeq.c'*/ \n"
248 " ADD R1, R1, #2 \n"
249 " BL _DebugAssert \n"
250
251 "loc_FFE71D04:\n"
252 " LDR R3, =0x94240 \n"
253 " LDR R2, =0x94300 \n"
254 " LDR R0, [R3, #0x74] \n"
255 " LDRSH R1, [R2, #0xE] \n"
256 " BL sub_FFDCBEF4 \n"
257 " MOV R0, R4 \n"
258 " BL sub_FFE71ACC \n"
259 " BL wait_until_remote_button_is_released\n"
260 " BL capt_seq_hook_set_nr\n"
261 " LDR PC, =0xFFE71D20 \n"
262 );
263 }
264
265
266
267 void __attribute__((naked,noinline)) exp_drv_task() {
268 asm volatile (
269 " STMFD SP!, {R4-R8,LR} \n"
270 " SUB SP, SP, #0x20 \n"
271 " ADD R7, SP, #4 \n"
272 " B loc_FFD13194 \n"
273
274 "loc_FFD12CA0:\n"
275 " CMP R2, #0x22 \n"
276 " BNE loc_FFD12CB8 \n"
277 " LDR R0, [R12, #0x8C] \n"
278 " MOV LR, PC \n"
279 " LDR PC, [R12, #0x88] \n"
280 " B loc_FFD12D1C \n"
281
282 "loc_FFD12CB8:\n"
283 " CMP R2, #0x1D \n"
284 " BNE loc_FFD12CCC \n"
285 " MOV R0, R12 \n"
286 " BL sub_FFD12B60 \n"
287 " B loc_FFD12D0C \n"
288
289 "loc_FFD12CCC:\n"
290 " CMP R2, #0x1E \n"
291 " BNE loc_FFD12CE0 \n"
292 " MOV R0, R12 \n"
293 " BL sub_FFD12BBC \n"
294 " B loc_FFD12D0C \n"
295
296 "loc_FFD12CE0:\n"
297 " SUB R3, R2, #0x1F \n"
298 " CMP R3, #1 \n"
299 " BHI loc_FFD12CF8 \n"
300 " MOV R0, R12 \n"
301 " BL sub_FFD12C18 \n"
302 " B loc_FFD12D0C \n"
303
304 "loc_FFD12CF8:\n"
305 " CMP R2, #0x21 \n"
306 " BNE loc_FFD12D28 \n"
307 " BL sub_FFCDCE10 \n"
308 " BL sub_FFCDFF48 \n"
309 " BL sub_FFCDF180 \n"
310
311 "loc_FFD12D0C:\n"
312 " LDR R3, [SP, #4] \n"
313 " LDR R0, [R3, #0x8C] \n"
314 " MOV LR, PC \n"
315 " LDR PC, [R3, #0x88] \n"
316
317 "loc_FFD12D1C:\n"
318 " LDR R0, [SP, #4] \n"
319 " BL sub_FFD0E82C \n"
320 " B loc_FFD13194 \n"
321
322 "loc_FFD12D28:\n"
323 " CMP R2, #0xD \n"
324 " MOV R8, #1 \n"
325 " BNE loc_FFD12D98 \n"
326 " LDR R1, [R12, #0x7C] \n"
327 " ADD R1, R1, R1, LSL#1 \n"
328 " ADD R1, R12, R1, LSL#2 \n"
329 " ADD R6, SP, #0x14 \n"
330 " SUB R1, R1, #8 \n"
331 " MOV R2, #0xC \n"
332 " MOV R0, R6 \n"
333 " BL _memcpy \n"
334 " LDR R0, [SP, #4] \n"
335 " BL sub_FFD11164 \n"
336 " LDR R3, [SP, #4] \n"
337 " LDR R1, [R3, #0x7C] \n"
338 " LDR R2, [R3, #0x8C] \n"
339 " ADD R0, R3, #4 \n"
340 " MOV LR, PC \n"
341 " LDR PC, [R3, #0x88] \n"
342 " LDR R0, [SP, #4] \n"
343 " BL sub_FFD11434 \n"
344 " LDR R3, [SP, #4] \n"
345 " ADD R0, R3, #4 \n"
346 " LDR R1, [R3, #0x7C] \n"
347 " LDR R2, [R3, #0x94] \n"
348 " MOV LR, PC \n"
349 " LDR PC, [R3, #0x90] \n"
350 " B loc_FFD130E8 \n"
351
352 "loc_FFD12D98:\n"
353 " SUB R3, R2, #0xE \n"
354 " CMP R3, #1 \n"
355 " BHI loc_FFD12E54 \n"
356 " ADD R6, SP, #0x14 \n"
357 " ADD R5, SP, #8 \n"
358 " MOV R0, R12 \n"
359 " MOV R1, R6 \n"
360 " MOV R2, R5 \n"
361 " BL sub_FFD11528 \n"
362 " MOV R4, R0 \n"
363 " CMP R4, #5 \n"
364 " CMPNE R4, #1 \n"
365 " BNE loc_FFD12DEC \n"
366 " LDR R12, [SP, #4] \n"
367 " MOV R0, R5 \n"
368 " LDR R1, [R12, #0x7C] \n"
369 " MOV R2, R4 \n"
370 " LDR R3, [R12, #0x8C] \n"
371 " MOV LR, PC \n"
372 " LDR PC, [R12, #0x88] \n"
373 " B loc_FFD12E24 \n"
374
375 "loc_FFD12DEC:\n"
376 " CMP R4, #6 \n"
377 " CMPNE R4, #2 \n"
378 " BNE loc_FFD12E34 \n"
379 " LDR R12, [SP, #4] \n"
380 " MOV R0, R5 \n"
381 " MOV R1, R8 \n"
382 " MOV R2, R4 \n"
383 " LDR R3, [R12, #0x8C] \n"
384 " MOV LR, PC \n"
385 " LDR PC, [R12, #0x88] \n"
386 " MOV R1, R6 \n"
387 " LDR R0, [SP, #4] \n"
388 " MOV R2, R5 \n"
389 " BL sub_FFD127C0 \n"
390
391 "loc_FFD12E24:\n"
392 " MOV R1, R4 \n"
393 " LDR R0, [SP, #4] \n"
394 " BL sub_FFD12AF4 \n"
395 " B loc_FFD130E8 \n"
396
397 "loc_FFD12E34:\n"
398 " LDR R12, [SP, #4] \n"
399 " MOV R2, R4 \n"
400 " ADD R0, R12, #4 \n"
401 " LDR R1, [R12, #0x7C] \n"
402 " LDR R3, [R12, #0x8C] \n"
403 " MOV LR, PC \n"
404 " LDR PC, [R12, #0x88] \n"
405 " B loc_FFD130E8 \n"
406
407 "loc_FFD12E54:\n"
408 " SUB R3, R2, #0x19 \n"
409 " CMP R3, #1 \n"
410 " BHI loc_FFD12EAC \n"
411 " LDR R1, [R12, #0x7C] \n"
412 " ADD R1, R1, R1, LSL#1 \n"
413 " ADD R1, R12, R1, LSL#2 \n"
414 " ADD R6, SP, #0x14 \n"
415 " SUB R1, R1, #8 \n"
416 " MOV R2, #0xC \n"
417 " MOV R0, R6 \n"
418 " BL _memcpy \n"
419 " LDR R0, [SP, #4] \n"
420 " BL sub_FFD10614 \n"
421 " LDR R3, [SP, #4] \n"
422 " ADD R0, R3, #4 \n"
423 " LDR R1, [R3, #0x7C] \n"
424 " LDR R2, [R3, #0x8C] \n"
425 " MOV LR, PC \n"
426 " LDR PC, [R3, #0x88] \n"
427 " LDR R0, [SP, #4] \n"
428 " BL sub_FFD10934 \n"
429 " B loc_FFD130E8 \n"
430
431 "loc_FFD12EAC:\n"
432 " ADD R6, SP, #0x14 \n"
433 " ADD R1, R12, #4 \n"
434 " MOV R2, #0xC \n"
435 " MOV R0, R6 \n"
436 " BL _memcpy \n"
437 " LDR R12, [SP, #4] \n"
438 " LDR R3, [R12] \n"
439 " MOV R2, R12 \n"
440 " CMP R3, #0x1C \n"
441 " LDRLS PC, [PC, R3, LSL#2] \n"
442 " B loc_FFD130D4 \n"
443 " .long loc_FFD12F4C \n"
444 " .long loc_FFD12F58 \n"
445 " .long loc_FFD12F64 \n"
446 " .long loc_FFD12F64 \n"
447 " .long loc_FFD12F4C \n"
448 " .long loc_FFD12F58 \n"
449 " .long loc_FFD12F64 \n"
450 " .long loc_FFD12F64 \n"
451 " .long loc_FFD12F88 \n"
452 " .long loc_FFD12F88 \n"
453 " .long loc_FFD130A8 \n"
454 " .long loc_FFD130B4 \n"
455 " .long loc_FFD130C4 \n"
456 " .long loc_FFD130D4 \n"
457 " .long loc_FFD130D4 \n"
458 " .long loc_FFD130D4 \n"
459 " .long loc_FFD12F70 \n"
460 " .long loc_FFD12F7C \n"
461 " .long loc_FFD12F98 \n"
462 " .long loc_FFD12FA4 \n"
463 " .long loc_FFD12FDC \n"
464 " .long loc_FFD13014 \n"
465 " .long loc_FFD1304C \n"
466 " .long loc_FFD13084 \n"
467 " .long loc_FFD13084 \n"
468 " .long loc_FFD130D4 \n"
469 " .long loc_FFD130D4 \n"
470 " .long loc_FFD13090 \n"
471 " .long loc_FFD1309C \n"
472
473 "loc_FFD12F4C:\n"
474 " MOV R0, R2 \n"
475 " BL sub_FFD0F01C \n"
476 " B loc_FFD130D0 \n"
477
478 "loc_FFD12F58:\n"
479 " MOV R0, R2 \n"
480 " BL sub_FFD0F2BC \n"
481 " B loc_FFD130D0 \n"
482
483 "loc_FFD12F64:\n"
484 " MOV R0, R2 \n"
485 " BL sub_FFD0F530 \n"
486 " B loc_FFD130D0 \n"
487
488 "loc_FFD12F70:\n"
489 " MOV R0, R2 \n"
490 " BL sub_FFD0F828 \n"
491 " B loc_FFD130D0 \n"
492
493 "loc_FFD12F7C:\n"
494 " MOV R0, R2 \n"
495 " BL sub_FFD0FA8C \n"
496 " B loc_FFD130D0 \n"
497
498 "loc_FFD12F88:\n"
499 " MOV R0, R2 \n"
500 " BL sub_FFD0FC90_my \n"
501 " MOV R8, #0 \n"
502 " B loc_FFD130D0 \n"
503
504 "loc_FFD12F98:\n"
505 " MOV R0, R2 \n"
506 " BL sub_FFD0FDF0 \n"
507 " B loc_FFD130D0 \n"
508
509 "loc_FFD12FA4:\n"
510 " LDRH R1, [R2, #4] \n"
511 " LDR R3, =0x1DE78 \n"
512 " STRH R1, [SP, #0x14] \n"
513 " LDRH R1, [R3, #6] \n"
514 " STRH R1, [SP, #0x1A] \n"
515 " LDRH R1, [R3, #2] \n"
516 " STRH R1, [SP, #0x16] \n"
517 " LDRH R3, [R3, #4] \n"
518 " STRH R3, [SP, #0x18] \n"
519 " MOV R0, R2 \n"
520 " LDRH R2, [R2, #0xC] \n"
521 " STRH R2, [SP, #0x1C] \n"
522 " BL sub_FFD100E8 \n"
523 " B loc_FFD130D0 \n"
524
525 "loc_FFD12FDC:\n"
526 " MOV R0, R2 \n"
527 " LDRH R2, [R2, #4] \n"
528 " LDR R3, =0x1DE78 \n"
529 " STRH R2, [SP, #0x14] \n"
530 " LDRH R2, [R3, #8] \n"
531 " STRH R2, [SP, #0x1C] \n"
532 " LDRH R1, [R3, #2] \n"
533 " STRH R1, [SP, #0x16] \n"
534 " LDRH R2, [R3, #4] \n"
535 " STRH R2, [SP, #0x18] \n"
536 " LDRH R3, [R3, #6] \n"
537 " STRH R3, [SP, #0x1A] \n"
538 " BL sub_FFD1020C \n"
539 " B loc_FFD130D0 \n"
540
541 "loc_FFD13014:\n"
542 " LDR R3, =0x1DE78 \n"
543 " LDRH R1, [R3] \n"
544 " STRH R1, [SP, #0x14] \n"
545 " MOV R0, R2 \n"
546 " LDRH R2, [R2, #6] \n"
547 " STRH R2, [SP, #0x16] \n"
548 " LDRH R2, [R3, #8] \n"
549 " STRH R2, [SP, #0x1C] \n"
550 " LDRH R1, [R3, #4] \n"
551 " STRH R1, [SP, #0x18] \n"
552 " LDRH R3, [R3, #6] \n"
553 " STRH R3, [SP, #0x1A] \n"
554 " BL sub_FFD102D0 \n"
555 " B loc_FFD130D0 \n"
556
557 "loc_FFD1304C:\n"
558 " LDR R3, =0x1DE78 \n"
559 " LDRH R1, [R3, #6] \n"
560 " STRH R1, [SP, #0x1A] \n"
561 " LDRH R1, [R3] \n"
562 " STRH R1, [SP, #0x14] \n"
563 " LDRH R1, [R3, #2] \n"
564 " STRH R1, [SP, #0x16] \n"
565 " LDRH R3, [R3, #4] \n"
566 " STRH R3, [SP, #0x18] \n"
567 " MOV R0, R2 \n"
568 " LDRH R2, [R2, #0xC] \n"
569 " STRH R2, [SP, #0x1C] \n"
570 " BL sub_FFD10388 \n"
571 " B loc_FFD130D0 \n"
572
573 "loc_FFD13084:\n"
574 " MOV R0, R2 \n"
575 " BL sub_FFD10434 \n"
576 " B loc_FFD130D0 \n"
577
578 "loc_FFD13090:\n"
579 " MOV R0, R2 \n"
580 " BL sub_FFD10A84 \n"
581 " B loc_FFD130D0 \n"
582
583 "loc_FFD1309C:\n"
584 " MOV R0, R2 \n"
585 " BL sub_FFD10C80 \n"
586 " B loc_FFD130D0 \n"
587
588 "loc_FFD130A8:\n"
589 " MOV R0, R2 \n"
590 " BL sub_FFD10E3C \n"
591 " B loc_FFD130D0 \n"
592
593 "loc_FFD130B4:\n"
594 " MOV R0, R2 \n"
595 " MOV R1, #0 \n"
596 " BL sub_FFD11024 \n"
597 " B loc_FFD130D0 \n"
598
599 "loc_FFD130C4:\n"
600 " MOV R0, R2 \n"
601 " MOV R1, #1 \n"
602 " BL sub_FFD11024 \n"
603
604 "loc_FFD130D0:\n"
605 " LDR R12, [SP, #4] \n"
606
607 "loc_FFD130D4:\n"
608 " ADD R0, R12, #4 \n"
609 " LDR R1, [R12, #0x7C] \n"
610 " LDR R2, [R12, #0x8C] \n"
611 " MOV LR, PC \n"
612 " LDR PC, [R12, #0x88] \n"
613
614 "loc_FFD130E8:\n"
615 " CMP R8, #1 \n"
616 " BNE loc_FFD13110 \n"
617 " LDR R1, [SP, #4] \n"
618 " LDR R3, [R1, #0x7C] \n"
619 " ADD R3, R3, R3, LSL#1 \n"
620 " ADD R1, R1, R3, LSL#2 \n"
621 " MOV R0, R6 \n"
622 " SUB R1, R1, #8 \n"
623 " BL sub_FFD0ED94 \n"
624 " B loc_FFD1318C \n"
625
626 "loc_FFD13110:\n"
627 " LDR R3, [SP, #4] \n"
628 " LDR R2, [R3] \n"
629 " CMP R2, #9 \n"
630 " BNE loc_FFD13158 \n"
631 " MOV R4, #0 \n"
632 " MOV R1, #1 \n"
633 " MOV R2, R1 \n"
634 " MOV R3, R1 \n"
635 " MOV R0, R4 \n"
636 " STR R4, [SP] \n"
637 " BL sub_FFD0ECE8 \n"
638 " MOV R1, #1 \n"
639 " MOV R0, R4 \n"
640 " MOV R2, R1 \n"
641 " MOV R3, R1 \n"
642 " STR R4, [SP] \n"
643 " BL sub_FFD0EE70 \n"
644 " B loc_FFD1318C \n"
645
646 "loc_FFD13158:\n"
647 " MOV R4, #1 \n"
648 " MOV R0, R4 \n"
649 " MOV R1, R4 \n"
650 " MOV R2, R4 \n"
651 " MOV R3, R4 \n"
652 " STR R4, [SP] \n"
653 " BL sub_FFD0ECE8 \n"
654 " MOV R0, R4 \n"
655 " MOV R1, R0 \n"
656 " MOV R2, R0 \n"
657 " MOV R3, R0 \n"
658 " STR R4, [SP] \n"
659 " BL sub_FFD0EE70 \n"
660
661 "loc_FFD1318C:\n"
662 " LDR R0, [SP, #4] \n"
663 " BL sub_FFD0E82C \n"
664
665 "loc_FFD13194:\n"
666 " LDR R3, =0x1DE6C \n"
667 " MOV R2, #0 \n"
668 " LDR R0, [R3] \n"
669 " MOV R1, R7 \n"
670 " BL sub_FFE82334 /*_ReceiveMessageQueue*/ \n"
671 " LDR R12, [SP, #4] \n"
672 " LDR R2, [R12] \n"
673 " CMP R2, #0x23 \n"
674 " BNE loc_FFD12CA0 \n"
675 " MOV R0, R12 \n"
676 " BL sub_FFD0E82C \n"
677 " LDR R3, =0x1DE68 \n"
678 " MOV R1, #1 \n"
679 " LDR R0, [R3] \n"
680 " BL sub_FFE81C1C /*_SetEventFlag*/ \n"
681 " BL _ExitTask \n"
682 " ADD SP, SP, #0x20 \n"
683 " LDMFD SP!, {R4-R8,PC} \n"
684 );
685 }
686
687
688
689 void __attribute__((naked,noinline)) sub_FFD0FC90_my() {
690 asm volatile (
691 " STMFD SP!, {R4-R6,LR} \n"
692 " LDR R3, =0x1DE68 \n"
693 " MOV R4, R0 \n"
694 " MOV R1, #0x3E \n"
695 " LDR R0, [R3] \n"
696 " BL sub_FFE81DB8 /*_ClearEventFlag*/ \n"
697 " MOV R1, #0 \n"
698 " LDRSH R0, [R4, #4] \n"
699 " BL sub_FFD0E95C \n"
700 " MOV R6, R0 \n"
701 " LDRSH R0, [R4, #6] \n"
702 " BL sub_FFD0EA28 \n"
703 " LDRSH R0, [R4, #8] \n"
704 " BL sub_FFD0EAC4 \n"
705 " LDRSH R0, [R4, #0xA] \n"
706 " BL sub_FFD0EB60 \n"
707 " LDRSH R0, [R4, #0xC] \n"
708 " BL sub_FFD0EBFC \n"
709 " LDR R3, [R4] \n"
710 " CMP R3, #9 \n"
711 " MOV R5, R0 \n"
712 " MOVEQ R5, #0 \n"
713 " MOVEQ R6, R5 \n"
714 " CMP R6, #1 \n"
715 " BNE loc_FFD0FD14 \n"
716 " MOV R2, #2 \n"
717 " LDRSH R0, [R4, #4] \n"
718 " LDR R1, =0xFFD0E87C \n"
719 " BL sub_FFE494C4 \n"
720 " LDR R2, =0x1DEA8 \n"
721 " MOV R3, #0 \n"
722 " STR R3, [R2] \n"
723 " B loc_FFD0FD18 \n"
724
725 "loc_FFD0FD14:\n"
726 " BL sub_FFD0EC98 \n"
727
728 "loc_FFD0FD18:\n"
729 " STRH R0, [R4, #4] \n"
730 " CMP R5, #1 \n"
731 " BNE loc_FFD0FD38 \n"
732 " LDRSH R0, [R4, #0xC] \n"
733 " LDR R1, =0xFFD0E940 \n"
734 " MOV R2, #0x20 \n"
735 " BL sub_FFD0EFBC \n"
736 " B loc_FFD0FD3C \n"
737
738 "loc_FFD0FD38:\n"
739 " BL sub_FFD0ECD8 \n"
740
741 "loc_FFD0FD3C:\n"
742 " STRH R0, [R4, #0xC] \n"
743 " LDRSH R0, [R4, #6] \n"
744 " BL sub_FFCDCA8C_my \n"
745 " LDRSH R0, [R4, #8] \n"
746 " MOV R1, #1 \n"
747 " BL sub_FFCDED40 \n"
748 " ADD R0, R4, #8 \n"
749 " MOV R1, #0 \n"
750 " BL sub_FFCDEE00 \n"
751 " LDRSH R0, [R4, #0xE] \n"
752 " BL sub_FFCFD614 \n"
753 " CMP R6, #1 \n"
754 " BNE loc_FFD0FDA0 \n"
755 " LDR R3, =0x1DE68 \n"
756 " MOV R2, #0xBB0 \n"
757 " LDR R0, [R3] \n"
758 " MOV R1, #2 \n"
759 " ADD R2, R2, #8 \n"
760 " BL sub_FFE81C0C /*_WaitForAllEventFlag*/ \n"
761 " TST R0, #1 \n"
762 " BEQ loc_FFD0FDA0 \n"
763 " MOV R1, #0x460 \n"
764 " LDR R0, =0xFFD0E7D8 /*'ExpDrv.c'*/ \n"
765 " ADD R1, R1, #2 \n"
766 " BL _DebugAssert \n"
767
768 "loc_FFD0FDA0:\n"
769 " CMP R5, #1 \n"
770 " LDMNEFD SP!, {R4-R6,PC} \n"
771 " LDR R3, =0x1DE68 \n"
772 " MOV R2, #0xBB0 \n"
773 " LDR R0, [R3] \n"
774 " MOV R1, #0x20 \n"
775 " ADD R2, R2, #8 \n"
776 " BL sub_FFE81C0C /*_WaitForAllEventFlag*/ \n"
777 " TST R0, #1 \n"
778 " LDMEQFD SP!, {R4-R6,PC} \n"
779 " MOV R1, #0x460 \n"
780 " LDR R0, =0xFFD0E7D8 /*'ExpDrv.c'*/ \n"
781 " ADD R1, R1, #7 \n"
782 " LDMFD SP!, {R4-R6,LR} \n"
783 " B _DebugAssert \n"
784 );
785 }
786
787
788
789 void __attribute__((naked,noinline)) sub_FFCDCA8C_my() {
790 asm volatile (
791 " STMFD SP!, {R4,LR} \n"
792 " LDR R3, =0x593C \n"
793 " LDR R2, [R3] \n"
794 " MOV R1, #0x168 \n"
795 " MOV R3, R0, LSL#16 \n"
796 " CMP R2, #1 \n"
797 " ADD R1, R1, #3 \n"
798 " LDR R0, =0xFFCDC2A8 /*'Shutter.c'*/ \n"
799 " MOV R4, R3, ASR#16 \n"
800 " BEQ loc_FFCDCAB8 \n"
801 " BL _DebugAssert \n"
802
803 "loc_FFCDCAB8:\n"
804 " MOV R1, #0x170 \n"
805 " CMN R4, #0xC00 \n"
806 " LDR R3, =0x11A7E \n"
807 " LDR R0, =0xFFCDC2A8 /*'Shutter.c'*/ \n"
808 " ADD R1, R1, #1 \n"
809 " LDREQSH R4, [R3] \n"
810 " LDRNE R3, =0x11A7E \n"
811 " CMN R4, #0xC00 \n"
812 " STRH R4, [R3] \n"
813 " BNE loc_FFCDCAE4 \n"
814 " BL _DebugAssert \n"
815
816 "loc_FFCDCAE4:\n"
817 " MOV R0, R4 \n"
818 " BL apex2us \n"
819 " LDR PC, =0xFFCDCAEC \n"
820 );
821 }