Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text
- .align 2
- .thumb
- .thumb_func
- .global poketchactivatehack
- main:
- strb r0, [r1]
- ldr r0, poketchByte
- ldrb r0, [r0]
- cmp r0, #0x0
- beq end
- cmp r0, nope
- beq end
- ldr r0, buttonsStuff3
- ldrh r0, [r0]
- mov r1, #0x3
- lsl r1, r1, #0x8
- and r0, r1, r0
- cmp r0, #0x0
- beq end
- ldr r0, poketchRoutine
- bl bx_r0
- end:
- b +68
- bx_r0:
- bx r0
- .align 2
- nope: .hword 0x0101
- poketchByte: .word 0x0203C20E
- buttonsStuff3: .word 0x030030f0+0x2e
- poketchRoutine: .word 0x08A253e4+1
- /*insert at 0x0813B8B8*/
Add Comment
Please, Sign In to add comment