This source file includes following definitions.
- capt_seq_task
- sub_FF9B8B48_my
- sub_FF9B8AA4_my
- sub_FF9B88AC_my
- sub_FFAF7E5C_my
1
2
3
4 #include "lolevel.h"
5 #include "platform.h"
6 #include "core.h"
7
8 #define USE_STUBS_NRFLAG 1
9 #define NR_AUTO (0)
10 #define PAUSE_FOR_FILE_COUNTER 350
11
12 #include "../../../generic/capt_seq.c"
13
14
15
16 void __attribute__((naked,noinline)) capt_seq_task() {
17 asm volatile (
18 " STMFD SP!, {R3-R7,LR} \n"
19 " LDR R5, =0x1BAC4 \n"
20 " LDR R7, =0x37C0 \n"
21 " MOV R6, #0 \n"
22
23 "loc_FF892494:\n"
24 " LDR R0, [R7, #8] \n"
25 " MOV R2, #0 \n"
26 " MOV R1, SP \n"
27 " BL sub_FF838728 /*_ReceiveMessageQueue*/ \n"
28 " TST R0, #1 \n"
29 " BEQ loc_FF8924C4 \n"
30 " LDR R2, =0x452 \n"
31 " LDR R1, =0xFF891D60 /*'SsShootTask.c'*/ \n"
32 " MOV R0, #0 \n"
33 " BL _DebugAssert \n"
34 " BL _ExitTask \n"
35 " LDMFD SP!, {R3-R7,PC} \n"
36
37 "loc_FF8924C4:\n"
38 " LDR R0, [SP] \n"
39 " LDR R0, [R0] \n"
40 " CMP R0, #1 \n"
41 " CMPNE R0, #0x2D \n"
42 " CMPNE R0, #0x21 \n"
43 " BLNE sub_FF9B9B20 \n"
44 " LDR R0, [SP] \n"
45 " LDR R1, [R0] \n"
46 " CMP R1, #0x31 \n"
47 " ADDCC PC, PC, R1, LSL#2 \n"
48 " B loc_FF892768 \n"
49 " B loc_FF8925B4 \n"
50 " B loc_FF8925D0 \n"
51 " B loc_FF8925DC \n"
52 " B loc_FF8925F0 \n"
53 " B loc_FF8925E8 \n"
54 " B loc_FF892600 \n"
55 " B loc_FF892608 \n"
56 " B loc_FF892614 \n"
57 " B loc_FF892620 \n"
58 " B loc_FF892634 \n"
59 " B loc_FF892640 \n"
60 " B loc_FF892648 \n"
61 " B loc_FF892768 \n"
62 " B loc_FF892768 \n"
63 " B loc_FF892768 \n"
64 " B loc_FF892768 \n"
65 " B loc_FF892654 \n"
66 " B loc_FF89265C \n"
67 " B loc_FF892768 \n"
68 " B loc_FF892664 \n"
69 " B loc_FF89266C \n"
70 " B loc_FF892674 \n"
71 " B loc_FF892680 \n"
72 " B loc_FF892688 \n"
73 " B loc_FF892690 \n"
74 " B loc_FF892698 \n"
75 " B loc_FF8926A0 \n"
76 " B loc_FF892768 \n"
77 " B loc_FF8926A8 \n"
78 " B loc_FF8926B4 \n"
79 " B loc_FF892768 \n"
80 " B loc_FF8926C0 \n"
81 " B loc_FF8926C8 \n"
82 " B loc_FF8926D0 \n"
83 " B loc_FF8926DC \n"
84 " B loc_FF892768 \n"
85 " B loc_FF8926E4 \n"
86 " B loc_FF892768 \n"
87 " B loc_FF8926EC \n"
88 " B loc_FF8926F4 \n"
89 " B loc_FF8926FC \n"
90 " B loc_FF892708 \n"
91 " B loc_FF892710 \n"
92 " B loc_FF892768 \n"
93 " B loc_FF89273C \n"
94 " B loc_FF892748 \n"
95 " B loc_FF89275C \n"
96 " B loc_FF892768 \n"
97 " B loc_FF892778 \n"
98
99 "loc_FF8925B4:\n"
100 " LDR R0, [R0, #0xC] \n"
101 " BL sub_FF892E00 \n"
102 " BL shooting_expo_param_override\n"
103 " BL sub_FF88F888 \n"
104
105
106
107 " LDR R0, [R5, #0x24] \n"
108 " CMP R0, #0 \n"
109 " BLNE sub_FF9B8B48_my \n"
110 " B loc_FF892778 \n"
111
112 "loc_FF8925D0:\n"
113 " LDR R0, [R0, #0x10] \n"
114 " BL sub_FF9B8AA4_my \n"
115 " B loc_FF892778 \n"
116
117 "loc_FF8925DC:\n"
118 " MOV R0, #1 \n"
119 " BL sub_FF8931E0 \n"
120 " B loc_FF892778 \n"
121
122 "loc_FF8925E8:\n"
123 " BL sub_FF892968 \n"
124 " B loc_FF8925F8 \n"
125
126 "loc_FF8925F0:\n"
127 " LDR R0, [R0, #0xC] \n"
128 " BL sub_FF892D9C \n"
129
130 "loc_FF8925F8:\n"
131 " STR R6, [R5, #0x24] \n"
132 " B loc_FF892778 \n"
133
134 "loc_FF892600:\n"
135 " BL sub_FF892DA8 \n"
136 " B loc_FF892778 \n"
137
138 "loc_FF892608:\n"
139 " BL sub_FF893098 \n"
140 " BL sub_FF88F888 \n"
141 " B loc_FF892778 \n"
142
143 "loc_FF892614:\n"
144 " LDR R0, [R0, #0x10] \n"
145 " BL sub_FF9B8C74 \n"
146 " B loc_FF892778 \n"
147
148 "loc_FF892620:\n"
149 " BL sub_FF893130 \n"
150 " BL sub_FF88F888 \n"
151 " MOV R0, #0 \n"
152 " BL sub_FF831A7C \n"
153 " B loc_FF892778 \n"
154
155 "loc_FF892634:\n"
156 " LDR R0, [R5, #0x50] \n"
157 " BL sub_FF894408 \n"
158 " B loc_FF892778 \n"
159
160 "loc_FF892640:\n"
161 " BL sub_FF89486C \n"
162 " B loc_FF892778 \n"
163
164 "loc_FF892648:\n"
165 " LDR R0, [R0, #0xC] \n"
166 " BL sub_FF8948D4 \n"
167 " B loc_FF892778 \n"
168
169 "loc_FF892654:\n"
170 " BL sub_FF9B706C \n"
171 " B loc_FF892778 \n"
172
173 "loc_FF89265C:\n"
174 " BL sub_FF9B725C \n"
175 " B loc_FF892778 \n"
176
177 "loc_FF892664:\n"
178 " BL sub_FF9B731C \n"
179 " B loc_FF892778 \n"
180
181 "loc_FF89266C:\n"
182 " BL sub_FF9B7408 \n"
183 " B loc_FF892778 \n"
184
185 "loc_FF892674:\n"
186 " MOV R0, #0 \n"
187 " BL sub_FF9B7688 \n"
188 " B loc_FF892778 \n"
189
190 "loc_FF892680:\n"
191 " BL sub_FF9B77FC \n"
192 " B loc_FF892778 \n"
193
194 "loc_FF892688:\n"
195 " BL sub_FF89BB6C \n"
196 " B loc_FF892778 \n"
197
198 "loc_FF892690:\n"
199 " BL sub_FF89BB78 \n"
200 " B loc_FF892778 \n"
201
202 "loc_FF892698:\n"
203 " MOV R0, #0 \n"
204 " B loc_FF8926AC \n"
205
206 "loc_FF8926A0:\n"
207 " MOV R0, #0 \n"
208 " B loc_FF8926B8 \n"
209
210 "loc_FF8926A8:\n"
211 " MOV R0, #1 \n"
212
213 "loc_FF8926AC:\n"
214 " BL sub_FF9B7884 \n"
215 " B loc_FF892778 \n"
216
217 "loc_FF8926B4:\n"
218 " MOV R0, #1 \n"
219
220 "loc_FF8926B8:\n"
221 " BL sub_FF9B7960 \n"
222 " B loc_FF892778 \n"
223
224 "loc_FF8926C0:\n"
225 " BL sub_FF8932FC \n"
226 " B loc_FF892778 \n"
227
228 "loc_FF8926C8:\n"
229 " MOV R0, #0 \n"
230 " B loc_FF8926D4 \n"
231
232 "loc_FF8926D0:\n"
233 " LDR R0, [R0, #0xC] \n"
234
235 "loc_FF8926D4:\n"
236 " BL sub_FF8933A4 \n"
237 " B loc_FF892778 \n"
238
239 "loc_FF8926DC:\n"
240 " BL sub_FF9B74B8 \n"
241 " B loc_FF892778 \n"
242
243 "loc_FF8926E4:\n"
244 " BL sub_FF9B7508 \n"
245 " B loc_FF892778 \n"
246
247 "loc_FF8926EC:\n"
248 " BL sub_FF897718 \n"
249 " B loc_FF892778 \n"
250
251 "loc_FF8926F4:\n"
252 " BL sub_FF89781C \n"
253 " B loc_FF892778 \n"
254
255 "loc_FF8926FC:\n"
256 " LDR R0, [R0, #0xC] \n"
257 " BL sub_FF9B7A78 \n"
258 " B loc_FF892778 \n"
259
260 "loc_FF892708:\n"
261 " BL sub_FF9B7B08 \n"
262 " B loc_FF892778 \n"
263
264 "loc_FF892710:\n"
265 " BL sub_FF89A228 \n"
266 " LDR R0, =0x1BBC4 \n"
267 " LDRH R0, [R0, #0xA8] \n"
268 " CMP R0, #4 \n"
269 " LDRNEH R0, [R5] \n"
270 " SUBNE R1, R0, #0x8200 \n"
271 " SUBNES R1, R1, #0x37 \n"
272 " BNE loc_FF892778 \n"
273 " BL sub_FF89781C \n"
274 " BL sub_FF897DE0 \n"
275 " B loc_FF892778 \n"
276
277 "loc_FF89273C:\n"
278 " MOV R2, #0 \n"
279 " MOV R1, #0x12 \n"
280 " B loc_FF892750 \n"
281
282 "loc_FF892748:\n"
283 " MOV R2, #0 \n"
284 " MOV R1, #0x10 \n"
285
286 "loc_FF892750:\n"
287 " MOV R0, #0 \n"
288 " BL sub_FF890378 \n"
289 " B loc_FF892778 \n"
290
291 "loc_FF89275C:\n"
292 " MOV R2, #0 \n"
293 " MOV R1, #0x11 \n"
294 " B loc_FF892750 \n"
295
296 "loc_FF892768:\n"
297 " LDR R2, =0x58E \n"
298 " LDR R1, =0xFF891D60 /*'SsShootTask.c'*/ \n"
299 " MOV R0, #0 \n"
300 " BL _DebugAssert \n"
301
302 "loc_FF892778:\n"
303 " LDR R0, [SP] \n"
304 " LDR R1, [R0, #4] \n"
305 " LDR R0, [R7, #4] \n"
306 " BL sub_FF8384BC /*_SetEventFlag*/ \n"
307 " LDR R4, [SP] \n"
308 " LDR R0, [R4, #8] \n"
309 " CMP R0, #0 \n"
310 " LDREQ R2, =0x102 \n"
311 " LDREQ R1, =0xFF891D60 /*'SsShootTask.c'*/ \n"
312 " BLEQ _DebugAssert \n"
313 " STR R6, [R4, #8] \n"
314 " B loc_FF892494 \n"
315 );
316 }
317
318
319
320 void __attribute__((naked,noinline)) sub_FF9B8B48_my() {
321 asm volatile (
322 " STMFD SP!, {R3-R7,LR} \n"
323 " BL sub_FF891984 \n"
324 " MOV R4, R0 \n"
325 " MOV R0, #0xC \n"
326 " BL sub_FF8997E4 \n"
327 " LDR R6, =0x7544 \n"
328 " TST R0, #1 \n"
329 " MOV R5, #1 \n"
330 " BNE loc_FF9B8C08 \n"
331 " MOV R2, #2 \n"
332 " MOV R1, SP \n"
333 " MOV R0, #0x114 \n"
334 " BL _GetPropertyCase \n"
335 " TST R0, #1 \n"
336 " ADDNE R2, R5, #0x1A4 \n"
337 " LDRNE R1, =0xFF9B8C28 /*'SsCaptureCtrl.c'*/ \n"
338 " MOVNE R0, #0 \n"
339 " BLNE _DebugAssert \n"
340 " LDRSH R0, [SP] \n"
341 " BL sub_FF82BCF0 \n"
342 " BL sub_FF82BB14 \n"
343 " CMP R0, #1 \n"
344 " BLS loc_FF9B8C10 \n"
345 " MOV R0, #0 \n"
346 " BL sub_FF82BC64 \n"
347 " BL sub_FF892DB4 \n"
348 " MOV R0, R4 \n"
349 " BL sub_FF894C08 \n"
350 " MOV R1, R4 \n"
351 " BL sub_FF894C74 \n"
352 " LDR R0, =0x11A \n"
353 " MOV R2, #4 \n"
354 " ADD R1, R4, #0x34 \n"
355 " BL _SetPropertyCase \n"
356 " MOV R2, #4 \n"
357 " ADD R1, R4, #0x38 \n"
358 " MOV R0, #0x33 \n"
359 " BL _SetPropertyCase \n"
360 " MOV R2, #4 \n"
361 " ADD R1, R4, #8 \n"
362 " MOV R0, #0x47 \n"
363 " BL _SetPropertyCase \n"
364 " MOV R0, R4 \n"
365 " BL sub_FF9B8564 \n"
366 " MOV R0, R4 \n"
367 " BL sub_FFAF7E5C_my \n"
368 " TST R0, #1 \n"
369 " BEQ loc_FF9B8C0C \n"
370
371 "loc_FF9B8C08:\n"
372 " STR R5, [R6] \n"
373
374 "loc_FF9B8C0C:\n"
375 " LDMFD SP!, {R3-R7,PC} \n"
376
377 "loc_FF9B8C10:\n"
378 " STR R5, [R6] \n"
379 " BL sub_FF890090 \n"
380 " BL sub_FF89984C \n"
381 " LDMFD SP!, {R3-R7,PC} \n"
382 );
383 }
384
385
386
387 void __attribute__((naked,noinline)) sub_FF9B8AA4_my() {
388 asm volatile (
389 " STMFD SP!, {R4-R6,LR} \n"
390 " LDR R5, =0x1BAC4 \n"
391 " MOV R6, R0 \n"
392 " LDR R0, [R5, #0x24] \n"
393 " MOV R4, #0 \n"
394 " CMP R0, #0 \n"
395 " BEQ loc_FF9B8B00 \n"
396 " LDR R2, [R6, #0xF8] \n"
397 " LDR R1, =0xFF9B8C48 /*'CaptCtrl:Quick(%d)'*/ \n"
398 " MOV R0, #0x120 \n"
399 " BL sub_FF8356E8 /*_LogCameraEvent*/ \n"
400 " LDR R0, =0x7544 \n"
401 " MOV R2, R6 \n"
402 " LDR R0, [R0] \n"
403 " MOV R1, #2 \n"
404 " CMP R0, #0 \n"
405 " MOVNE R4, #0x1D \n"
406 " MOV R0, R4 \n"
407 " BL sub_FF890378 \n"
408 " MOV R1, R4 \n"
409 " MOV R0, R6 \n"
410 " BL sub_FF9B98A8 \n"
411 " B loc_FF9B8B3C \n"
412
413 "loc_FF9B8B00:\n"
414 " LDR R1, =0xFF9B8C60 /*'CaptCtrl:ExecCapt'*/ \n"
415 " MOV R0, #0x120 \n"
416 " BL sub_FF8356E8 /*_LogCameraEvent*/ \n"
417 " MOV R0, R6 \n"
418 " BL sub_FF9B88AC_my \n"
419 " TST R0, #1 \n"
420 " MOV R4, R0 \n"
421 " BEQ loc_FF9B8B3C \n"
422 " MOV R2, R6 \n"
423 " MOV R1, #2 \n"
424 " MOV R0, R4 \n"
425 " BL sub_FF890378 \n"
426 " MOV R1, R4 \n"
427 " MOV R0, R6 \n"
428 " BL sub_FF9B9ABC \n"
429
430 "loc_FF9B8B3C:\n"
431 " MOV R0, #0 \n"
432 " STR R0, [R5, #0x24] \n"
433 " LDMFD SP!, {R4-R6,PC} \n"
434 );
435 }
436
437
438
439 void __attribute__((naked,noinline)) sub_FF9B88AC_my() {
440 asm volatile (
441 " STMFD SP!, {R2-R8,LR} \n"
442 " MOV R4, R0 \n"
443 " BL sub_FF894C08 \n"
444 " MOV R1, R4 \n"
445 " BL sub_FF894C74 \n"
446 " LDR R0, =0x11A \n"
447 " MOV R2, #4 \n"
448 " ADD R1, R4, #0x34 \n"
449 " BL _SetPropertyCase \n"
450 " MOV R2, #4 \n"
451 " ADD R1, R4, #0x38 \n"
452 " MOV R0, #0x33 \n"
453 " BL _SetPropertyCase \n"
454 " LDR R7, =0x1BAC4 \n"
455 " LDR R0, [R7, #0x100] \n"
456 " ADD R5, R7, #0x100 \n"
457 " CMP R0, #0 \n"
458 " BNE loc_FF9B890C \n"
459 " LDRH R0, [R5, #0xA6] \n"
460 " CMP R0, #3 \n"
461 " LDRNE R0, [R4, #8] \n"
462 " CMPNE R0, #1 \n"
463 " BHI loc_FF9B8930 \n"
464 " B loc_FF9B8918 \n"
465
466 "loc_FF9B890C:\n"
467 " LDR R0, [R4, #0xC] \n"
468 " CMP R0, #1 \n"
469 " BNE loc_FF9B8930 \n"
470
471 "loc_FF9B8918:\n"
472 " MOV R0, #0xC \n"
473 " BL sub_FF8997E4 \n"
474 " TST R0, #1 \n"
475 " BEQ loc_FF9B8930 \n"
476 " BL sub_FF890090 \n"
477 " B loc_FF9B8A58 \n"
478
479 "loc_FF9B8930:\n"
480 " LDR R0, [R7, #0xE4] \n"
481 " CMP R0, #0 \n"
482 " BEQ loc_FF9B8964 \n"
483 " LDRH R0, [R5, #0xA6] \n"
484 " CMP R0, #3 \n"
485 " LDRNE R0, [R4, #8] \n"
486 " CMPNE R0, #1 \n"
487 " BHI loc_FF9B89A4 \n"
488 " LDR R0, [R7, #0x100] \n"
489 " CMP R0, #0 \n"
490 " LDRNE R0, [R4, #0xC] \n"
491 " CMPNE R0, #1 \n"
492 " BHI loc_FF9B89A4 \n"
493
494 "loc_FF9B8964:\n"
495 " MOV R2, #2 \n"
496 " ADD R1, SP, #4 \n"
497 " MOV R0, #0x114 \n"
498 " BL _GetPropertyCase \n"
499 " TST R0, #1 \n"
500 " MOVNE R2, #0xCB \n"
501 " LDRNE R1, =0xFF9B8C28 /*'SsCaptureCtrl.c'*/ \n"
502 " MOVNE R0, #0 \n"
503 " BLNE _DebugAssert \n"
504 " LDRSH R0, [SP, #4] \n"
505 " BL sub_FF82BCF0 \n"
506 " BL sub_FF82BB14 \n"
507 " CMP R0, #1 \n"
508 " BLS loc_FF9B8A50 \n"
509 " MOV R0, #0 \n"
510 " BL sub_FF82BC64 \n"
511
512 "loc_FF9B89A4:\n"
513 " MOV R0, R4 \n"
514 " BL sub_FF893384 \n"
515 " TST R0, #1 \n"
516 " BNE loc_FF9B8A5C \n"
517 " MOV R0, R4 \n"
518 " BL sub_FF9B6D60 \n"
519 " TST R0, #1 \n"
520 " MOV R6, R0 \n"
521 " BNE loc_FF9B8A9C \n"
522 " BL sub_FF892DB4 \n"
523 " MOV R0, R4 \n"
524 " BL sub_FF9B8564 \n"
525 " LDR R0, [R7, #0x98] \n"
526 " CMP R0, #0 \n"
527 " BEQ loc_FF9B8A80 \n"
528 " LDRH R0, [R5, #0xA6] \n"
529 " CMP R0, #3 \n"
530 " LDRNE R0, [R4, #8] \n"
531 " CMPNE R0, #1 \n"
532 " BLS loc_FF9B8A10 \n"
533 " BL sub_FF9B94A0 \n"
534 " LDR R3, =0x12B \n"
535 " LDR R2, =0x3A98 \n"
536 " STR R3, [SP] \n"
537 " LDR R3, =0xFF9B8C28 /*'SsCaptureCtrl.c'*/ \n"
538 " MOV R1, #0x800 \n"
539 " BL sub_FF899DFC \n"
540
541 "loc_FF9B8A10:\n"
542 " MOV R2, #4 \n"
543 " ADD R1, SP, #4 \n"
544 " MOV R0, #0x18C \n"
545 " BL _GetPropertyCase \n"
546 " TST R0, #1 \n"
547 " LDRNE R2, =0x12F \n"
548 " LDRNE R1, =0xFF9B8C28 /*'SsCaptureCtrl.c'*/ \n"
549 " MOVNE R0, #0 \n"
550 " BLNE _DebugAssert \n"
551 " LDR R0, [SP, #4] \n"
552 " CMP R0, #0 \n"
553 " BNE loc_FF9B8A60 \n"
554 " BL sub_FF9B94A0 \n"
555 " MOV R1, #0x800 \n"
556 " BL sub_FF8384BC /*_SetEventFlag*/ \n"
557 " B loc_FF9B8A80 \n"
558
559 "loc_FF9B8A50:\n"
560 " BL sub_FF890090 \n"
561 " BL sub_FF89984C \n"
562
563 "loc_FF9B8A58:\n"
564 " MOV R0, #1 \n"
565
566 "loc_FF9B8A5C:\n"
567 " LDMFD SP!, {R2-R8,PC} \n"
568
569 "loc_FF9B8A60:\n"
570 " BL sub_FF9B94A0 \n"
571 " MOV R1, #0x800 \n"
572 " BL sub_FF838504 /*_ClearEventFlag*/ \n"
573 " LDR R2, =0xFF9B8898 \n"
574 " LDR R0, [SP, #4] \n"
575 " MOV R3, #0x800 \n"
576 " MOV R1, R2 \n"
577 " BL sub_FF828974 /*_SetTimerAfter*/ \n"
578
579 "loc_FF9B8A80:\n"
580 " LDR R0, [R7, #0xA4] \n"
581 " CMP R0, #0 \n"
582 " MOV R0, R4 \n"
583 " BEQ loc_FF9B8A98 \n"
584 " BL sub_FFAF83BC \n"
585 " B loc_FF9B8A9C \n"
586
587 "loc_FF9B8A98:\n"
588 " BL sub_FFAF7E5C_my \n"
589
590 "loc_FF9B8A9C:\n"
591 " MOV R0, R6 \n"
592 " LDMFD SP!, {R2-R8,PC} \n"
593 );
594 }
595
596
597
598 void __attribute__((naked,noinline)) sub_FFAF7E5C_my() {
599 asm volatile (
600 " STMFD SP!, {R0-R8,LR} \n"
601 " MOV R4, R0 \n"
602 " BL sub_FF894D20 \n"
603 " MOV R0, R4 \n"
604 " BL sub_FF9B847C \n"
605 " BL sub_FF9B92D0 \n"
606 " LDR R7, =0x1BAC4 \n"
607 " LDR R0, [R7, #0x19C] \n"
608 " ADD R5, R7, #0x100 \n"
609 " CMP R0, #2 \n"
610 " BNE loc_FFAF7EA0 \n"
611 " LDRH R0, [R5, #0xA6] \n"
612 " CMP R0, #3 \n"
613 " LDRNE R0, [R4, #8] \n"
614 " CMPNE R0, #1 \n"
615 " MOVLS R0, #6 \n"
616 " BLLS sub_FF91D6E4 \n"
617
618 "loc_FFAF7EA0:\n"
619 " LDR R0, [R4, #0x1C] \n"
620 " LDR R1, =0x13B \n"
621 " MOV R3, #4 \n"
622 " ADD R2, SP, #0xC \n"
623 " BL sub_FF8A55E0 \n"
624 " TST R0, #1 \n"
625 " LDRNE R2, =0x1B5 \n"
626 " LDRNE R1, =0xFFAF81A0 /*'SsStandardCaptureSeq.c'*/ \n"
627 " MOVNE R0, #0 \n"
628 " BLNE _DebugAssert \n"
629 " LDR R0, [SP, #0xC] \n"
630 " AND R0, R0, #0xFF00 \n"
631 " CMP R0, #0x600 \n"
632 " LDRNE R0, =0xFF9B804C \n"
633 " LDREQ R0, =0xFFAF7E58 \n"
634 " MOVNE R1, R4 \n"
635 " MOVEQ R1, #0 \n"
636 " BL sub_FFA437F8 \n"
637 " MOV R3, #2 \n"
638 " LDR R0, [R4, #0x1C] \n"
639 " ADD R2, SP, #8 \n"
640 " ADD R1, R3, #0x114 \n"
641 " BL sub_FF8A55E0 \n"
642 " TST R0, #1 \n"
643 " LDRNE R2, =0x1BE \n"
644 " LDRNE R1, =0xFFAF81A0 /*'SsStandardCaptureSeq.c'*/ \n"
645 " MOVNE R0, #0 \n"
646 " BLNE _DebugAssert \n"
647 " LDR R0, [R7, #0xFC] \n"
648 " CMP R0, #0 \n"
649 " BEQ loc_FFAF7F60 \n"
650 " LDRH R0, [R5, #0xA6] \n"
651 " CMP R0, #3 \n"
652 " LDRNE R0, [R4, #8] \n"
653 " CMPNE R0, #1 \n"
654 " BHI loc_FFAF7F60 \n"
655 " MOV R0, #1 \n"
656 " MOV R2, #2 \n"
657 " ADD R5, R2, #0x168 \n"
658 " STR R0, [SP] \n"
659 " MOV R1, SP \n"
660 " MOV R0, R5 \n"
661 " BL _SetPropertyCase \n"
662 " LDR R0, [R4, #0x1C] \n"
663 " MOV R3, #2 \n"
664 " MOV R2, SP \n"
665 " MOV R1, R5 \n"
666 " BL sub_FF8A5530 \n"
667
668 "loc_FFAF7F60:\n"
669 " BL wait_until_remote_button_is_released\n"
670 " BL capt_seq_hook_set_nr\n"
671 " MOV R0, R4 \n"
672 " BL sub_FF9B8600 \n"
673 " LDR R0, [R4, #0x1C] \n"
674 " MOV R3, #4 \n"
675 " ADD R2, SP, #4 \n"
676 " MOV R1, #0x93 \n"
677 " BL sub_FF8A55E0 \n"
678 " TST R0, #1 \n"
679 " LDRNE R2, =0x1CA \n"
680 " LDRNE R1, =0xFFAF81A0 /*'SsStandardCaptureSeq.c'*/ \n"
681 " MOVNE R0, #0 \n"
682 " BLNE _DebugAssert \n"
683 " LDRH R0, [R4, #0x18] \n"
684 " CMP R0, #0 \n"
685 " LDREQ R1, [R4, #0x38] \n"
686 " LDREQ R2, [SP, #4] \n"
687 " MOVEQ R0, R4 \n"
688 " BLEQ sub_FF9B7D34 \n"
689 " LDR R0, [R7, #0x180] \n"
690 " CMP R0, #0 \n"
691 " BLNE sub_FF9B833C \n"
692 " BL sub_FF896864 \n"
693 " BL sub_FF884EB8 \n"
694 " MOV R1, #0 \n"
695 " MOV R0, R4 \n"
696 " BL sub_FFAF830C \n"
697 " MOV R6, R0 \n"
698 " LDR R0, [SP, #0xC] \n"
699 " AND R0, R0, #0xFF00 \n"
700 " CMP R0, #0x600 \n"
701 " LDRH R0, [R4, #0x18] \n"
702 " LDRNE R5, =0xFF9B8310 \n"
703 " LDREQ R5, =0xFF9B82F0 \n"
704 " CMP R0, #0 \n"
705 " BEQ loc_FFAF8020 \n"
706 " CMP R0, #1 \n"
707 " BEQ loc_FFAF803C \n"
708 " CMP R0, #4 \n"
709 " BNE loc_FFAF80CC \n"
710 " STR R6, [SP] \n"
711 " LDR R1, [R4, #0x38] \n"
712 " LDR R2, [SP, #4] \n"
713 " MOV R3, R5 \n"
714 " MOV R0, R4 \n"
715 " BL sub_FF9B7DCC \n"
716
717 "loc_FFAF8014:\n"
718 " MOV R5, R0 \n"
719 " BL sub_FF925618 \n"
720 " B loc_FFAF80E0 \n"
721
722 "loc_FFAF8020:\n"
723 " STR R6, [SP] \n"
724 " LDR R1, [R4, #0x38] \n"
725 " LDR R2, [SP, #4] \n"
726 " MOV R3, R5 \n"
727 " MOV R0, R4 \n"
728 " BL sub_FF9B7BD4 \n"
729 " B loc_FFAF8014 \n"
730
731 "loc_FFAF803C:\n"
732 " LDR R0, [R7, #0xBC] \n"
733 " CMP R0, #0 \n"
734 " LDRNE R2, =0x201 \n"
735 " LDRNE R1, =0xFFAF81A0 /*'SsStandardCaptureSeq.c'*/ \n"
736 " MOVNE R0, #0 \n"
737 " BLNE _DebugAssert \n"
738 " STR R6, [SP] \n"
739 " LDR R1, [R4, #0x38] \n"
740 " LDR R2, [SP, #4] \n"
741 " MOV R3, R5 \n"
742 " MOV R0, R4 \n"
743 " BL sub_FF9B7E0C \n"
744 " MOV R5, R0 \n"
745 " MOV R1, #0 \n"
746 " MOV R0, #0x45 \n"
747 " BL sub_FF833484 \n"
748 " TST R5, #1 \n"
749 " BNE loc_FFAF80E0 \n"
750 " LDR R0, =0xFFAF7E58 \n"
751 " MOV R1, #0 \n"
752 " BL sub_FFA437F8 \n"
753 " MOV R1, #1 \n"
754 " MOV R0, R4 \n"
755 " BL sub_FFAF830C \n"
756 " MOV R6, R0 \n"
757 " LDR R0, [SP, #4] \n"
758 " BL sub_FF9B83BC \n"
759 " LDR R1, [R4, #0x38] \n"
760 " LDR R2, [SP, #4] \n"
761 " MOV R3, R6 \n"
762 " MOV R0, R4 \n"
763 " BL sub_FF9B7F18 \n"
764 " MOV R5, R0 \n"
765 " MOV R0, #0 \n"
766 " BL sub_FF9B7B9C \n"
767 " B loc_FFAF80E0 \n"
768
769 "loc_FFAF80CC:\n"
770 " LDR R2, =0x22A \n"
771 " LDR R1, =0xFFAF81A0 /*'SsStandardCaptureSeq.c'*/ \n"
772 " MOV R0, #0 \n"
773 " BL _DebugAssert \n"
774 " MOV R5, #0x1D \n"
775
776 "loc_FFAF80E0:\n"
777 " BL sub_FF884ED0 \n"
778 " LDR R8, =0xFFAF7E58 \n"
779 " TST R5, #1 \n"
780 " BNE loc_FFAF8160 \n"
781 " LDR R0, [R7, #0xFC] \n"
782 " CMP R0, #0 \n"
783 " BNE loc_FFAF8118 \n"
784 " MOV R0, R4 \n"
785 " BL sub_FF9BA120 \n"
786 " TST R0, #1 \n"
787 " LDRNE R2, =0x247 \n"
788 " LDRNE R1, =0xFFAF81A0 /*'SsStandardCaptureSeq.c'*/ \n"
789 " MOVNE R0, #0 \n"
790 " BLNE _DebugAssert \n"
791 " BL capt_seq_hook_raw_here \n"
792
793 "loc_FFAF8118:\n"
794 " MOV R0, R4 \n"
795 " BL sub_FF9B86D0 \n"
796 " MOV R0, R4 \n"
797 " BL sub_FF9B8688 \n"
798 " CMP R6, R8 \n"
799 " BEQ loc_FFAF8160 \n"
800 " BL sub_FF9B94A0 \n"
801 " MOV R3, #0x254 \n"
802 " STR R3, [SP] \n"
803 " LDR R2, =0x3A98 \n"
804 " LDR R3, =0xFFAF81A0 /*'SsStandardCaptureSeq.c'*/ \n"
805 " MOV R1, #4 \n"
806 " BL sub_FF899DFC \n"
807 " CMP R0, #0 \n"
808 " MOVNE R2, #0x254 \n"
809 " LDRNE R1, =0xFFAF81A0 /*'SsStandardCaptureSeq.c'*/ \n"
810 " MOVNE R0, #0 \n"
811 " BLNE _DebugAssert \n"
812
813 "loc_FFAF8160:\n"
814 " MOV R2, R4 \n"
815 " MOV R1, #2 \n"
816 " MOV R0, R5 \n"
817 " BL sub_FF890378 \n"
818 " LDR R0, [R7, #0x24] \n"
819 " CMP R0, #0 \n"
820 " BEQ loc_FFAF81E0 \n"
821 " SUBS R1, R6, R8 \n"
822 " MOVNE R1, #1 \n"
823 " MOV R2, R5 \n"
824 " MOV R0, R4 \n"
825 " BL sub_FF9B9840 \n"
826 " B loc_FFAF81F4 \n"
827
828 "loc_FFAF81E0:\n"
829 " SUBS R1, R6, R8 \n"
830 " MOVNE R1, #1 \n"
831 " MOV R2, R5 \n"
832 " MOV R0, R4 \n"
833 " BL sub_FF9B97D4 \n"
834
835 "loc_FFAF81F4:\n"
836 " MOV R0, R5 \n"
837 " ADD SP, SP, #0x10 \n"
838 " LDMFD SP!, {R4-R8,PC} \n"
839 " .ltorg\n"
840 );
841 }