This source file includes following definitions.
- spytask
- CreateTask_spytask
- xblinker
- blinker
- CreateTask_blinker
- boot
- CreateTask_my
- sub_fc05e00c_my
- sub_fc05e19d_my
- sub_fc05e5a2_my
- sub_fc070e98_my
- task_Startup_my
- sub_fc070d8a_my
- init_file_modules_task
- kbd_p2_f_my
- sub_fc07147a_my
1 #include "lolevel.h"
2 #include "platform.h"
3 #include "core.h"
4 #include "dryos31.h"
5 #include "gui_draw.h"
6 #include "asmsafe.h"
7
8 #define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
9
10 const char * const new_sa = &_end;
11 extern volatile int jogdial_stopped;
12
13
14
15 extern void task_CaptSeq();
16 extern void task_InitFileModules();
17 extern void task_RotaryEncoder();
18 extern void task_MovieRecord();
19 extern void task_ExpDrv();
20
21 void JogDial_task_my(void);
22
23
24
25
26
27 void spytask(long ua, long ub, long uc, long ud, long ue, long uf)
28 {
29 (void)ua; (void)ub; (void)uc; (void)ud; (void)ue; (void)uf;
30 core_spytask();
31 }
32
33 void CreateTask_spytask()
34 {
35 _CreateTask("SpyTask", 0x19, 0x2000, spytask, 0);
36 }
37
38 #ifdef DEBUG_BLINKING
39
40
41 #define LED_PR 0xd20b0994
42 #define LED_PWR 0xd20b0884
43 #define LED_ORANGE 0xd20b0888
44 #define XDELAY 4000000
45
46 void xblinker()
47 {
48 int j = 2;
49 while(j-- > 0) {
50 int i;
51 *(volatile int*)LED_ORANGE = 0x4d0002;
52 for(i=0;i<XDELAY/10;i++) {
53 asm volatile(
54 "nop\n"
55 );
56 }
57 *(volatile int*)LED_ORANGE = 0x4c0003;
58 for(i=0;i<XDELAY;i++) {
59 asm volatile(
60 "nop\n"
61 );
62 }
63 }
64 }
65
66
67
68
69
70 void draw_pixel_std(unsigned int , unsigned short );
71
72 void __attribute__((naked,noinline)) blinker() {
73
74 int led_count = 50 ;
75 unsigned int pxl;
76
77 _SleepTask(2000);
78
79 while(1)
80 {
81 switch led_count
82 {
83 case 3 :
84 *(volatile int*)0xd20b0994 = 0x4d0002;
85 break ;
86 case 2 :
87 *(volatile int*)0xd20b0994 = 0x4c0003;
88 break ;
89 case 1 :
90 *(volatile int*)0xd20b0994 = 0x4d0002;
91 break ;
92 case 0 :
93 led_count = 21 ;
94 *(volatile int*)0xd20b0994 = 0x4c0003;
95
96 for (pxl=0 ; pxl<0x3FFF ; pxl++)
97 {
98 draw_pixel_std(pxl, MAKE_COLOR(COLOR_GREEN,COLOR_GREEN)) ;
99 }
100 break ;
101 default :
102 break ;
103 }
104 led_count-- ;
105 _SleepTask(100);
106 }
107 };
108
109 void CreateTask_blinker() {
110 _CreateTask("Blinker", 0x1, 0x200, blinker, 0);
111 };
112 #endif
113
114
115
116
117
118
119
120
121 void __attribute__((naked,noinline)) boot() {
122 asm volatile (
123 " ldr.w sp, =0x80010000\n"
124
125 #ifdef DEBUG_BLINKING
126 ASM_SAFE("BL xblinker\n")
127 #endif
128
129 " bl sub_fc020064\n"
130 " ldr r2, =0xc0242010\n"
131 " ldr r1, [r2]\n"
132 " orr r1, r1, #1\n"
133 " str r1, [r2]\n"
134 " ldr r0, =0xfcbebb70\n"
135 " ldr r1, =0x010c1000\n"
136 " ldr r3, =0x010df4e8\n"
137 "loc_fc020024:\n"
138 " cmp r1, r3\n"
139 " itt lo\n"
140 " ldrlo r2, [r0], #4\n"
141 " strlo r2, [r1], #4\n"
142 " blo loc_fc020024\n"
143
144
145
146 "adr r0, patch_CreateTask\n"
147 "ldr r1, =hook_CreateTask\n"
148 "add r2, r0, #8\n"
149 "task_hook_loop:\n"
150 "ldrh r3, [r0],#2\n"
151 "strh r3, [r1],#2\n"
152 "cmp r0,r2\n"
153 "blo task_hook_loop\n"
154
155 " ldr r0, =0x010c1000\n"
156 " ldr r1, =0x0001e4e8\n"
157 " bl sub_fc13c50e\n"
158 " ldr r0, =0xfcbc22d0\n"
159 " ldr r1, =0x00008000\n"
160 " ldr r3, =0x000318a0\n"
161 "loc_fc020040:\n"
162 " cmp r1, r3\n"
163 " itt lo\n"
164 " ldrlo r2, [r0], #4\n"
165 " strlo r2, [r1], #4\n"
166 " blo loc_fc020040\n"
167 " ldr r3, =0x000318a0\n"
168 " ldr r1, =0x003077e0\n"
169 " mov.w r2, #0\n"
170 "loc_fc020056:\n"
171 " cmp r3, r1\n"
172 " it lo\n"
173 " strlo r2, [r3], #4\n"
174 " blo loc_fc020056\n"
175 " b.w sub_fc05e00c_my\n"
176
177 "patch_CreateTask:\n"
178 " ldr.w pc, [pc,#0]\n"
179 " .long CreateTask_my + 1\n"
180 );
181 }
182
183 void __attribute__((naked,noinline)) CreateTask_my() {
184 asm volatile (
185 " push {r0}\n"
186
187 " ldr r0, =task_CaptSeq\n"
188 " cmp r0, r3\n"
189 " itt eq\n"
190 " ldreq r3, =capt_seq_task\n"
191 " orreq r3, #1\n"
192 " beq exitHook\n"
193
194 " LDR R0, =task_ExpDrv\n"
195 " CMP R0, R3\n"
196 " itt eq\n"
197 " LDREQ R3, =exp_drv_task\n"
198 " orreq r3, #1\n"
199 " BEQ exitHook\n"
200
201 " ldr r0, =task_InitFileModules\n"
202 " cmp r0, r3\n"
203 " itt eq\n"
204 " ldreq r3, =init_file_modules_task\n"
205 " orreq r3, #1\n"
206 " BEQ exitHook\n"
207
208 " LDR R0, =task_FileWrite\n"
209 " CMP R0, R3\n"
210 " itt eq\n"
211 " LDREQ R3, =filewritetask\n"
212 " orreq r3, #1\n"
213 " BEQ exitHook\n"
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232 "exitHook:\n"
233 " pop {r0}\n"
234 " stmdb sp!, {r1, r2, r3, r4, r5, r6, r7, r8, r9, lr}\n"
235 " mov r4, r0\n"
236 " ldr r0, =0x8158\n"
237 " ldr.w pc, =(hook_CreateTask + 8 + 1) \n"
238 ".ltorg\n"
239 );
240 }
241
242
243 void __attribute__((naked,noinline)) sub_fc05e00c_my() {
244
245
246 if (*(int*)(0xd20b0000 + 0x97 * 4) & 0x10000) {
247
248 *(int*)(0x9494+0x4) = 0x200000;
249 }
250 else {
251
252 *(int*)(0x9494+0x4) = 0x100000;
253 }
254
255 asm volatile (
256 " push {r4, lr}\n"
257 #if defined(CHDK_NOT_IN_CANON_HEAP)
258 " ldr r4, =0x003077e0\n"
259 #else
260 "ldr r4, =new_sa\n"
261 "ldr r4, [r4]\n"
262 #endif
263 " sub sp, #0x78\n"
264 " ldr r0, =0x006ce000\n"
265 " ldr r1, =0x0008eb94\n"
266 " subs r0, r0, r4\n"
267 " cmp r0, r1\n"
268 " bhs loc_fc05e01e\n"
269 "loc_fc05e01c:\n"
270 " b loc_fc05e01c\n"
271 "loc_fc05e01e:\n"
272 " ldr r1, =0x00008074\n"
273 " mov.w r0, #0x80000\n"
274 " str r0, [r1]\n"
275 " ldr r1, =0x00008078\n"
276 " ldr r0, =0x42b21000\n"
277 " str r0, [r1]\n"
278 " ldr r1, =0x0000807c\n"
279 " ldr r0, =0x42b23000\n"
280 " str r0, [r1]\n"
281 " movs r1, #0x74\n"
282 " add r0, sp, #4\n"
283 " blx sub_fc2a16d8\n"
284 " add r2, sp, #4\n"
285 " ldr r0, =0x0062e000\n"
286 " mov.w r1, #0xa0000\n"
287 " stm r2!, {r0, r1, r4}\n"
288 " ldr r1, =0x0062346c\n"
289 " str r0, [sp, #0x18]\n"
290 " movs r0, #0x22\n"
291 " subs r2, r1, r4\n"
292 " str r0, [sp, #0x1c]\n"
293 " movs r0, #0x98\n"
294 " str r0, [sp, #0x20]\n"
295 " strd r2, r1, [sp, #0x10]\n"
296 " movw r0, #0x1e8\n"
297 " str r0, [sp, #0x24]\n"
298 " movs r0, #0xfa\n"
299 " str r0, [sp, #0x28]\n"
300 " movs r0, #0xb6\n"
301 " str r0, [sp, #0x2c]\n"
302 " movs r0, #0x85\n"
303 " str r0, [sp, #0x30]\n"
304 " movs r0, #0x40\n"
305 " str r0, [sp, #0x34]\n"
306 " movs r0, #4\n"
307 " str r0, [sp, #0x38]\n"
308 " movs r0, #0\n"
309 " str r0, [sp, #0x3c]\n"
310 " movs r0, #0x10\n"
311 " str r0, [sp, #0x60]\n"
312
313 " ldr r1, =sub_fc05e19d_my\n"
314 " movs r2, #0\n"
315 " lsls r0, r0, #8\n"
316 " str r0, [sp, #0x64]\n"
317 " asrs r0, r0, #4\n"
318 " str r0, [sp, #0x68]\n"
319 " lsls r0, r0, #5\n"
320 " str r0, [sp, #0x6c]\n"
321 " add r0, sp, #4\n"
322 " blx sub_fc2a0d38\n"
323 " add sp, #0x78\n"
324 " pop {r4, pc}\n"
325
326 ".ltorg\n"
327 );
328 }
329
330
331 void __attribute__((naked,noinline)) sub_fc05e19d_my() {
332 asm volatile (
333 " push {r4, lr}\n"
334 " ldr r4, =0xfc05e248\n"
335 " bl sub_fc05f3c8\n"
336 " ldr r0, =0x000080ec\n"
337 " ldr r1, [r0]\n"
338 " ldr r0, =0x00008074\n"
339 " ldr r0, [r0]\n"
340 " adds r0, #0x10\n"
341 " cmp r1, r0\n"
342 " bhs loc_fc05e1b8\n"
343 " ldr r0, =0xfc05e258\n"
344 " bl sub_fc05e230\n"
345 "loc_fc05e1b8:\n"
346 " bl sub_fc13c5e8\n"
347 " ldr r3, =0x80000800\n"
348 " mov.w r1, #-0x80000000\n"
349 " mov.w r2, #-0x11111112\n"
350 "loc_fc05e1c6:\n"
351 " stm r1!, {r2}\n"
352 " cmp r1, r3\n"
353 " blo loc_fc05e1c6\n"
354 " bl sub_fc13c5fa\n"
355 " bl sub_fc13cba4\n"
356 " cmp r0, #0\n"
357 " bge loc_fc05e1de\n"
358 " ldr r0, =0xfc05e274\n"
359 " bl sub_fc05e230\n"
360 "loc_fc05e1de:\n"
361 " bl sub_fc05ea08\n"
362 " cmp r0, #0\n"
363 " bge loc_fc05e1ec\n"
364 " ldr r0, =0xfc05e27c\n"
365 " bl sub_fc05e230\n"
366 "loc_fc05e1ec:\n"
367 " mov r0, r4\n"
368 " bl sub_fc05ea9c\n"
369 " cmp r0, #0\n"
370 " bge loc_fc05e1fc\n"
371 " ldr r0, =0xfc05e28c\n"
372 " bl sub_fc05e230\n"
373 "loc_fc05e1fc:\n"
374 " mov r0, r4\n"
375 " bl sub_fc05e3d4\n"
376 " cmp r0, #0\n"
377 " bge loc_fc05e20c\n"
378 " ldr r0, =0xfc05e2a0\n"
379 " bl sub_fc05e230\n"
380 "loc_fc05e20c:\n"
381 " bl sub_fc05e518\n"
382 " cmp r0, #0\n"
383 " bge loc_fc05e21a\n"
384 " ldr r0, =0xfc05e2ac\n"
385 " bl sub_fc05e230\n"
386 "loc_fc05e21a:\n"
387 " bl sub_fc0617d0\n"
388 " cmp r0, #0\n"
389 " bge loc_fc05e228\n"
390 " ldr r0, =0xfc05e2b8\n"
391 " bl sub_fc05e230\n"
392 "loc_fc05e228:\n"
393 " pop.w {r4, lr}\n"
394 " b.w sub_fc05e5a2_my\n"
395
396 ".ltorg\n"
397 );
398 }
399
400
401 void __attribute__((naked,noinline)) sub_fc05e5a2_my() {
402 asm volatile (
403 " push {r3, lr}\n"
404 " bl sub_fc05e6a4\n"
405 " bl sub_fc0b5a00\n"
406 " cbnz r0, loc_fc05e5b8\n"
407 " bl sub_fc07e9a8\n"
408 " cbz r0, loc_fc05e5b8\n"
409 " movs r0, #1\n"
410 " b loc_fc05e5ba\n"
411 "loc_fc05e5b8:\n"
412 " movs r0, #0\n"
413 "loc_fc05e5ba:\n"
414 " bl sub_fc070e98_my\n"
415 " cbnz r0, loc_fc05e5c6\n"
416 " bl sub_fc05e692\n"
417 "loc_fc05e5c4:\n"
418 " b loc_fc05e5c4\n"
419 "loc_fc05e5c6:\n"
420 " blx sub_fc2a0d90\n"
421 " ldr r1, =0x006ce000\n"
422 " movs r0, #0\n"
423 " bl sub_fc30d864\n"
424 " blx sub_fc2a12c8\n"
425 " movs r3, #0\n"
426 " str r3, [sp]\n"
427
428 " ldr r3, =task_Startup_my\n"
429 " movs r2, #0\n"
430 " movs r1, #0x19\n"
431 " ldr r0, =0xfc05e5f4\n"
432 " blx sub_fc2a12e8\n"
433 " movs r0, #0\n"
434 " pop {r3, pc}\n"
435
436 ".ltorg\n"
437 );
438 }
439
440
441 void __attribute__((naked,noinline)) sub_fc070e98_my() {
442 asm volatile (
443 " push.w {r2, r3, r4, r5, r6, r7, r8, lr}\n"
444 " mov.w r8, #0\n"
445 " mov r7, r0\n"
446 " mov r6, r8\n"
447 " bl sub_fc07138e\n"
448 " movs r0, #0x97\n"
449 " bl sub_fc06ecba\n"
450 " movs r4, #1\n"
451 " bic.w r5, r4, r0\n"
452 " movs r0, #0x98\n"
453 " bl sub_fc06ecba\n"
454 " bics r4, r0\n"
455 " cbz r7, loc_fc070ec4\n"
456 " orrs.w r0, r5, r4\n"
457
458 "loc_fc070ec4:\n"
459 " bl sub_fc0b5a00\n"
460 " movs r3, #0\n"
461 " mov r2, r0\n"
462 " strd r8, r6, [sp]\n"
463 " mov r1, r4\n"
464 " mov r0, r5\n"
465
466
467 " movs r0, #1\n"
468 "loc_fc070ede:\n"
469 " pop.w {r2, r3, r4, r5, r6, r7, r8, pc}\n"
470
471 ".ltorg\n"
472 );
473 }
474
475
476
477 void __attribute__((naked,noinline)) task_Startup_my() {
478 asm volatile (
479 " push {r4, lr}\n"
480 " bl sub_fc0e4714\n"
481 " bl sub_fc05e670\n"
482 " bl sub_fc05e7e4\n"
483 " bl sub_fc0e47ac\n"
484
485
486
487 " bl sub_fc08f5b8\n"
488
489 " bl sub_fc0895ae\n"
490 " bl sub_fc0e48f0\n"
491 " bl sub_fc05e948\n"
492 " bl sub_fc05e780\n"
493 " bl sub_fc0e47ea\n"
494 " bl sub_fc0999fc\n"
495 " bl sub_fc0e48f6\n"
496
497 " bl sub_fc070d8a_my\n"
498
499 #if defined(OPT_RUN_WITH_BATT_COVER_OPEN)
500 " LDR R0, =0x1C0000\n"
501 "batt_delay:\n"
502 " NOP\n"
503 " SUBS R0,R0,#1\n"
504 " BNE batt_delay\n"
505 #endif
506 " bl CreateTask_spytask\n"
507
508 #ifdef DEBUG_BLINKING
509 " bl CreateTask_blinker\n"
510 #endif
511
512 " bl sub_fc254046\n"
513 " bl sub_fc0e490c\n"
514 " bl sub_fc0b57a4\n"
515 " bl sub_fc0e44fc\n"
516 " bl sub_fc0b58d0\n"
517 " bl sub_fc0999ae\n"
518 " bl sub_fc0e44bc\n"
519 " bl sub_fc05e94c\n"
520 " bl sub_fc307d98\n"
521 " bl sub_fc0e4496\n"
522 " pop.w {r4, lr}\n"
523 " b.w sub_fc0e46ea\n"
524
525 ".ltorg\n"
526 );
527 }
528
529
530 void __attribute__((naked,noinline)) sub_fc070d8a_my() {
531 asm volatile (
532 " push {r3, r4, r5, lr}\n"
533 " bl sub_fc0701d8\n"
534 " bl sub_fc07e932\n"
535 " cbnz r0, loc_fc070d9a\n"
536 " bl sub_fc07017c\n"
537 "loc_fc070d9a:\n"
538 " ldr r4, =0x00008324\n"
539 " ldr r0, [r4, #4]\n"
540 " cmp r0, #0\n"
541 " bne loc_fc070db6\n"
542 " movs r3, #0\n"
543 " str r3, [sp]\n"
544
545 " ldr r3, =mykbd_task\n"
546 " movs r1, #0x17\n"
547 " ldr r0, =0xfc070de4\n"
548 " movw r2, #0x2000\n"
549 " blx sub_fc2a1620\n"
550 " str r0, [r4, #4]\n"
551 "loc_fc070db6:\n"
552 " pop {r3, r4, r5, pc}\n"
553
554 ".ltorg\n"
555 );
556 }
557
558
559
560 void __attribute__((naked,noinline)) init_file_modules_task() {
561 asm volatile (
562 " push {r4, r5, r6, lr}\n"
563 " bl sub_fc0bba04\n"
564 " movs r4, r0\n"
565 " movw r5, #0x5006\n"
566 " beq loc_fc0b926e\n"
567 " movs r1, #0\n"
568 " mov r0, r5\n"
569 " bl _PostLogicalEventToUI\n"
570 "loc_fc0b926e:\n"
571 " bl sub_fc0bba32\n"
572 " bl core_spytask_can_start\n"
573 " cmp r4, #0\n"
574 " bne loc_fc0b9282\n"
575 " mov r0, r5\n"
576 " pop.w {r4, r5, r6, lr}\n"
577 " movs r1, #0\n"
578 " b.w _PostLogicalEventToUI\n"
579 "loc_fc0b9282:\n"
580 " pop {r4, r5, r6, pc}\n"
581
582 ".ltorg\n"
583 );
584 }
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609 void __attribute__((naked,noinline)) kbd_p2_f_my() {
610 asm volatile(
611 " push.w {r4, r5, r6, r7, r8, lr}\n"
612 " ldr r6, =0x0003313c\n"
613 " sub sp, #0x18\n"
614 " add r7, sp, #8\n"
615 " subs r6, #0xc\n"
616 " b loc_fc070b72\n"
617 "loc_fc070b3e:\n"
618 " ldr r1, =0x0003313c\n"
619 " add r3, sp, #8\n"
620 " ldrb.w r0, [sp, #4]\n"
621 " add r2, sp, #0x14\n"
622 " subs r1, #0x18\n"
623 " bl sub_fc071856\n"
624 " cbnz r0, loc_fc070b58\n"
625 " ldr r1, [sp, #0x14]\n"
626 " movs r0, #0\n"
627 " bl sub_fc070aa2\n"
628 "loc_fc070b58:\n"
629 " movs r0, #2\n"
630 "loc_fc070b5a:\n"
631 " ldr.w r1, [r7, r0, lsl #2]\n"
632 " cbz r1, loc_fc070b6a\n"
633 " ldr.w r2, [r6, r0, lsl #2]\n"
634 " bics r2, r1\n"
635 " str.w r2, [r6, r0, lsl #2]\n"
636 "loc_fc070b6a:\n"
637 " subs r0, r0, #1\n"
638 " sxtb r0, r0\n"
639 " cmp r0, #0\n"
640 " bge loc_fc070b5a\n"
641 "loc_fc070b72:\n"
642 " ldr r0, =0x0003313c\n"
643 " add r1, sp, #4\n"
644 " subs r0, #0xc\n"
645 " bl sub_fc071584\n"
646 " cmp r0, #0\n"
647 " bne loc_fc070b3e\n"
648 " ldr.w r8, =0x0003313c\n"
649 " movs r4, #0\n"
650 "loc_fc070b86:\n"
651 " movs r5, #0\n"
652 " ldr.w r0, [r6, r4, lsl #2]\n"
653 " ldr.w r1, [r8, r4, lsl #2]\n"
654 " ands r0, r1\n"
655 " str.w r0, [r6, r4, lsl #2]\n"
656 " b loc_fc070bde\n"
657 "loc_fc070b98:\n"
658 " lsrs r0, r5\n"
659 " lsls r0, r0, #0x1f\n"
660 " beq loc_fc070bd6\n"
661 " ldr r1, =0x0003313c\n"
662 " add.w r0, r5, r4, lsl #5\n"
663 " add r3, sp, #8\n"
664 " subs r1, #0x18\n"
665 " add r2, sp, #0x14\n"
666 " uxtb r0, r0\n"
667 " bl sub_fc071856\n"
668 " cbnz r0, loc_fc070bba\n"
669 " ldr r1, [sp, #0x14]\n"
670 " movs r0, #1\n"
671 " bl sub_fc070aa2\n"
672 "loc_fc070bba:\n"
673 " mov r0, r4\n"
674 " b loc_fc070bd2\n"
675 "loc_fc070bbe:\n"
676 " ldr.w r1, [r7, r0, lsl #2]\n"
677 " cbz r1, loc_fc070bce\n"
678 " ldr.w r2, [r6, r0, lsl #2]\n"
679 " bics r2, r1\n"
680 " str.w r2, [r6, r0, lsl #2]\n"
681 "loc_fc070bce:\n"
682 " adds r0, r0, #1\n"
683 " sxtb r0, r0\n"
684 "loc_fc070bd2:\n"
685 " cmp r0, #3\n"
686 " blt loc_fc070bbe\n"
687 "loc_fc070bd6:\n"
688 " ldr.w r0, [r6, r4, lsl #2]\n"
689 " adds r5, r5, #1\n"
690 " uxtb r5, r5\n"
691 "loc_fc070bde:\n"
692 " cmp r0, #0\n"
693 " bne loc_fc070b98\n"
694 " adds r4, r4, #1\n"
695 " sxtb r4, r4\n"
696 " cmp r4, #3\n"
697 " blt loc_fc070b86\n"
698 " bl sub_fc07147a_my\n"
699 " add sp, #0x18\n"
700 " pop.w {r4, r5, r6, r7, r8, pc}\n"
701
702 ".ltorg\n"
703 );
704 }
705
706
707 void __attribute__((naked,noinline)) sub_fc07147a_my() {
708 asm volatile(
709 " push {r4, lr}\n"
710 " ldr r4, =0x00009494\n"
711 " ldr r0, [r4, #8]\n"
712 " bl sub_fc0721b4\n"
713 " bl sub_fc0c784c\n"
714 " ldr r0, [r4, #0xc]\n"
715 " bl sub_fc0720d0\n"
716 " ldr r0, [r4, #0x10]\n"
717 " bl sub_fc0720d0\n"
718
719
720 " bl handle_jogdial\n"
721 " cmp r0, #0\n"
722 " beq no_scroll\n"
723 " bl sub_fc06befe\n"
724 "no_scroll:\n"
725 " pop {r4, pc}\n"
726 ".ltorg\n"
727 );
728 }
729
730