No Description

battle_switch_in_hook.S 237B

123456789101112131415
  1. .text
  2. .align 2
  3. .thumb
  4. .global battle_switch_in_hook
  5. battle_switch_in_hook:
  6. ldr r1, =0xFDFF
  7. and r1, r2
  8. strh r1, [r0]
  9. mov r4, #0
  10. push {r0-r3}
  11. bl battle_switch_in
  12. pop {r0-r3}
  13. ldr r0, =0x08024FEC|1
  14. bx r0