This source file includes following definitions.
- capt_seq_task
- sub_FF21E7C4_my
- sub_FF21E5C4_my
- sub_FF3C31EC_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
17 void __attribute__((naked,noinline)) capt_seq_task() {
18 asm volatile (
19 " STMFD SP!, {R3-R7,LR} \n"
20 " LDR R5, =0x26780 \n"
21 " LDR R7, =0x3A9C \n"
22 " MOV R6, #0 \n"
23
24 "loc_FF0998BC:\n"
25 " LDR R0, [R7, #8] \n"
26 " MOV R2, #0 \n"
27 " MOV R1, SP \n"
28 " BL sub_006B8490 /*_ReceiveMessageQueue*/ \n"
29 " TST R0, #1 \n"
30 " BEQ loc_FF0998EC \n"
31 " LDR R2, =0x455 \n"
32 " LDR R1, =0xFF0991B4 /*'SsShootTask.c'*/ \n"
33 " MOV R0, #0 \n"
34 " BL _DebugAssert \n"
35 " BL _ExitTask \n"
36 " LDMFD SP!, {R3-R7,PC} \n"
37
38 "loc_FF0998EC:\n"
39 " LDR R0, [SP] \n"
40 " LDR R0, [R0] \n"
41 " CMP R0, #1 \n"
42 " CMPNE R0, #0x25 \n"
43 " CMPNE R0, #0x1C \n"
44 " BLNE sub_FF21F898 \n"
45 " LDR R0, [SP] \n"
46 " LDR R1, [R0] \n"
47 " CMP R1, #0x27 \n"
48 " ADDCC PC, PC, R1, LSL#2 \n"
49 " B loc_FF099B6C \n"
50 " B loc_FF0999B4 \n"
51 " B loc_FF0999D0 \n"
52 " B loc_FF0999DC \n"
53 " B loc_FF0999F0 \n"
54 " B loc_FF0999E8 \n"
55 " B loc_FF099A00 \n"
56 " B loc_FF099A08 \n"
57 " B loc_FF099A14 \n"
58 " B loc_FF099A20 \n"
59 " B loc_FF099A6C \n"
60 " B loc_FF099A34 \n"
61 " B loc_FF099A40 \n"
62 " B loc_FF099A48 \n"
63 " B loc_FF099A54 \n"
64 " B loc_FF099A5C \n"
65 " B loc_FF099A64 \n"
66 " B loc_FF099A78 \n"
67 " B loc_FF099A80 \n"
68 " B loc_FF099A88 \n"
69 " B loc_FF099A90 \n"
70 " B loc_FF099A98 \n"
71 " B loc_FF099AA4 \n"
72 " B loc_FF099AAC \n"
73 " B loc_FF099AB4 \n"
74 " B loc_FF099ABC \n"
75 " B loc_FF099AC4 \n"
76 " B loc_FF099ACC \n"
77 " B loc_FF099AD4 \n"
78 " B loc_FF099ADC \n"
79 " B loc_FF099AE8 \n"
80 " B loc_FF099AF0 \n"
81 " B loc_FF099AF8 \n"
82 " B loc_FF099B00 \n"
83 " B loc_FF099B08 \n"
84 " B loc_FF099B14 \n"
85 " B loc_FF099B1C \n"
86 " B loc_FF099B4C \n"
87 " B loc_FF099B58 \n"
88 " B loc_FF099B7C \n"
89
90 "loc_FF0999B4:\n"
91 " LDR R0, [R0, #0xC] \n"
92
93 " BL sub_FF09A1D8 \n"
94 " BL shooting_expo_param_override\n"
95 " BL sub_FF096C24 \n"
96
97
98
99 " LDR R0, [R5, #0x28] \n"
100 " CMP R0, #0 \n"
101 " BLNE sub_FF21E7C4_my \n"
102 " B loc_FF099B7C \n"
103
104 "loc_FF0999D0:\n"
105 " LDR R0, [R0, #0x10] \n"
106 " BL sub_FF21E5C4_my \n"
107 " B loc_FF099B7C \n"
108
109 "loc_FF0999DC:\n"
110 " MOV R0, #1 \n"
111 " BL sub_FF09A538 \n"
112 " B loc_FF099B7C \n"
113
114 "loc_FF0999E8:\n"
115 " BL sub_FF099D78 \n"
116 " B loc_FF0999F8 \n"
117
118 "loc_FF0999F0:\n"
119 " LDR R0, [R0, #0xC] \n"
120 " BL sub_FF09A1AC \n"
121
122 "loc_FF0999F8:\n"
123 " STR R6, [R5, #0x28] \n"
124 " B loc_FF099B7C \n"
125
126 "loc_FF099A00:\n"
127 " BL sub_FF09A1B8 \n"
128 " B loc_FF099B7C \n"
129
130 "loc_FF099A08:\n"
131 " BL sub_FF09A400 \n"
132 " BL sub_FF096C24 \n"
133 " B loc_FF099B7C \n"
134
135 "loc_FF099A14:\n"
136 " LDR R0, [R0, #0x10] \n"
137 " BL sub_FF21E8A0 \n"
138 " B loc_FF099B7C \n"
139
140 "loc_FF099A20:\n"
141 " BL sub_FF09A488 \n"
142 " BL sub_FF096C24 \n"
143 " MOV R0, #0 \n"
144 " BL sub_FF031380 \n"
145 " B loc_FF099B7C \n"
146
147 "loc_FF099A34:\n"
148 " LDR R0, [R5, #0x54] \n"
149 " BL sub_FF09AC80 \n"
150 " B loc_FF099B7C \n"
151
152 "loc_FF099A40:\n"
153 " BL sub_FF09AFDC \n"
154 " B loc_FF099B7C \n"
155
156 "loc_FF099A48:\n"
157 " LDR R0, [R0, #0xC] \n"
158 " BL sub_FF09B044 \n"
159 " B loc_FF099B7C \n"
160
161 "loc_FF099A54:\n"
162 " BL sub_FF09B1F8 \n"
163 " B loc_FF099B7C \n"
164
165 "loc_FF099A5C:\n"
166 " BL sub_FF09B710 \n"
167 " B loc_FF099B7C \n"
168
169 "loc_FF099A64:\n"
170 " BL sub_FF09B7F8 \n"
171 " B loc_FF099B7C \n"
172
173 "loc_FF099A6C:\n"
174 " LDR R0, [R0, #0xC] \n"
175 " BL sub_FF09A1AC \n"
176 " B loc_FF099B7C \n"
177
178 "loc_FF099A78:\n"
179 " BL sub_FF21CC30 \n"
180 " B loc_FF099B7C \n"
181
182 "loc_FF099A80:\n"
183 " BL sub_FF21CE8C \n"
184 " B loc_FF099B7C \n"
185
186 "loc_FF099A88:\n"
187 " BL sub_FF21CF50 \n"
188 " B loc_FF099B7C \n"
189
190 "loc_FF099A90:\n"
191 " BL sub_FF21D03C \n"
192 " B loc_FF099B7C \n"
193
194 "loc_FF099A98:\n"
195 " MOV R0, #0 \n"
196 " BL sub_FF21D2D0 \n"
197 " B loc_FF099B7C \n"
198
199 "loc_FF099AA4:\n"
200 " BL sub_FF21D44C \n"
201 " B loc_FF099B7C \n"
202
203 "loc_FF099AAC:\n"
204 " BL sub_FF0A2164 \n"
205 " B loc_FF099B7C \n"
206
207 "loc_FF099AB4:\n"
208 " BL sub_FF0A2170 \n"
209 " B loc_FF099B7C \n"
210
211 "loc_FF099ABC:\n"
212 " BL sub_FF21D4F0 \n"
213 " B loc_FF099B7C \n"
214
215 "loc_FF099AC4:\n"
216 " BL sub_FF21D5A0 \n"
217 " B loc_FF099B7C \n"
218
219 "loc_FF099ACC:\n"
220 " BL sub_FF09A668 \n"
221 " B loc_FF099B7C \n"
222
223 "loc_FF099AD4:\n"
224 " MOV R0, #0 \n"
225 " B loc_FF099AE0 \n"
226
227 "loc_FF099ADC:\n"
228 " LDR R0, [R0, #0xC] \n"
229
230 "loc_FF099AE0:\n"
231 " BL sub_FF09A6F8 \n"
232 " B loc_FF099B7C \n"
233
234 "loc_FF099AE8:\n"
235 " BL sub_FF21D11C \n"
236 " B loc_FF099B7C \n"
237
238 "loc_FF099AF0:\n"
239 " BL sub_FF21D160 \n"
240 " B loc_FF099B7C \n"
241
242 "loc_FF099AF8:\n"
243 " BL sub_FF09E350 \n"
244 " B loc_FF099B7C \n"
245
246 "loc_FF099B00:\n"
247 " BL sub_FF09E498 \n"
248 " B loc_FF099B7C \n"
249
250 "loc_FF099B08:\n"
251 " LDR R0, [R0, #0xC] \n"
252 " BL sub_FF21D6C4 \n"
253 " B loc_FF099B7C \n"
254
255 "loc_FF099B14:\n"
256 " BL sub_FF21D754 \n"
257 " B loc_FF099B7C \n"
258
259 "loc_FF099B1C:\n"
260 " BL sub_FF0A0CEC \n"
261 " LDR R0, =0x26880 \n"
262 " LDRH R0, [R0, #0x9C] \n"
263 " CMP R0, #4 \n"
264 " LDRNEH R0, [R5] \n"
265 " SUBNE R1, R0, #0x8200 \n"
266 " SUBNES R1, R1, #0x36 \n"
267 " BNE loc_FF099B7C \n"
268 " BL sub_FF09E498 \n"
269 " BL sub_FF09EB7C \n"
270 " BL sub_FF09E9D8 \n"
271 " B loc_FF099B7C \n"
272
273 "loc_FF099B4C:\n"
274 " MOV R2, #0 \n"
275 " MOV R1, #0x11 \n"
276 " B loc_FF099B60 \n"
277
278 "loc_FF099B58:\n"
279 " MOV R2, #0 \n"
280 " MOV R1, #0x10 \n"
281
282 "loc_FF099B60:\n"
283 " MOV R0, #0 \n"
284 " BL sub_FF0977F0 \n"
285 " B loc_FF099B7C \n"
286
287 "loc_FF099B6C:\n"
288 " LDR R2, =0x588 \n"
289 " LDR R1, =0xFF0991B4 /*'SsShootTask.c'*/ \n"
290 " MOV R0, #0 \n"
291 " BL _DebugAssert \n"
292
293 "loc_FF099B7C:\n"
294 " LDR R0, [SP] \n"
295 " LDR R1, [R0, #4] \n"
296 " LDR R0, [R7, #4] \n"
297 " BL sub_006B8224 /*_SetEventFlag*/ \n"
298 " LDR R4, [SP] \n"
299 " LDR R0, [R4, #8] \n"
300 " CMP R0, #0 \n"
301 " LDREQ R2, =0x12B \n"
302 " LDREQ R1, =0xFF0991B4 /*'SsShootTask.c'*/ \n"
303 " BLEQ _DebugAssert \n"
304 " STR R6, [R4, #8] \n"
305 " B loc_FF0998BC \n"
306 );
307 }
308
309
310
311 void __attribute__((naked,noinline)) sub_FF21E7C4_my() {
312 asm volatile (
313 " STMFD SP!, {R3-R7,LR} \n"
314 " BL sub_FF098DC0 \n"
315 " MOV R4, R0 \n"
316 " MOV R0, #0xC \n"
317 " BL sub_FF0A0650 \n"
318 " LDR R6, =0xAAA0 \n"
319 " TST R0, #1 \n"
320 " MOV R5, #1 \n"
321 " BNE loc_FF21E88C \n"
322 " MOV R2, #2 \n"
323 " MOV R1, SP \n"
324 " ADD R0, R2, #0x110 \n"
325 " BL _GetPropertyCase \n"
326 " TST R0, #1 \n"
327 " ADDNE R2, R5, #0x17C \n"
328 " LDRNE R1, =0xFF21E930 /*'SsCaptureCtrl.c'*/ \n"
329 " MOVNE R0, #0 \n"
330 " BLNE _DebugAssert \n"
331 " LDRSH R0, [SP] \n"
332 " BL sub_FF02ABDC \n"
333 " BL sub_FF02A9F0 \n"
334 " CMP R0, #1 \n"
335 " BLS loc_FF21E894 \n"
336 " MOV R0, #0 \n"
337 " BL sub_FF02AB48 \n"
338 " BL sub_FF09A1C4 \n"
339 " BL sub_FF09BC70 \n"
340 " MOV R1, R4 \n"
341 " BL sub_FF09BCCC \n"
342 " MOV R2, #4 \n"
343 " ADD R1, R4, #0x30 \n"
344 " MOV R0, #0x118 \n"
345 " BL _SetPropertyCase \n"
346 " MOV R2, #4 \n"
347 " ADD R1, R4, #0x34 \n"
348 " MOV R0, #0x32 \n"
349 " BL _SetPropertyCase \n"
350 " MOV R2, #4 \n"
351 " ADD R1, R4, #8 \n"
352 " MOV R0, #0x46 \n"
353 " BL _SetPropertyCase \n"
354 " BL sub_FF21F0B4 \n"
355 " MVN R1, #0x1000 \n"
356 " BL sub_006B826C /*_ClearEventFlag*/ \n"
357 " MOV R0, R4 \n"
358 " BL sub_FF21E218 \n"
359 " MOV R0, R4 \n"
360 " BL sub_FF3C31EC_my \n"
361 " TST R0, #1 \n"
362 " BEQ loc_FF21E890 \n"
363
364 "loc_FF21E88C:\n"
365 " STR R5, [R6] \n"
366
367 "loc_FF21E890:\n"
368 " LDMFD SP!, {R3-R7,PC} \n"
369
370 "loc_FF21E894:\n"
371 " BL sub_FF097544 \n"
372 " BL sub_FF0A06B8 \n"
373 " LDMFD SP!, {R3-R7,PC} \n"
374 );
375 }
376
377
378
379 void __attribute__((naked,noinline)) sub_FF21E5C4_my() {
380 asm volatile (
381 " STMFD SP!, {R3-R7,LR} \n"
382 " LDR R7, =0x26780 \n"
383 " MOV R5, R0 \n"
384 " LDR R0, [R7, #0x28] \n"
385 " MOV R4, #0 \n"
386 " CMP R0, #0 \n"
387 " BEQ loc_FF21E610 \n"
388 " LDR R0, =0xAAA0 \n"
389 " MOV R2, R5 \n"
390 " LDR R0, [R0] \n"
391 " MOV R1, #2 \n"
392 " CMP R0, #0 \n"
393 " MOVNE R4, #0x1D \n"
394 " MOV R0, R4 \n"
395 " BL sub_FF0977F0 \n"
396 " MOV R1, R4 \n"
397 " MOV R0, R5 \n"
398 " BL sub_FF21F620 \n"
399 " B loc_FF21E7B8 \n"
400
401 "loc_FF21E610:\n"
402 " BL sub_FF09BC70 \n"
403 " MOV R1, R5 \n"
404 " BL sub_FF09BCCC \n"
405 " MOV R2, #4 \n"
406 " ADD R1, R5, #0x30 \n"
407 " MOV R0, #0x118 \n"
408 " BL _SetPropertyCase \n"
409 " MOV R2, #4 \n"
410 " ADD R1, R5, #0x34 \n"
411 " MOV R0, #0x32 \n"
412 " BL _SetPropertyCase \n"
413 " LDR R0, [R7, #0x104] \n"
414 " LDR R6, =0x26880 \n"
415 " CMP R0, #0 \n"
416 " BNE loc_FF21E664 \n"
417 " LDRH R0, [R6, #0x9A] \n"
418 " CMP R0, #3 \n"
419 " LDRNE R0, [R5, #8] \n"
420 " CMPNE R0, #1 \n"
421 " BHI loc_FF21E688 \n"
422 " B loc_FF21E670 \n"
423
424 "loc_FF21E664:\n"
425 " LDR R0, [R5, #0xC] \n"
426 " CMP R0, #1 \n"
427 " BNE loc_FF21E688 \n"
428
429 "loc_FF21E670:\n"
430 " MOV R0, #0xC \n"
431 " BL sub_FF0A0650 \n"
432 " TST R0, #1 \n"
433 " BEQ loc_FF21E688 \n"
434 " BL sub_FF097544 \n"
435 " MOV R4, #1 \n"
436
437 "loc_FF21E688:\n"
438 " TST R4, #1 \n"
439 " BNE loc_FF21E79C \n"
440 " LDR R0, [R7, #0xE4] \n"
441 " CMP R0, #0 \n"
442 " BEQ loc_FF21E6C4 \n"
443 " LDRH R0, [R6, #0x9A] \n"
444 " CMP R0, #3 \n"
445 " LDRNE R0, [R5, #8] \n"
446 " CMPNE R0, #1 \n"
447 " BHI loc_FF21E71C \n"
448 " LDR R0, [R7, #0x104] \n"
449 " CMP R0, #0 \n"
450 " LDRNE R0, [R5, #0xC] \n"
451 " CMPNE R0, #1 \n"
452 " BHI loc_FF21E71C \n"
453
454 "loc_FF21E6C4:\n"
455 " MOV R2, #2 \n"
456 " MOV R1, SP \n"
457 " ADD R0, R2, #0x110 \n"
458 " BL _GetPropertyCase \n"
459 " TST R0, #1 \n"
460 " MOVNE R2, #0xCD \n"
461 " LDRNE R1, =0xFF21E930 /*'SsCaptureCtrl.c'*/ \n"
462 " MOVNE R0, #0 \n"
463 " BLNE _DebugAssert \n"
464 " LDRSH R0, [SP] \n"
465 " BL sub_FF02ABDC \n"
466 " BL sub_FF02A9F0 \n"
467 " CMP R0, #1 \n"
468 " BLS loc_FF21E708 \n"
469 " MOV R0, #0 \n"
470 " BL sub_FF02AB48 \n"
471 " B loc_FF21E71C \n"
472
473 "loc_FF21E708:\n"
474 " BL sub_FF097544 \n"
475 " BL sub_FF0A06B8 \n"
476 " MOV R4, #1 \n"
477 " CMP R4, #0 \n"
478 " BNE loc_FF21E79C \n"
479
480 "loc_FF21E71C:\n"
481 " MOV R4, #0 \n"
482 " CMP R4, #0 \n"
483 " BNE loc_FF21E79C \n"
484 " BL sub_FF21F0B4 \n"
485 " MVN R1, #0x1000 \n"
486 " BL sub_006B826C /*_ClearEventFlag*/ \n"
487 " MOV R0, R5 \n"
488 " BL sub_FF3C2E70 \n"
489 " TST R0, #1 \n"
490 " MOV R4, R0 \n"
491 " BNE loc_FF21E79C \n"
492 " BL sub_FF09A1C4 \n"
493 " MOV R0, R5 \n"
494 " BL sub_FF21E218 \n"
495 " LDR R0, [R7, #0x128] \n"
496 " CMP R0, #0 \n"
497 " BNE loc_FF21E774 \n"
498 " LDRH R0, [R6, #0x9A] \n"
499 " CMP R0, #3 \n"
500 " LDRNE R0, [R5, #8] \n"
501 " CMPNE R0, #1 \n"
502 " BHI loc_FF21E77C \n"
503
504 "loc_FF21E774:\n"
505 " MOV R0, #2 \n"
506 " BL sub_FF0A2300 \n"
507
508 "loc_FF21E77C:\n"
509 " LDR R0, [R7, #0xAC] \n"
510 " CMP R0, #0 \n"
511 " MOV R0, R5 \n"
512 " BEQ loc_FF21E794 \n"
513 " BL sub_FF3C3694 \n"
514 " B loc_FF21E7B8 \n"
515
516 "loc_FF21E794:\n"
517 " BL sub_FF3C31EC_my \n"
518 " B loc_FF21E7B8 \n"
519
520 "loc_FF21E79C:\n"
521 " MOV R2, R5 \n"
522 " MOV R1, #2 \n"
523 " MOV R0, R4 \n"
524 " BL sub_FF0977F0 \n"
525 " MOV R1, R4 \n"
526 " MOV R0, R5 \n"
527 " BL sub_FF21F834 \n"
528
529 "loc_FF21E7B8:\n"
530 " MOV R0, #0 \n"
531 " STR R0, [R7, #0x28] \n"
532 " LDMFD SP!, {R3-R7,PC} \n"
533 );
534 }
535
536
537
538 void __attribute__((naked,noinline)) sub_FF3C31EC_my() {
539 asm volatile (
540 " STMFD SP!, {R1-R9,LR} \n"
541 " LDR R7, =0x26780 \n"
542 " MOV R4, R0 \n"
543 " LDR R0, [R7, #0x164] \n"
544 " ADD R5, R7, #0x100 \n"
545 " CMP R0, #0 \n"
546 " LDRNEH R0, [R5, #0x9A] \n"
547 " CMPNE R0, #3 \n"
548 " LDRNE R0, [R4, #8] \n"
549 " CMPNE R0, #1 \n"
550 " BHI loc_FF3C3224 \n"
551 " MOV R0, R4 \n"
552 " BL sub_FF21E180 \n"
553 " BL sub_FF21EF18 \n"
554
555 "loc_FF3C3224:\n"
556 " LDR R0, [R7, #0x190] \n"
557 " CMP R0, #2 \n"
558 " BNE loc_FF3C3248 \n"
559 " LDRH R0, [R5, #0x9A] \n"
560 " CMP R0, #3 \n"
561 " LDRNE R0, [R4, #8] \n"
562 " CMPNE R0, #1 \n"
563 " MOVLS R0, #4 \n"
564 " BLLS sub_FF1391F8 \n"
565
566 "loc_FF3C3248:\n"
567 " LDR R0, =0x139 \n"
568 " MOV R2, #4 \n"
569 " ADD R1, SP, #8 \n"
570 " BL _GetPropertyCase \n"
571 " TST R0, #1 \n"
572 " MOVNE R2, #0x150 \n"
573 " LDRNE R1, =0xFF3C34D0 /*'SsStandardCaptureSeq.c'*/ \n"
574 " MOVNE R0, #0 \n"
575 " BLNE _DebugAssert \n"
576 " LDR R0, [SP, #8] \n"
577 " AND R0, R0, #0xFF00 \n"
578 " CMP R0, #0x600 \n"
579 " LDRNE R0, =0xFF21DD44 \n"
580 " LDREQ R0, =0xFF3C319C \n"
581 " MOVNE R1, R4 \n"
582 " MOVEQ R1, #0 \n"
583 " BL sub_FF0E475C \n"
584 " MOV R2, #2 \n"
585 " ADD R1, SP, #4 \n"
586 " MOV R0, #0x114 \n"
587 " BL _GetPropertyCase \n"
588 " TST R0, #1 \n"
589 " LDRNE R2, =0x159 \n"
590 " LDRNE R1, =0xFF3C34D0 /*'SsStandardCaptureSeq.c'*/ \n"
591 " MOVNE R0, #0 \n"
592 " BLNE _DebugAssert \n"
593 " LDR R0, [R7, #0x184] \n"
594 " CMP R0, #0 \n"
595 " BLNE sub_FF21E06C \n"
596 " MOV R0, #0 \n"
597
598 " BL wait_until_remote_button_is_released\n"
599 " BL capt_seq_hook_set_nr\n"
600 " MOV R0, R4 \n"
601 " BL sub_FF21E33C \n"
602 " LDR R1, =0x10B80 \n"
603 " MOV R2, #4 \n"
604 " MOV R0, #0x92 \n"
605 " BL _GetPropertyCase \n"
606 " TST R0, #1 \n"
607 " LDRNE R2, =0x16E \n"
608 " LDRNE R1, =0xFF3C34D0 /*'SsStandardCaptureSeq.c'*/ \n"
609 " MOVNE R0, #0 \n"
610 " BLNE _DebugAssert \n"
611 " BL sub_FF09D33C \n"
612 " BL sub_FF08A950 \n"
613 " MOV R1, #0 \n"
614 " MOV R0, R4 \n"
615 " BL sub_FF3C31A0 \n"
616 " MOV R6, R0 \n"
617 " LDR R0, [SP, #8] \n"
618 " LDR R8, =0x10B80 \n"
619 " AND R0, R0, #0xFF00 \n"
620 " CMP R0, #0x600 \n"
621 " LDRH R0, [R4, #0x18] \n"
622 " LDRNE R2, =0xFF21E040 \n"
623 " LDREQ R2, =0xFF21E020 \n"
624 " CMP R0, #0 \n"
625 " BEQ loc_FF3C333C \n"
626 " CMP R0, #1 \n"
627 " BEQ loc_FF3C3360 \n"
628 " CMP R0, #4 \n"
629 " BNE loc_FF3C33D4 \n"
630
631 "loc_FF3C333C:\n"
632 " STR R6, [SP] \n"
633 " MOV R3, R2 \n"
634 " LDR R1, [R4, #0x34] \n"
635 " LDR R2, [R8] \n"
636 " MOV R0, R4 \n"
637 " BL sub_FF21DA58 \n"
638 " MOV R5, R0 \n"
639 " BL sub_FF0E09CC \n"
640 " B loc_FF3C33E8 \n"
641
642 "loc_FF3C3360:\n"
643 " STR R6, [SP] \n"
644 " MOV R3, R2 \n"
645 " LDR R1, [R4, #0x34] \n"
646 " LDR R2, [R8] \n"
647 " MOV R0, R4 \n"
648 " BL sub_FF21DB00 \n"
649 " MOV R5, R0 \n"
650 " MOV R1, #0 \n"
651 " MOV R0, #0x45 \n"
652 " BL sub_FF033054 \n"
653 " TST R5, #1 \n"
654 " BNE loc_FF3C33E8 \n"
655 " LDR R0, =0xFF3C319C \n"
656 " MOV R1, #0 \n"
657 " BL sub_FF0E475C \n"
658 " MOV R1, #1 \n"
659 " MOV R0, R4 \n"
660 " BL sub_FF3C31A0 \n"
661 " MOV R6, R0 \n"
662 " LDR R0, [R8] \n"
663 " BL sub_FF21E104 \n"
664 " LDR R1, [R4, #0x34] \n"
665 " LDR R2, [R8] \n"
666 " MOV R3, R6 \n"
667 " MOV R0, R4 \n"
668 " BL sub_FF21DBB4 \n"
669 " MOV R5, R0 \n"
670 " BL sub_FF21D9E0 \n"
671 " B loc_FF3C33E8 \n"
672
673 "loc_FF3C33D4:\n"
674 " LDR R2, =0x1A7 \n"
675 " LDR R1, =0xFF3C34D0 /*'SsStandardCaptureSeq.c'*/ \n"
676 " MOV R0, #0 \n"
677 " BL _DebugAssert \n"
678 " MOV R5, #0x1D \n"
679
680 "loc_FF3C33E8:\n"
681 " BL sub_FF08A968 \n"
682 " LDR R8, =0xFF3C319C \n"
683 " TST R5, #1 \n"
684 " BNE loc_FF3C3468 \n"
685 " LDR R0, [R7, #0x100] \n"
686 " CMP R0, #0 \n"
687 " BNE loc_FF3C3420 \n"
688 " MOV R0, R4 \n"
689 " BL sub_FF21FEA4 \n"
690 " TST R0, #1 \n"
691 " MOVNE R2, #0x1C8 \n"
692 " LDRNE R1, =0xFF3C34D0 /*'SsStandardCaptureSeq.c'*/ \n"
693 " MOVNE R0, #0 \n"
694 " BLNE _DebugAssert \n"
695 " BL capt_seq_hook_raw_here \n"
696
697 "loc_FF3C3420:\n"
698 " MOV R0, R4 \n"
699 " BL sub_FF21E40C \n"
700 " MOV R0, R4 \n"
701 " BL sub_FF21E3C4 \n"
702 " CMP R6, R8 \n"
703 " BEQ loc_FF3C3468 \n"
704 " BL sub_FF21F0B4 \n"
705 " LDR R9, =0x1D5 \n"
706 " LDR R2, =0x3A98 \n"
707 " LDR R3, =0xFF3C34D0 /*'SsStandardCaptureSeq.c'*/ \n"
708 " MOV R1, #4 \n"
709 " STR R9, [SP] \n"
710 " BL sub_FF0A08F4 \n"
711 " CMP R0, #0 \n"
712 " MOVNE R2, R9 \n"
713 " LDRNE R1, =0xFF3C34D0 /*'SsStandardCaptureSeq.c'*/ \n"
714 " MOVNE R0, #0 \n"
715 " BLNE _DebugAssert \n"
716
717 "loc_FF3C3468:\n"
718 " MOV R2, R4 \n"
719 " MOV R1, #2 \n"
720 " MOV R0, R5 \n"
721 " BL sub_FF0977F0 \n"
722 " LDR R0, [R7, #0x28] \n"
723 " CMP R0, #0 \n"
724 " BEQ loc_FF3C349C \n"
725 " SUBS R1, R6, R8 \n"
726 " MOVNE R1, #1 \n"
727 " MOV R2, R5 \n"
728 " MOV R0, R4 \n"
729 " BL sub_FF21F5B8 \n"
730 " B loc_FF3C34B0 \n"
731
732 "loc_FF3C349C:\n"
733 " SUBS R1, R6, R8 \n"
734 " MOVNE R1, #1 \n"
735 " MOV R2, R5 \n"
736 " MOV R0, R4 \n"
737 " BL sub_FF21F54C \n"
738
739 "loc_FF3C34B0:\n"
740 " MOV R0, R5 \n"
741 " LDMFD SP!, {R1-R9,PC} \n"
742 " .ltorg\n"
743 );
744 }