pmd-sky/asm/overlay_29_02300D50.s
2025-10-22 22:54:34 -04:00

45 lines
839 B
ArmAsm

.include "asm/macros.inc"
.include "overlay_29_02300D50.inc"
.text
arm_func_start ov29_02300D50
ov29_02300D50: ; 0x02300D50
stmdb sp!, {r3, lr}
ldr r1, [r0, #0xb4]
ldrb r3, [r1, #0xc4]
cmp r3, #3
moveq r0, #1
ldmeqia sp!, {r3, pc}
cmp r3, #4
moveq r0, #1
ldmeqia sp!, {r3, pc}
ldrb r2, [r1, #0xd0]
cmp r2, #7
moveq r0, #1
ldmeqia sp!, {r3, pc}
cmp r2, #3
moveq r0, #1
ldmeqia sp!, {r3, pc}
ldrb r1, [r1, #0xbf]
cmp r1, #4
moveq r0, #1
ldmeqia sp!, {r3, pc}
cmp r3, #6
moveq r0, #1
ldmeqia sp!, {r3, pc}
cmp r2, #1
moveq r0, #1
ldmeqia sp!, {r3, pc}
bl CheckVariousStatuses__023016DC
ldmia sp!, {r3, pc}
arm_func_end ov29_02300D50
arm_func_start ov29_02300DC0
ov29_02300DC0: ; 0x02300DC0
ldr ip, _02300DC8 ; =ov29_02300D50
bx ip
.align 2, 0
_02300DC8: .word ov29_02300D50
arm_func_end ov29_02300DC0