pokeheartgold/asm/overlay_93_thumb_2.s

6265 lines
115 KiB
ArmAsm
Raw Normal View History

2021-06-27 18:43:42 +00:00
.include "asm/macros.inc"
2023-01-27 22:42:00 +00:00
.include "overlay_93_thumb_2.inc"
2021-06-27 18:43:42 +00:00
.include "global.inc"
2021-06-18 12:29:26 +00:00
2021-06-27 18:43:42 +00:00
.text
2021-06-26 18:23:42 +00:00
thumb_func_start ov93_0225FBF0
2021-06-27 18:48:56 +00:00
ov93_0225FBF0: ; 0x0225FBF0
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
sub sp, #0x18
2021-06-27 18:48:56 +00:00
add r7, r0, #0
2021-06-26 18:23:42 +00:00
str r1, [sp, #0x10]
2021-06-27 18:48:56 +00:00
mov r0, #0xc9
mov r1, #0x75
add r5, r2, #0
add r4, r3, #0
2023-06-04 17:22:55 +00:00
bl NARC_New
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
str r1, [sp]
str r1, [sp, #4]
str r1, [sp, #8]
2021-06-27 18:48:56 +00:00
mov r1, #0x75
2021-06-26 18:23:42 +00:00
str r1, [sp, #0xc]
2021-12-02 13:51:20 +00:00
ldr r1, _0225FC7C ; =ov93_02262CEC
2021-06-27 18:48:56 +00:00
lsl r6, r5, #3
2021-06-26 18:23:42 +00:00
ldrh r1, [r1, r6]
2021-06-27 18:48:56 +00:00
add r2, r7, #0
mov r3, #7
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x14]
2022-01-27 21:18:13 +00:00
bl GfGfxLoader_LoadCharDataFromOpenNarc
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-12-02 13:51:20 +00:00
ldr r1, _0225FC80 ; =ov93_02262CEE
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
str r0, [sp, #8]
2021-06-27 18:48:56 +00:00
mov r0, #0x75
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
ldrh r1, [r1, r6]
ldr r0, [sp, #0x14]
2021-06-27 18:48:56 +00:00
add r2, r7, #0
mov r3, #7
2022-01-27 21:18:13 +00:00
bl GfGfxLoader_LoadScrnDataFromOpenNarc
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0x14]
2023-06-04 17:27:11 +00:00
bl NARC_Delete
2021-06-27 18:48:56 +00:00
add r0, r4, #0
mov r1, #0
mov r2, #0x30
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0x10]
2021-06-27 18:48:56 +00:00
mov r1, #0xc
add r2, r0, #0
mul r2, r1
2021-12-02 13:51:20 +00:00
ldr r0, _0225FC84 ; =ov93_02262FD4
2021-06-27 18:48:56 +00:00
lsl r1, r5, #2
add r0, r0, r2
2021-06-26 18:23:42 +00:00
ldr r0, [r1, r0]
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-06-26 18:23:42 +00:00
str r0, [r4, #0xc]
str r5, [r4, #4]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
str r1, [r4]
2021-06-27 18:48:56 +00:00
add r0, #0x2c
2021-06-26 18:23:42 +00:00
strb r1, [r0]
ldr r2, [sp, #0x10]
2021-06-27 18:48:56 +00:00
add r0, r7, #0
add r1, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225FCA4
2021-06-27 18:48:56 +00:00
ldr r0, _0225FC88 ; =0x000005EB
2021-08-13 18:03:14 +00:00
bl PlaySE
2021-06-26 18:23:42 +00:00
add sp, #0x18
pop {r3, r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-02 13:51:20 +00:00
_0225FC7C: .word ov93_02262CEC
_0225FC80: .word ov93_02262CEE
_0225FC84: .word ov93_02262FD4
2021-06-27 18:48:56 +00:00
_0225FC88: .word 0x000005EB
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FBF0
thumb_func_start ov93_0225FC8C
2021-06-27 18:48:56 +00:00
ov93_0225FC8C: ; 0x0225FC8C
2021-06-26 18:23:42 +00:00
push {r4, lr}
2021-06-27 18:48:56 +00:00
add r4, r1, #0
mov r1, #7
2021-09-18 16:36:50 +00:00
bl BgClearTilemapBufferAndCommit
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [r4]
2021-06-27 18:48:56 +00:00
mov r0, #1
add r4, #0x2d
2021-06-26 18:23:42 +00:00
strb r0, [r4]
pop {r4, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FC8C
thumb_func_start ov93_0225FCA4
2021-06-27 18:48:56 +00:00
ov93_0225FCA4: ; 0x0225FCA4
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, r7, lr}
sub sp, #0x14
2021-06-27 18:48:56 +00:00
add r5, r1, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
ldr r0, [r5]
cmp r0, #0
beq _0225FD86
add r0, sp, #0xc
str r0, [sp]
2021-06-27 18:48:56 +00:00
add r0, r2, #0
2021-06-26 18:23:42 +00:00
ldr r1, [r5, #4]
ldr r2, [r5, #8]
add r3, sp, #0x10
bl ov93_0225FD8C
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
ldr r1, [sp, #0x10]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xc
2021-06-26 18:23:42 +00:00
cmp r1, r0
bne _0225FCD0
2021-06-27 18:48:56 +00:00
mov r7, #0
2021-06-26 18:23:42 +00:00
b _0225FCF0
_0225FCD0:
bge _0225FCE2
2021-06-27 18:48:56 +00:00
lsl r1, r1, #7
asr r0, r1, #0xb
lsr r0, r0, #0x14
add r0, r1, r0
asr r1, r0, #0xc
mov r0, #0x80
sub r7, r0, r1
2021-06-26 18:23:42 +00:00
b _0225FCF0
_0225FCE2:
2021-06-27 18:48:56 +00:00
sub r0, r1, r0
lsl r1, r0, #7
asr r0, r1, #0xb
lsr r0, r0, #0x14
add r0, r1, r0
asr r0, r0, #0xc
neg r7, r0
2021-06-26 18:23:42 +00:00
_0225FCF0:
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
ldr r1, [sp, #0xc]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xc
2021-06-26 18:23:42 +00:00
cmp r1, r0
bne _0225FCFE
2021-06-27 18:48:56 +00:00
mov r6, #0
2021-06-26 18:23:42 +00:00
b _0225FD1E
_0225FCFE:
bge _0225FD10
2021-06-27 18:48:56 +00:00
lsl r1, r1, #7
asr r0, r1, #0xb
lsr r0, r0, #0x14
add r0, r1, r0
asr r1, r0, #0xc
mov r0, #0x80
sub r6, r0, r1
2021-06-26 18:23:42 +00:00
b _0225FD1E
_0225FD10:
2021-06-27 18:48:56 +00:00
sub r0, r1, r0
lsl r1, r0, #7
asr r0, r1, #0xb
lsr r0, r0, #0x14
add r0, r1, r0
asr r0, r0, #0xc
neg r6, r0
2021-06-26 18:23:42 +00:00
_0225FD1E:
ldr r0, [r5, #0x10]
cmp r0, #0
bne _0225FD28
2021-06-27 18:48:56 +00:00
mov r4, #0
2021-06-26 18:23:42 +00:00
b _0225FD44
_0225FD28:
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #7
and r0, r1
add r4, r0, #1
2021-06-26 18:23:42 +00:00
ldr r1, [r5, #0x28]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
tst r0, r1
beq _0225FD3C
2021-06-27 18:48:56 +00:00
neg r4, r4
2021-06-26 18:23:42 +00:00
_0225FD3C:
ldr r1, [r5, #0x28]
2021-06-27 18:48:56 +00:00
mov r0, #1
eor r0, r1
2021-06-26 18:23:42 +00:00
str r0, [r5, #0x28]
_0225FD44:
ldr r0, [sp, #0x10]
2021-08-19 18:13:23 +00:00
bl FX_Inv
2021-06-27 18:48:56 +00:00
add r5, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0xc]
2021-08-19 18:13:23 +00:00
bl FX_Inv
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
ldr r0, [sp, #4]
2021-06-27 18:48:56 +00:00
mov r1, #7
mov r2, #3
add r3, r5, #0
2022-01-18 21:30:52 +00:00
bl ScheduleSetBgAffineScale
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #4]
ldr r3, [sp, #8]
2021-06-27 18:48:56 +00:00
mov r1, #7
mov r2, #6
2022-01-18 21:30:52 +00:00
bl ScheduleSetBgAffineScale
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #4]
2021-06-27 18:48:56 +00:00
mov r1, #7
mov r2, #0
sub r3, r4, r7
bl ScheduleSetBgPosText
2021-06-27 18:48:56 +00:00
mov r3, #0x27
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #4]
2021-06-27 18:48:56 +00:00
mov r1, #7
mov r2, #3
sub r3, r3, r6
bl ScheduleSetBgPosText
2021-06-26 18:23:42 +00:00
_0225FD86:
add sp, #0x14
pop {r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FCA4
thumb_func_start ov93_0225FD8C
2021-06-27 18:48:56 +00:00
ov93_0225FD8C: ; 0x0225FD8C
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, lr}
2021-06-27 18:48:56 +00:00
add r5, r0, #0
add r4, r3, #0
2021-12-02 13:51:20 +00:00
ldr r0, _0225FDE8 ; =ov93_02262CF0
2021-06-27 18:48:56 +00:00
lsl r3, r1, #3
2021-06-26 18:23:42 +00:00
ldr r0, [r0, r3]
2021-06-27 18:48:56 +00:00
add r6, r5, #0
mul r0, r2
mov r2, #0xc
mul r6, r2
2021-12-02 13:51:20 +00:00
ldr r3, _0225FDEC ; =ov93_02262FD4
2021-06-27 18:48:56 +00:00
lsl r2, r1, #2
add r1, r3, r6
2021-06-26 18:23:42 +00:00
ldr r1, [r2, r1]
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
mov r1, #3
lsl r1, r1, #8
add r2, r0, r1
2021-06-26 18:23:42 +00:00
ldr r1, [sp, #0x10]
str r2, [r4]
str r2, [r1]
2021-06-27 18:48:56 +00:00
mov r1, #1
lsl r1, r1, #0xc
2021-06-26 18:23:42 +00:00
cmp r2, r1
ble _0225FDE6
2021-06-27 18:48:56 +00:00
mov r1, #0xd
lsl r1, r1, #8
sub r0, r0, r1
ldr r2, _0225FDF0 ; =0x0000119A
asr r1, r0, #0x1f
mov r3, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
mov r3, #2
mov r5, #0
lsl r3, r3, #0xa
add r3, r0, r3
adc r1, r5
lsl r0, r1, #0x14
lsr r1, r3, #0xc
2021-06-26 18:23:42 +00:00
ldr r2, [r4]
2021-06-27 18:48:56 +00:00
orr r1, r0
add r0, r2, r1
2021-06-26 18:23:42 +00:00
str r0, [r4]
_0225FDE6:
pop {r4, r5, r6, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-02 13:51:20 +00:00
_0225FDE8: .word ov93_02262CF0
_0225FDEC: .word ov93_02262FD4
2021-06-27 18:48:56 +00:00
_0225FDF0: .word 0x0000119A
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FD8C
thumb_func_start ov93_0225FDF4
2021-06-27 18:48:56 +00:00
ov93_0225FDF4: ; 0x0225FDF4
2021-06-26 18:23:42 +00:00
cmp r0, #0xa
blt _0225FDFC
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
bx lr
_0225FDFC:
cmp r0, #5
blt _0225FE04
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
bx lr
_0225FE04:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
bx lr
thumb_func_end ov93_0225FDF4
thumb_func_start ov93_0225FE08
2021-06-27 18:48:56 +00:00
ov93_0225FE08: ; 0x0225FE08
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r4, r1, #0
add r5, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
add r6, r2, #0
add r0, r0, r6
add r7, r3, #0
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
mov r1, #6
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x14]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r1, r7, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225E3C4
2021-06-27 18:48:56 +00:00
add r1, r4, #0
add r1, #0x18
lsl r0, r0, #2
2021-06-26 18:23:42 +00:00
ldr r2, [r1, r0]
2021-06-27 18:48:56 +00:00
add r2, r2, r6
2021-06-26 18:23:42 +00:00
str r2, [r1, r0]
2021-06-27 19:11:25 +00:00
bl sub_0203769C
2021-06-26 18:23:42 +00:00
cmp r7, r0
bne _0225FE4E
2021-06-27 18:48:56 +00:00
ldr r1, _0225FE54 ; =0x00003848
2021-06-26 18:23:42 +00:00
ldr r0, [r5, r1]
2021-06-27 18:48:56 +00:00
add r0, r0, r6
2021-06-26 18:23:42 +00:00
str r0, [r5, r1]
2021-06-27 18:48:56 +00:00
ldr r0, _0225FE58 ; =0x000015A8
2021-06-26 18:23:42 +00:00
ldr r1, [r5, r1]
2021-06-27 18:48:56 +00:00
add r0, r5, r0
2021-06-26 18:23:42 +00:00
bl ov93_02262098
_0225FE4E:
ldr r0, [r4, #0x10]
pop {r3, r4, r5, r6, r7, pc}
nop
2021-06-27 18:48:56 +00:00
_0225FE54: .word 0x00003848
_0225FE58: .word 0x000015A8
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FE08
thumb_func_start ov93_0225FE5C
2021-06-27 18:48:56 +00:00
ov93_0225FE5C: ; 0x0225FE5C
2021-06-26 18:23:42 +00:00
ldr r1, [r0, #0x10]
cmp r1, #0
bne _0225FE66
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
bx lr
_0225FE66:
ldr r2, [r0, #0x14]
cmp r1, r2
bge _0225FE6E
2021-06-27 18:48:56 +00:00
add r2, r1, #0
2021-06-26 18:23:42 +00:00
_0225FE6E:
ldr r1, [r0, #0x10]
2021-06-27 18:48:56 +00:00
sub r1, r1, r2
2021-06-26 18:23:42 +00:00
str r1, [r0, #0x10]
ldr r1, [r0, #8]
2021-06-27 18:48:56 +00:00
add r1, r1, r2
2021-06-26 18:23:42 +00:00
str r1, [r0, #8]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
bx lr
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FE5C
thumb_func_start ov93_0225FE80
2021-06-27 18:48:56 +00:00
ov93_0225FE80: ; 0x0225FE80
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, lr}
2021-06-27 18:48:56 +00:00
add r5, r0, #0
ldr r0, _0225FEA8 ; =0x00002FCC
add r6, r1, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r5, r0]
2021-06-27 18:48:56 +00:00
add r4, r2, #0
2021-06-26 18:23:42 +00:00
cmp r0, #0
beq _0225FEA4
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225FE5C
ldr r2, [r5]
2021-06-27 18:48:56 +00:00
add r0, r6, #0
add r2, #0x30
2021-06-26 18:23:42 +00:00
ldrb r2, [r2]
2021-06-27 18:48:56 +00:00
add r1, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225FCA4
_0225FEA4:
pop {r4, r5, r6, pc}
nop
2021-06-27 18:48:56 +00:00
_0225FEA8: .word 0x00002FCC
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FE80
thumb_func_start ov93_0225FEAC
2021-06-27 18:48:56 +00:00
ov93_0225FEAC: ; 0x0225FEAC
ldr r1, _0225FEBC ; =0x00001428
2021-08-11 14:29:41 +00:00
ldr r3, _0225FEC0 ; =_s32_div_f
2021-06-27 18:48:56 +00:00
add r2, r0, r1
2021-06-26 18:23:42 +00:00
ldr r1, [r2, #8]
2021-06-27 18:48:56 +00:00
mov r0, #0x64
mul r0, r1
2021-06-26 18:23:42 +00:00
ldr r1, [r2, #0xc]
bx r3
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_0225FEBC: .word 0x00001428
2021-08-11 14:29:41 +00:00
_0225FEC0: .word _s32_div_f
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FEAC
thumb_func_start ov93_0225FEC4
2021-06-27 18:48:56 +00:00
ov93_0225FEC4: ; 0x0225FEC4
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, lr}
sub sp, #4
2021-06-27 18:48:56 +00:00
add r5, r0, #0
ldr r0, _0225FF14 ; =0x00002FDC
add r4, r1, #0
mov r3, #0
add r2, r5, #0
2021-06-26 18:23:42 +00:00
_0225FED2:
ldr r1, [r2, r0]
cmp r1, #0
bne _0225FF00
2021-06-27 18:48:56 +00:00
ldr r2, _0225FF14 ; =0x00002FDC
mov r6, #0x18
add r2, r5, r2
mul r6, r3
add r0, r5, #0
add r1, r4, #0
add r2, r2, r6
2021-06-26 18:23:42 +00:00
bl ov93_0225FF1C
str r0, [sp]
2021-06-27 18:48:56 +00:00
ldr r1, _0225FF18 ; =0x00001560
2021-06-26 18:23:42 +00:00
ldrb r2, [r4, #1]
ldrb r3, [r4]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r1, r5, r1
2021-06-26 18:23:42 +00:00
bl ov93_02261C58
add sp, #4
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, r6, pc}
_0225FF00:
2021-06-27 18:48:56 +00:00
add r3, r3, #1
add r2, #0x18
2021-06-26 18:23:42 +00:00
cmp r3, #0x28
blt _0225FED2
bl GF_AssertFail
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
add sp, #4
pop {r3, r4, r5, r6, pc}
nop
2021-06-27 18:48:56 +00:00
_0225FF14: .word 0x00002FDC
_0225FF18: .word 0x00001560
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FEC4
thumb_func_start ov93_0225FF1C
2021-06-27 18:48:56 +00:00
ov93_0225FF1C: ; 0x0225FF1C
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r4, r2, #0
add r7, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r5, r1, #0
2021-06-26 18:23:42 +00:00
cmp r0, #0
beq _0225FF2E
bl GF_AssertFail
2021-06-26 18:23:42 +00:00
_0225FF2E:
2021-06-27 18:48:56 +00:00
add r0, r4, #0
mov r1, #0
mov r2, #0x18
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-26 18:23:42 +00:00
ldrb r1, [r5]
2021-06-27 18:48:56 +00:00
add r0, r7, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225E3C4
ldr r1, [r7]
2021-12-02 13:51:20 +00:00
ldr r3, _0225FFF4 ; =ov93_02263010
2021-06-27 18:48:56 +00:00
add r1, #0x30
2021-06-26 18:23:42 +00:00
ldrb r2, [r1]
2021-06-27 18:48:56 +00:00
mov r1, #0x28
mul r1, r2
mov r2, #0xa
mul r2, r0
2021-06-26 18:23:42 +00:00
ldrb r0, [r5]
2021-06-27 18:48:56 +00:00
add r1, r3, r1
add r6, r1, r2
2021-06-26 18:23:42 +00:00
strh r0, [r4, #4]
ldrh r0, [r5, #2]
2021-06-27 18:48:56 +00:00
add r1, r6, #0
2021-06-26 18:23:42 +00:00
strh r0, [r4, #6]
ldr r0, [r5, #8]
str r0, [r4, #8]
str r6, [r4, #0x14]
ldrb r0, [r5, #1]
strb r0, [r4, #0xe]
2021-06-27 18:48:56 +00:00
add r0, r7, #0
2021-06-26 18:23:42 +00:00
bl ov93_0226027C
str r0, [r4, #0x10]
2021-06-27 19:11:25 +00:00
bl sub_0203769C
2021-06-26 18:23:42 +00:00
ldrb r1, [r5]
cmp r1, r0
bne _0225FF8E
ldr r1, [r5, #4]
2021-06-27 18:48:56 +00:00
add r0, r7, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225DF38
2021-06-27 18:48:56 +00:00
mov r0, #0x19
2021-06-26 18:23:42 +00:00
strh r0, [r4, #0xc]
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
_0225FF8E:
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r4]
add r1, sp, #0
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #0
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
mov r5, #0
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldrb r0, [r6, #7]
cmp r0, #3
bhi _0225FFE8
2021-06-27 18:48:56 +00:00
add r0, r0, r0
2021-06-26 18:23:42 +00:00
add r0, pc
ldrh r0, [r0, #6]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0x10
asr r0, r0, #0x10
2021-06-26 18:23:42 +00:00
add pc, r0
2021-06-27 18:48:56 +00:00
_0225FFB6: ; jump table
.short _0225FFBE - _0225FFB6 - 2 ; case 0
.short _0225FFCA - _0225FFB6 - 2 ; case 1
.short _0225FFD4 - _0225FFB6 - 2 ; case 2
.short _0225FFDE - _0225FFB6 - 2 ; case 3
2021-06-26 18:23:42 +00:00
_0225FFBE:
add r1, sp, #0
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
ldrsh r1, [r1, r0]
2021-06-27 18:48:56 +00:00
mov r0, #0x1c
sub r5, r0, r1
2021-06-26 18:23:42 +00:00
b _0225FFE8
_0225FFCA:
add r1, sp, #0
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldrsh r5, [r1, r0]
2021-06-27 18:48:56 +00:00
sub r5, #0xcc
2021-06-26 18:23:42 +00:00
b _0225FFE8
_0225FFD4:
add r1, sp, #0
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
ldrsh r5, [r1, r0]
2021-06-27 18:48:56 +00:00
sub r5, #0xa4
2021-06-26 18:23:42 +00:00
b _0225FFE8
_0225FFDE:
add r1, sp, #0
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldrsh r1, [r1, r0]
2021-06-27 18:48:56 +00:00
mov r0, #0x34
sub r5, r0, r1
2021-06-26 18:23:42 +00:00
_0225FFE8:
2021-06-27 18:48:56 +00:00
mov r1, #5
lsl r0, r5, #0xc
lsl r1, r1, #0xc
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-02 13:51:20 +00:00
_0225FFF4: .word ov93_02263010
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FF1C
thumb_func_start ov93_0225FFF8
2021-06-27 18:48:56 +00:00
ov93_0225FFF8: ; 0x0225FFF8
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r5, r0, #0
ldr r0, _02260070 ; =0x00002FDC
mov r6, #0
add r4, r5, r0
add r7, r6, #0
2021-06-26 18:23:42 +00:00
_02260004:
ldr r0, [r4]
cmp r0, #1
bne _02260064
2021-06-27 18:48:56 +00:00
mov r0, #0xc
2021-06-26 18:23:42 +00:00
ldrsh r0, [r4, r0]
cmp r0, #0
ble _0226002C
2021-06-27 18:48:56 +00:00
mov r0, #0xc
2021-06-26 18:23:42 +00:00
ldrsh r0, [r4, r0]
2021-06-27 18:48:56 +00:00
sub r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r0, [r4, #0xc]
2021-06-27 18:48:56 +00:00
mov r0, #0xc
2021-06-26 18:23:42 +00:00
ldrsh r0, [r4, r0]
cmp r0, #0
bne _02260064
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
mov r1, #1
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
b _02260064
_0226002C:
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r1, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_02260080
cmp r0, #1
bne _02260064
2021-06-27 18:48:56 +00:00
ldr r0, _02260074 ; =0x00002FCC
2021-06-26 18:23:42 +00:00
ldr r0, [r5, r0]
cmp r0, #1
bne _0226005C
2021-06-27 18:48:56 +00:00
ldr r0, _02260078 ; =0x00002FBC
2021-06-26 18:23:42 +00:00
ldr r0, [r5, r0]
cmp r0, #0
bne _0226005C
ldrb r0, [r4, #0xe]
2021-06-27 18:48:56 +00:00
ldr r1, _0226007C ; =0x00001428
mov r3, #4
2021-06-26 18:23:42 +00:00
str r0, [sp]
ldrsh r3, [r4, r3]
ldr r2, [r4, #8]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r1, r5, r1
2021-06-26 18:23:42 +00:00
bl ov93_0225FE08
_0226005C:
ldr r0, [r4, #0x10]
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-26 18:23:42 +00:00
str r7, [r4]
_02260064:
2021-06-27 18:48:56 +00:00
add r6, r6, #1
add r4, #0x18
2021-06-26 18:23:42 +00:00
cmp r6, #0x28
blt _02260004
pop {r3, r4, r5, r6, r7, pc}
nop
2021-06-27 18:48:56 +00:00
_02260070: .word 0x00002FDC
_02260074: .word 0x00002FCC
_02260078: .word 0x00002FBC
_0226007C: .word 0x00001428
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0225FFF8
thumb_func_start ov93_02260080
2021-06-27 18:48:56 +00:00
ov93_02260080: ; 0x02260080
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
sub sp, #0x10
2021-06-27 18:48:56 +00:00
add r4, r1, #0
2021-06-26 18:23:42 +00:00
str r0, [sp]
add r1, sp, #4
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #4
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
mov r7, #0
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x14]
ldrb r0, [r0, #7]
cmp r0, #3
bhi _02260188
2021-06-27 18:48:56 +00:00
add r0, r0, r0
2021-06-26 18:23:42 +00:00
add r0, pc
ldrh r0, [r0, #6]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0x10
asr r0, r0, #0x10
2021-06-26 18:23:42 +00:00
add pc, r0
2021-06-27 18:48:56 +00:00
_022600AE: ; jump table
.short _022600B6 - _022600AE - 2 ; case 0
.short _022600EC - _022600AE - 2 ; case 1
.short _02260120 - _022600AE - 2 ; case 2
.short _02260152 - _022600AE - 2 ; case 3
2021-06-26 18:23:42 +00:00
_022600B6:
add r0, sp, #4
2021-06-27 18:48:56 +00:00
add r1, r7, #0
2021-06-26 18:23:42 +00:00
ldrsh r2, [r0, r1]
2021-06-27 18:48:56 +00:00
mov r0, #0x1c
sub r6, r0, r2
mov r2, #5
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
lsl r2, r2, #0xc
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_AddSpritePrecisePositionXY
2021-06-26 18:23:42 +00:00
add r1, sp, #8
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #8
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r1, sp, #4
2021-06-27 18:48:56 +00:00
mov r0, #4
2021-06-26 18:23:42 +00:00
ldrsh r1, [r1, r0]
2021-06-27 18:48:56 +00:00
mov r0, #0x1c
sub r5, r0, r1
2021-06-26 18:23:42 +00:00
cmp r1, #0x4a
ble _02260188
2021-06-27 18:48:56 +00:00
mov r7, #1
2021-06-26 18:23:42 +00:00
b _02260188
_022600EC:
add r1, sp, #4
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldrsh r6, [r1, r0]
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
ldr r1, _02260270 ; =0xFFFFB000
add r2, r7, #0
sub r6, #0xcc
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_AddSpritePrecisePositionXY
2021-06-26 18:23:42 +00:00
add r1, sp, #8
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #8
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r1, sp, #4
2021-06-27 18:48:56 +00:00
mov r0, #6
2021-06-26 18:23:42 +00:00
ldrsh r0, [r1, r0]
2021-06-27 18:48:56 +00:00
add r5, r0, #0
sub r5, #0xcc
2021-06-26 18:23:42 +00:00
cmp r0, #0x98
bge _02260188
2021-06-27 18:48:56 +00:00
mov r7, #1
2021-06-26 18:23:42 +00:00
b _02260188
_02260120:
add r0, sp, #4
2021-06-27 18:48:56 +00:00
add r1, r7, #0
2021-06-26 18:23:42 +00:00
ldrsh r6, [r0, r1]
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
ldr r2, _02260270 ; =0xFFFFB000
sub r6, #0xa4
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_AddSpritePrecisePositionXY
2021-06-26 18:23:42 +00:00
add r1, sp, #8
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #8
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r1, sp, #4
2021-06-27 18:48:56 +00:00
mov r0, #4
2021-06-26 18:23:42 +00:00
ldrsh r0, [r1, r0]
2021-06-27 18:48:56 +00:00
add r5, r0, #0
sub r5, #0xa4
2021-06-26 18:23:42 +00:00
cmp r0, #0x72
bge _02260188
2021-06-27 18:48:56 +00:00
mov r7, #1
2021-06-26 18:23:42 +00:00
b _02260188
_02260152:
add r1, sp, #4
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldrsh r1, [r1, r0]
2021-06-27 18:48:56 +00:00
mov r0, #0x34
add r2, r7, #0
sub r6, r0, r1
mov r1, #5
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
lsl r1, r1, #0xc
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_AddSpritePrecisePositionXY
2021-06-26 18:23:42 +00:00
add r1, sp, #8
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #8
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r1, sp, #4
2021-06-27 18:48:56 +00:00
mov r0, #6
2021-06-26 18:23:42 +00:00
ldrsh r1, [r1, r0]
2021-06-27 18:48:56 +00:00
mov r0, #0x34
sub r5, r0, r1
2021-06-26 18:23:42 +00:00
cmp r1, #0x68
ble _02260188
2021-06-27 18:48:56 +00:00
mov r7, #1
2021-06-26 18:23:42 +00:00
_02260188:
cmp r5, #0
blt _022601B8
cmp r5, #0xe
bge _022601F0
2021-06-27 18:48:56 +00:00
lsl r0, r5, #0xc
mov r1, #0xe
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
mov r1, #1
lsl r1, r1, #0xa
2021-06-26 18:23:42 +00:00
cmp r0, r1
bge _022601A2
2021-06-27 18:48:56 +00:00
add r0, r1, #0
2021-06-26 18:23:42 +00:00
_022601A2:
2021-10-05 12:50:55 +00:00
bl _fflt
2021-06-27 18:48:56 +00:00
ldr r1, _02260274 ; =0x45800000
2021-08-11 14:29:41 +00:00
bl _fdiv
2021-06-27 18:48:56 +00:00
add r1, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
add r2, r1, #0
2021-06-27 19:11:25 +00:00
bl sub_0200E024
2021-06-26 18:23:42 +00:00
b _022601F0
_022601B8:
2021-06-27 18:48:56 +00:00
mov r0, #0xd
mvn r0, r0
2021-06-26 18:23:42 +00:00
cmp r5, r0
ble _022601F0
ldrb r0, [r4, #0xe]
2021-06-27 18:48:56 +00:00
neg r1, r5
lsl r2, r0, #2
2021-12-02 13:51:20 +00:00
ldr r0, _02260278 ; =ov93_02262CA4
2021-06-26 18:23:42 +00:00
ldr r0, [r0, r2]
2021-06-27 18:48:56 +00:00
mul r0, r1
mov r1, #0xe
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
mov r1, #1
lsl r1, r1, #0xa
2021-06-26 18:23:42 +00:00
cmp r0, r1
bge _022601DC
2021-06-27 18:48:56 +00:00
add r0, r1, #0
2021-06-26 18:23:42 +00:00
_022601DC:
2021-10-05 12:50:55 +00:00
bl _fflt
2021-06-27 18:48:56 +00:00
ldr r1, _02260274 ; =0x45800000
2021-08-11 14:29:41 +00:00
bl _fdiv
2021-06-27 18:48:56 +00:00
add r1, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
add r2, r1, #0
2021-06-27 19:11:25 +00:00
bl sub_0200E024
2021-06-26 18:23:42 +00:00
_022601F0:
2021-06-27 19:11:25 +00:00
bl sub_0203769C
2021-06-27 18:48:56 +00:00
mov r1, #4
2021-06-26 18:23:42 +00:00
ldrsh r1, [r4, r1]
cmp r1, r0
bne _02260260
cmp r6, #0
blt _02260260
cmp r5, #0
bgt _02260260
ldr r0, [sp]
add r1, sp, #0xc
bl ov93_022614F4
strb r0, [r4, #0xe]
ldrb r0, [r4, #0xe]
cmp r0, #1
beq _0226021E
cmp r0, #2
beq _02260226
cmp r0, #3
beq _02260232
b _0226023A
_0226021E:
ldr r0, [r4, #8]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
b _0226023A
_02260226:
ldr r1, [r4, #8]
2021-06-27 18:48:56 +00:00
lsr r0, r1, #0x1f
add r0, r1, r0
asr r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
b _0226023A
_02260232:
ldr r1, [r4, #8]
2021-06-27 18:48:56 +00:00
lsl r0, r1, #1
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
_0226023A:
ldrb r1, [r4, #0xe]
ldr r0, [sp]
bl ov93_02260FB8
ldrb r0, [r4, #0xe]
cmp r0, #0
beq _02260250
ldr r0, [sp, #0xc]
2021-06-27 18:48:56 +00:00
mov r1, #3
2021-06-26 18:23:42 +00:00
bl ov93_02261528
_02260250:
ldr r0, [sp]
bl ov93_02260F84
2021-06-27 18:48:56 +00:00
add r1, r0, #0
2021-06-26 18:23:42 +00:00
beq _02260260
ldr r0, [sp]
bl ov93_022627E8
_02260260:
cmp r7, #1
bne _0226026A
add sp, #0x10
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, r6, r7, pc}
_0226026A:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
add sp, #0x10
pop {r3, r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02260270: .word 0xFFFFB000
_02260274: .word 0x45800000
2021-12-02 13:51:20 +00:00
_02260278: .word ov93_02262CA4
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260080
thumb_func_start ov93_0226027C
2021-06-27 18:48:56 +00:00
ov93_0226027C: ; 0x0226027C
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, lr}
sub sp, #0x34
2021-12-02 13:51:20 +00:00
ldr r6, _022602E0 ; =ov93_02262DCC
2021-06-27 18:48:56 +00:00
add r2, r0, #0
add r5, r1, #0
2021-06-26 18:23:42 +00:00
add r4, sp, #0
2021-06-27 18:48:56 +00:00
mov r3, #6
2021-06-26 18:23:42 +00:00
_0226028A:
2021-06-27 18:48:56 +00:00
ldmia r6!, {r0, r1}
stmia r4!, {r0, r1}
sub r3, r3, #1
2021-06-26 18:23:42 +00:00
bne _0226028A
ldr r0, [r6]
add r1, sp, #0
str r0, [r4]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
ldrsh r0, [r5, r0]
strh r0, [r1]
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldrsh r0, [r5, r0]
strh r0, [r1, #2]
ldrb r0, [r5, #6]
str r0, [sp, #0xc]
ldr r0, [r2, #0x24]
ldr r1, [r2, #0x28]
add r2, sp, #0
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r2, #2
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldrsh r1, [r5, r1]
ldrsh r2, [r5, r2]
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
add r4, r0, #0
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldrh r1, [r5, #4]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-27 18:48:56 +00:00
add r0, r4, #0
mov r1, #2
2021-06-27 19:11:25 +00:00
bl sub_0200DF98
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
add sp, #0x34
pop {r3, r4, r5, r6, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-02 13:51:20 +00:00
_022602E0: .word ov93_02262DCC
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0226027C
thumb_func_start ov93_022602E4
2021-06-27 18:48:56 +00:00
ov93_022602E4: ; 0x022602E4
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
mov r4, #0
ldr r7, _0226030C ; =0x00002FDC
add r5, r0, #0
add r6, r4, #0
2021-06-26 18:23:42 +00:00
_022602EE:
ldr r0, [r5, r7]
cmp r0, #1
bne _02260300
2021-06-27 18:48:56 +00:00
ldr r0, _02260310 ; =0x00002FEC
2021-06-26 18:23:42 +00:00
ldr r0, [r5, r0]
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
ldr r0, _0226030C ; =0x00002FDC
2021-06-26 18:23:42 +00:00
str r6, [r5, r0]
_02260300:
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, #0x18
2021-06-26 18:23:42 +00:00
cmp r4, #0x28
blt _022602EE
pop {r3, r4, r5, r6, r7, pc}
nop
2021-06-27 18:48:56 +00:00
_0226030C: .word 0x00002FDC
_02260310: .word 0x00002FEC
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022602E4
thumb_func_start ov93_02260314
2021-06-27 18:48:56 +00:00
ov93_02260314: ; 0x02260314
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
sub sp, #0x68
2021-12-02 13:51:20 +00:00
ldr r5, _022605F8 ; =ov93_02262E00
2021-06-26 18:23:42 +00:00
str r2, [sp, #4]
2021-06-27 18:48:56 +00:00
add r7, r0, #0
2021-06-26 18:23:42 +00:00
str r1, [sp]
2021-06-27 18:48:56 +00:00
mov r4, #0
2021-06-26 18:23:42 +00:00
add r3, sp, #0x34
2021-06-27 18:48:56 +00:00
mov r2, #6
2021-06-26 18:23:42 +00:00
_02260326:
2021-06-27 18:48:56 +00:00
ldmia r5!, {r0, r1}
stmia r3!, {r0, r1}
sub r2, r2, #1
2021-06-26 18:23:42 +00:00
bne _02260326
ldr r0, [r5]
str r0, [r3]
ldr r0, [sp, #4]
ldr r0, [r0, #8]
str r0, [sp, #0x14]
ldr r0, [sp, #4]
ldr r0, [r0, #0x10]
str r0, [sp, #0x18]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
b _0226044C
_02260344:
ldr r2, [r7]
ldr r1, [sp, #0xc]
2021-06-27 18:48:56 +00:00
add r0, r7, #0
add r1, r2, r1
add r1, #0x2c
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
bl ov93_0225E3C4
2021-06-27 18:48:56 +00:00
add r5, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #4]
2021-06-27 18:48:56 +00:00
lsl r1, r5, #2
add r0, r0, r1
2021-06-26 18:23:42 +00:00
ldr r1, [r0, #0x18]
2021-06-27 18:48:56 +00:00
mov r0, #0x24
mul r0, r1
2021-06-26 18:23:42 +00:00
ldr r2, [sp, #0x14]
ldr r1, [sp, #0x18]
2021-06-27 18:48:56 +00:00
add r1, r2, r1
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-26 18:23:42 +00:00
ldr r1, [sp, #0xc]
2021-06-27 18:48:56 +00:00
lsl r5, r5, #1
lsl r2, r1, #2
2021-06-26 18:23:42 +00:00
add r1, sp, #0x24
str r0, [r1, r2]
ldr r0, [r7]
2021-06-27 18:48:56 +00:00
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
lsl r3, r0, #3
2021-12-02 13:51:20 +00:00
ldr r0, _022605FC ; =ov93_02262D7C
2021-06-27 18:48:56 +00:00
add r0, r0, r3
2021-06-26 18:23:42 +00:00
ldrh r0, [r5, r0]
str r0, [sp, #0x10]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r0, r0, #4
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x1c]
ldr r0, [r1, r2]
str r0, [sp, #0x20]
b _0226043E
_02260396:
2021-06-27 18:48:56 +00:00
mov r0, #0x18
add r1, r4, #0
mul r1, r0
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0x1c]
add r2, sp, #0x34
2021-06-27 18:48:56 +00:00
add r5, r0, r1
2021-06-26 18:23:42 +00:00
ldr r0, [r7, #0x24]
ldr r1, [r7, #0x28]
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
add r6, r0, #0
2021-06-26 18:23:42 +00:00
beq _02260446
2021-06-27 18:48:56 +00:00
mov r3, #0x16
mov r1, #0x80
mov r2, #0x60
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r1, [sp, #0x10]
2021-06-27 18:48:56 +00:00
add r0, r6, #0
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r6]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
bl LCRandom
2021-06-27 18:48:56 +00:00
lsr r1, r0, #0x1f
lsl r2, r0, #0x13
sub r2, r2, r1
mov r0, #0x13
ror r2, r0
mov r0, #2
add r1, r1, r2
lsl r0, r0, #0xc
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r5, #4]
bl LCRandom
2021-06-27 18:48:56 +00:00
lsr r1, r0, #0x1f
lsl r2, r0, #0x12
sub r2, r2, r1
mov r0, #0x12
ror r2, r0
mov r0, #2
add r1, r1, r2
lsl r0, r0, #0xc
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r5, #8]
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #0x5a
lsl r1, r1, #2
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
lsl r0, r1, #0xc
2021-06-26 18:23:42 +00:00
str r0, [r5, #0xc]
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #5
lsl r1, r1, #0xe
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
mov r0, #0xa
lsl r0, r0, #0xc
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r5, #0x10]
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #0xf
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r1, #0x14
2021-06-26 18:23:42 +00:00
strh r1, [r5, #0x14]
2021-06-27 18:48:56 +00:00
add r1, r4, #0
mov r0, #0x18
mul r1, r0
2021-06-26 18:23:42 +00:00
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r0, r0, r1
2021-06-26 18:23:42 +00:00
str r6, [r0, #4]
ldr r0, [sp, #8]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
_0226043E:
ldr r1, [sp, #8]
ldr r0, [sp, #0x20]
cmp r1, r0
blt _02260396
_02260446:
ldr r0, [sp, #0xc]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
_0226044C:
ldr r0, [r7]
2021-06-27 18:48:56 +00:00
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r1, [r0]
ldr r0, [sp, #0xc]
cmp r0, r1
bge _0226045A
b _02260344
_0226045A:
2021-06-27 18:48:56 +00:00
mov r0, #0xe
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x3c]
2021-06-27 18:48:56 +00:00
mov r0, #0
mov r1, #0xd9
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
str r0, [sp, #0x40]
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
lsl r1, r1, #2
add r6, r0, r1
2021-06-26 18:23:42 +00:00
b _02260522
_0226046E:
ldr r1, [sp, #0xc]
2021-06-27 18:48:56 +00:00
mov r0, #0x18
mul r0, r1
add r4, r6, r0
2021-06-26 18:23:42 +00:00
ldr r0, [r7, #0x24]
ldr r1, [r7, #0x28]
add r2, sp, #0x34
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
add r5, r0, #0
2021-06-26 18:23:42 +00:00
beq _02260528
2021-06-27 18:48:56 +00:00
mov r3, #0x16
mov r1, #0x80
mov r2, #0x60
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #3
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r1, #0x1c
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
bl LCRandom
2021-06-27 18:48:56 +00:00
lsr r1, r0, #0x1f
lsl r2, r0, #0x13
sub r2, r2, r1
mov r0, #0x13
ror r2, r0
mov r0, #2
add r1, r1, r2
lsl r0, r0, #0xc
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r4, #4]
bl LCRandom
2021-06-27 18:48:56 +00:00
lsr r1, r0, #0x1f
lsl r2, r0, #0x12
sub r2, r2, r1
mov r0, #0x12
ror r2, r0
mov r0, #2
add r1, r1, r2
lsl r0, r0, #0xc
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #0x5a
lsl r1, r1, #2
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
lsl r0, r1, #0xc
2021-06-26 18:23:42 +00:00
str r0, [r4, #0xc]
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #5
lsl r1, r1, #0xe
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
mov r0, #1
lsl r0, r0, #0x10
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x10]
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #0xf
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r1, #0x14
2021-06-26 18:23:42 +00:00
strh r1, [r4, #0x14]
ldr r1, [sp, #0xc]
2021-06-27 18:48:56 +00:00
mov r0, #0x18
add r2, r1, #0
mul r2, r0
2021-06-26 18:23:42 +00:00
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r1, r0, r2
mov r0, #0xd9
lsl r0, r0, #2
2021-06-26 18:23:42 +00:00
str r5, [r1, r0]
ldr r0, [sp, #0xc]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
_02260522:
ldr r0, [sp, #0xc]
cmp r0, #8
blt _0226046E
_02260528:
2021-06-27 18:48:56 +00:00
mov r0, #0xd
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x3c]
ldr r0, [sp, #4]
ldr r0, [r0, #4]
2021-06-27 18:48:56 +00:00
lsl r1, r0, #1
2021-12-02 13:51:20 +00:00
ldr r0, _02260600 ; =_02262C6C
2021-06-26 18:23:42 +00:00
ldrh r0, [r0, r1]
2021-06-27 18:48:56 +00:00
ldr r1, _02260604 ; =0x00000424
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x40]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r6, r0, r1
2021-06-26 18:23:42 +00:00
b _022605EC
_02260544:
ldr r1, [sp, #0xc]
2021-06-27 18:48:56 +00:00
mov r0, #0x18
mul r0, r1
add r4, r6, r0
2021-06-26 18:23:42 +00:00
ldr r0, [r7, #0x24]
ldr r1, [r7, #0x28]
add r2, sp, #0x34
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
add r5, r0, #0
2021-06-26 18:23:42 +00:00
beq _022605F2
2021-06-27 18:48:56 +00:00
mov r3, #0x16
mov r1, #0x80
mov r2, #0x60
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
add r0, r5, #0
mov r1, #0xb
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
bl LCRandom
2021-06-27 18:48:56 +00:00
lsr r1, r0, #0x1f
lsl r2, r0, #0x13
sub r2, r2, r1
mov r0, #0x13
ror r2, r0
mov r0, #2
add r1, r1, r2
lsl r0, r0, #0xc
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r4, #4]
bl LCRandom
2021-06-27 18:48:56 +00:00
lsr r1, r0, #0x1f
lsl r2, r0, #0x12
sub r2, r2, r1
mov r0, #0x12
ror r2, r0
mov r0, #2
add r1, r1, r2
lsl r0, r0, #0xc
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #0x5a
lsl r1, r1, #2
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
lsl r0, r1, #0xc
2021-06-26 18:23:42 +00:00
str r0, [r4, #0xc]
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #5
lsl r1, r1, #0xe
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
mov r0, #1
lsl r0, r0, #0x10
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x10]
bl LCRandom
2021-06-27 18:48:56 +00:00
mov r1, #0xf
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r1, #0x14
2021-06-26 18:23:42 +00:00
strh r1, [r4, #0x14]
ldr r1, [sp, #0xc]
2021-06-27 18:48:56 +00:00
mov r0, #0x18
add r2, r1, #0
mul r2, r0
2021-06-26 18:23:42 +00:00
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r1, r0, r2
ldr r0, _02260604 ; =0x00000424
2021-06-26 18:23:42 +00:00
str r5, [r1, r0]
ldr r0, [sp, #0xc]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
_022605EC:
ldr r0, [sp, #0xc]
cmp r0, #3
blt _02260544
_022605F2:
add sp, #0x68
pop {r3, r4, r5, r6, r7, pc}
nop
2021-12-02 13:51:20 +00:00
_022605F8: .word ov93_02262E00
_022605FC: .word ov93_02262D7C
_02260600: .word _02262C6C
2021-06-27 18:48:56 +00:00
_02260604: .word 0x00000424
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260314
thumb_func_start ov93_02260608
2021-06-27 18:48:56 +00:00
ov93_02260608: ; 0x02260608
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, lr}
2021-06-27 18:48:56 +00:00
add r6, r0, #0
ldr r0, _0226065C ; =0x000033A0
mov r4, #0
add r5, r6, r0
2021-06-26 18:23:42 +00:00
_02260612:
ldr r0, [r5]
cmp r0, #0
beq _0226061C
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-26 18:23:42 +00:00
_0226061C:
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, #0x18
2021-06-26 18:23:42 +00:00
cmp r4, #0x24
blt _02260612
2021-06-27 18:48:56 +00:00
mov r0, #0x37
lsl r0, r0, #8
mov r5, #0
add r4, r6, r0
2021-06-26 18:23:42 +00:00
_0226062C:
ldr r0, [r4]
cmp r0, #0
beq _02260636
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-26 18:23:42 +00:00
_02260636:
2021-06-27 18:48:56 +00:00
add r5, r5, #1
add r4, #0x18
2021-06-26 18:23:42 +00:00
cmp r5, #8
blt _0226062C
2021-06-27 18:48:56 +00:00
mov r0, #0xdf
lsl r0, r0, #6
mov r4, #0
add r5, r6, r0
2021-06-26 18:23:42 +00:00
_02260646:
ldr r0, [r5]
cmp r0, #0
beq _02260650
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-26 18:23:42 +00:00
_02260650:
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, #0x18
2021-06-26 18:23:42 +00:00
cmp r4, #3
blt _02260646
pop {r4, r5, r6, pc}
nop
2021-06-27 18:48:56 +00:00
_0226065C: .word 0x000033A0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260608
thumb_func_start ov93_02260660
2021-06-27 18:48:56 +00:00
ov93_02260660: ; 0x02260660
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, r7, lr}
sub sp, #0x34
2021-06-27 18:48:56 +00:00
ldr r1, _022608FC ; =0x0000339C
mov r4, #0
add r0, r0, r1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x18]
ldr r0, [r0]
cmp r0, #0
bne _02260678
add sp, #0x34
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
pop {r4, r5, r6, r7, pc}
_02260678:
ldr r0, [sp, #0x18]
str r4, [sp, #0x14]
2021-06-27 18:48:56 +00:00
add r5, r0, #4
2021-06-26 18:23:42 +00:00
_0226067E:
ldr r0, [r5]
cmp r0, #0
beq _0226073A
2021-06-27 18:48:56 +00:00
mov r1, #0x14
2021-06-26 18:23:42 +00:00
ldrsh r1, [r5, r1]
cmp r1, #0
bne _02260696
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [r5]
b _0226073A
_02260696:
ldr r1, [r5, #0xc]
ldr r0, [r5, #0x10]
2021-06-27 18:48:56 +00:00
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r5, #0xc]
ldr r1, [r5, #4]
ldr r0, [r5, #8]
2021-06-27 18:48:56 +00:00
add r1, r1, r0
mov r0, #0xa
lsl r0, r0, #0x10
2021-06-26 18:23:42 +00:00
str r1, [r5, #4]
cmp r1, r0
blt _022606B0
str r0, [r5, #4]
_022606B0:
ldr r0, [r5, #0xc]
ldr r6, [r5, #4]
2022-01-11 19:36:20 +00:00
bl GF_SinDegFX32
2021-06-27 18:48:56 +00:00
add r7, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #4]
str r0, [sp, #0x10]
ldr r0, [r5, #0xc]
2022-01-11 19:36:20 +00:00
bl GF_CosDegFX32
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x1c]
2021-06-27 18:48:56 +00:00
asr r1, r7, #0x1f
add r0, r7, #0
asr r3, r6, #0x1f
add r2, r6, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x28]
ldr r2, [sp, #0x10]
ldr r0, [sp, #0x1c]
2021-06-27 18:48:56 +00:00
add r6, r1, #0
asr r1, r0, #0x1f
asr r3, r2, #0x1f
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
add r2, r1, #0
mov r3, #2
add r7, r0, #0
2021-06-26 18:23:42 +00:00
ldr r1, [sp, #0x28]
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0xa
add r3, r1, r3
2021-12-03 19:34:55 +00:00
ldr r1, _02260900 ; =0
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
adc r6, r1
lsl r1, r6, #0x14
lsr r3, r3, #0xc
orr r3, r1
asr r1, r3, #0xb
lsr r1, r1, #0x14
add r1, r3, r1
asr r1, r1, #0xc
add r1, #0x80
mov r3, #2
lsl r1, r1, #0x10
2021-12-03 19:34:55 +00:00
ldr r6, _02260900 ; =0
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0xa
asr r1, r1, #0x10
add r3, r7, r3
adc r2, r6
lsl r2, r2, #0x14
lsr r3, r3, #0xc
orr r3, r2
neg r3, r3
asr r2, r3, #0xb
lsr r2, r2, #0x14
add r2, r3, r2
asr r2, r2, #0xc
add r2, #0x60
lsl r2, r2, #0x10
mov r3, #0x16
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
mov r0, #0x14
2021-06-26 18:23:42 +00:00
ldrsh r0, [r5, r0]
2021-06-27 18:48:56 +00:00
add r4, r4, #1
sub r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r0, [r5, #0x14]
_0226073A:
ldr r0, [sp, #0x14]
2021-06-27 18:48:56 +00:00
add r5, #0x18
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x14]
cmp r0, #0x24
blt _0226067E
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #0xd9
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0x18]
2021-06-27 18:48:56 +00:00
lsl r1, r1, #2
add r5, r0, r1
2021-06-26 18:23:42 +00:00
_02260752:
ldr r0, [r5]
cmp r0, #0
beq _0226080E
2021-06-27 18:48:56 +00:00
mov r1, #0x14
2021-06-26 18:23:42 +00:00
ldrsh r1, [r5, r1]
cmp r1, #0
bne _0226076A
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [r5]
b _0226080E
_0226076A:
ldr r1, [r5, #0xc]
ldr r0, [r5, #0x10]
2021-06-27 18:48:56 +00:00
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r5, #0xc]
ldr r1, [r5, #4]
ldr r0, [r5, #8]
2021-06-27 18:48:56 +00:00
add r1, r1, r0
mov r0, #0xa
lsl r0, r0, #0x10
2021-06-26 18:23:42 +00:00
str r1, [r5, #4]
cmp r1, r0
blt _02260784
str r0, [r5, #4]
_02260784:
ldr r0, [r5, #0xc]
ldr r6, [r5, #4]
2022-01-11 19:36:20 +00:00
bl GF_SinDegFX32
2021-06-27 18:48:56 +00:00
add r7, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #4]
str r0, [sp, #0xc]
ldr r0, [r5, #0xc]
2022-01-11 19:36:20 +00:00
bl GF_CosDegFX32
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x20]
2021-06-27 18:48:56 +00:00
asr r1, r7, #0x1f
add r0, r7, #0
asr r3, r6, #0x1f
add r2, r6, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x2c]
ldr r2, [sp, #0xc]
ldr r0, [sp, #0x20]
2021-06-27 18:48:56 +00:00
add r6, r1, #0
asr r1, r0, #0x1f
asr r3, r2, #0x1f
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
add r2, r1, #0
mov r3, #2
add r7, r0, #0
2021-06-26 18:23:42 +00:00
ldr r1, [sp, #0x2c]
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0xa
add r3, r1, r3
2021-12-03 19:34:55 +00:00
ldr r1, _02260900 ; =0
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
adc r6, r1
lsl r1, r6, #0x14
lsr r3, r3, #0xc
orr r3, r1
asr r1, r3, #0xb
lsr r1, r1, #0x14
add r1, r3, r1
asr r1, r1, #0xc
add r1, #0x80
mov r3, #2
lsl r1, r1, #0x10
2021-12-03 19:34:55 +00:00
ldr r6, _02260900 ; =0
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0xa
asr r1, r1, #0x10
add r3, r7, r3
adc r2, r6
lsl r2, r2, #0x14
lsr r3, r3, #0xc
orr r3, r2
neg r3, r3
asr r2, r3, #0xb
lsr r2, r2, #0x14
add r2, r3, r2
asr r2, r2, #0xc
add r2, #0x60
lsl r2, r2, #0x10
mov r3, #0x16
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
mov r0, #0x14
2021-06-26 18:23:42 +00:00
ldrsh r0, [r5, r0]
2021-06-27 18:48:56 +00:00
add r4, r4, #1
sub r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r0, [r5, #0x14]
_0226080E:
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r5, #0x18
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp]
cmp r0, #8
blt _02260752
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
2021-06-27 18:48:56 +00:00
ldr r1, _02260904 ; =0x00000424
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0x18]
2021-06-27 18:48:56 +00:00
add r5, r0, r1
2021-06-26 18:23:42 +00:00
_02260824:
ldr r0, [r5]
cmp r0, #0
beq _022608E0
2021-06-27 18:48:56 +00:00
mov r1, #0x14
2021-06-26 18:23:42 +00:00
ldrsh r1, [r5, r1]
cmp r1, #0
bne _0226083C
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [r5]
b _022608E0
_0226083C:
ldr r1, [r5, #0xc]
ldr r0, [r5, #0x10]
2021-06-27 18:48:56 +00:00
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r5, #0xc]
ldr r1, [r5, #4]
ldr r0, [r5, #8]
2021-06-27 18:48:56 +00:00
add r1, r1, r0
mov r0, #0xa
lsl r0, r0, #0x10
2021-06-26 18:23:42 +00:00
str r1, [r5, #4]
cmp r1, r0
blt _02260856
str r0, [r5, #4]
_02260856:
ldr r0, [r5, #0xc]
ldr r6, [r5, #4]
2022-01-11 19:36:20 +00:00
bl GF_SinDegFX32
2021-06-27 18:48:56 +00:00
add r7, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #4]
str r0, [sp, #8]
ldr r0, [r5, #0xc]
2022-01-11 19:36:20 +00:00
bl GF_CosDegFX32
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x24]
2021-06-27 18:48:56 +00:00
asr r1, r7, #0x1f
add r0, r7, #0
asr r3, r6, #0x1f
add r2, r6, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x30]
ldr r2, [sp, #8]
ldr r0, [sp, #0x24]
2021-06-27 18:48:56 +00:00
add r6, r1, #0
asr r1, r0, #0x1f
asr r3, r2, #0x1f
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
add r2, r1, #0
mov r3, #2
add r7, r0, #0
2021-06-26 18:23:42 +00:00
ldr r1, [sp, #0x30]
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0xa
add r3, r1, r3
2021-12-03 19:34:55 +00:00
ldr r1, _02260900 ; =0
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
adc r6, r1
lsl r1, r6, #0x14
lsr r3, r3, #0xc
orr r3, r1
asr r1, r3, #0xb
lsr r1, r1, #0x14
add r1, r3, r1
asr r1, r1, #0xc
add r1, #0x80
mov r3, #2
lsl r1, r1, #0x10
2021-12-03 19:34:55 +00:00
ldr r6, _02260900 ; =0
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0xa
asr r1, r1, #0x10
add r3, r7, r3
adc r2, r6
lsl r2, r2, #0x14
lsr r3, r3, #0xc
orr r3, r2
neg r3, r3
asr r2, r3, #0xb
lsr r2, r2, #0x14
add r2, r3, r2
asr r2, r2, #0xc
add r2, #0x60
lsl r2, r2, #0x10
mov r3, #0x16
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
mov r0, #0x14
2021-06-26 18:23:42 +00:00
ldrsh r0, [r5, r0]
2021-06-27 18:48:56 +00:00
add r4, r4, #1
sub r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r0, [r5, #0x14]
_022608E0:
ldr r0, [sp, #4]
2021-06-27 18:48:56 +00:00
add r5, #0x18
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
cmp r0, #3
blt _02260824
cmp r4, #0
bne _022608F6
ldr r0, [sp, #0x18]
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
str r1, [r0]
_022608F6:
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
add sp, #0x34
pop {r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_022608FC: .word 0x0000339C
2021-12-03 19:34:55 +00:00
_02260900: .word 0
2021-06-27 18:48:56 +00:00
_02260904: .word 0x00000424
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260660
thumb_func_start ov93_02260908
2021-06-27 18:48:56 +00:00
ov93_02260908: ; 0x02260908
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r5, r0, #0
ldr r0, _02260970 ; =0x0000339C
add r4, r5, r0
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
cmp r0, #1
bne _0226091A
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, pc}
_0226091A:
2021-06-27 18:48:56 +00:00
mov r2, #0x47
add r0, r4, #0
mov r1, #0
lsl r2, r2, #4
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
ldr r1, _02260970 ; =0x0000339C
ldr r2, _02260974 ; =0x00001428
add r0, r5, #0
add r1, r5, r1
add r2, r5, r2
2021-06-26 18:23:42 +00:00
bl ov93_02260314
2021-06-27 18:48:56 +00:00
ldr r1, _02260974 ; =0x00001428
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #0x2c]
2021-06-27 18:48:56 +00:00
add r1, r5, r1
2021-06-26 18:23:42 +00:00
bl ov93_0225FC8C
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
bl ov93_02260B84
2021-06-27 18:48:56 +00:00
mov r2, #0
ldr r0, _02260978 ; =0x00002FCC
add r1, r2, #0
2021-06-26 18:23:42 +00:00
str r2, [r5, r0]
2021-06-27 18:48:56 +00:00
ldr r0, _0226097C ; =0x00001430
2021-06-26 18:23:42 +00:00
str r2, [r5, r0]
2021-06-27 18:48:56 +00:00
add r0, #8
2021-06-26 18:23:42 +00:00
str r2, [r5, r0]
2021-06-27 18:48:56 +00:00
mov r0, #0x51
lsl r0, r0, #6
2021-06-26 18:23:42 +00:00
_02260958:
2021-06-27 18:48:56 +00:00
add r2, r2, #1
2021-06-26 18:23:42 +00:00
str r1, [r5, r0]
2021-06-27 18:48:56 +00:00
add r5, r5, #4
2021-06-26 18:23:42 +00:00
cmp r2, #4
blt _02260958
2021-06-27 18:48:56 +00:00
ldr r0, _02260980 ; =0x00000594
2021-08-13 18:03:14 +00:00
bl PlaySE
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r4]
pop {r3, r4, r5, pc}
nop
2021-06-27 18:48:56 +00:00
_02260970: .word 0x0000339C
_02260974: .word 0x00001428
_02260978: .word 0x00002FCC
_0226097C: .word 0x00001430
_02260980: .word 0x00000594
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260908
thumb_func_start ov93_02260984
2021-06-27 18:48:56 +00:00
ov93_02260984: ; 0x02260984
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, r7, lr}
sub sp, #0x34
2021-12-02 13:51:20 +00:00
ldr r6, _022609DC ; =ov93_02262E34
2021-06-27 18:48:56 +00:00
add r4, r2, #0
add r3, r0, #0
add r7, r1, #0
2021-06-26 18:23:42 +00:00
add r5, sp, #0
2021-06-27 18:48:56 +00:00
mov r2, #6
2021-06-26 18:23:42 +00:00
_02260994:
2021-06-27 18:48:56 +00:00
ldmia r6!, {r0, r1}
stmia r5!, {r0, r1}
sub r2, r2, #1
2021-06-26 18:23:42 +00:00
bne _02260994
ldr r0, [r6]
add r2, sp, #0
str r0, [r5]
ldr r0, [r3, #0x24]
ldr r1, [r3, #0x28]
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
mov r3, #0x16
lsl r2, r4, #4
mov r1, #0x48
sub r1, r1, r2
lsl r1, r1, #0x10
add r5, r0, #0
asr r1, r1, #0x10
mov r2, #0x20
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r1, r7, #0
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-27 18:48:56 +00:00
add r0, r5, #0
mov r1, #1
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimActiveFlag
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
add sp, #0x34
pop {r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-02 13:51:20 +00:00
_022609DC: .word ov93_02262E34
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260984
thumb_func_start ov93_022609E0
2021-06-27 18:48:56 +00:00
ov93_022609E0: ; 0x022609E0
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r7, r0, #0
ldr r0, _02260A10 ; =0x0000380C
mov r4, #0
add r5, r7, r0
add r6, r4, #0
2021-06-26 18:23:42 +00:00
_022609EC:
2021-06-27 18:48:56 +00:00
add r0, r7, #0
add r1, r5, #0
add r2, r4, #0
add r3, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_02260A58
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
add r1, r6, #0
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_TickSpriteAnimationNFrames
2021-06-27 18:48:56 +00:00
mov r0, #1
lsl r0, r0, #0xe
add r4, r4, #1
add r5, #0xc
add r6, r6, r0
2021-06-26 18:23:42 +00:00
cmp r4, #5
blt _022609EC
pop {r3, r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02260A10: .word 0x0000380C
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022609E0
thumb_func_start ov93_02260A14
2021-06-27 18:48:56 +00:00
ov93_02260A14: ; 0x02260A14
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, lr}
2021-06-27 18:48:56 +00:00
ldr r6, _02260A2C ; =0x0000380C
add r5, r0, #0
mov r4, #0
2021-06-26 18:23:42 +00:00
_02260A1C:
ldr r0, [r5, r6]
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, #0xc
2021-06-26 18:23:42 +00:00
cmp r4, #5
blt _02260A1C
pop {r4, r5, r6, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02260A2C: .word 0x0000380C
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260A14
thumb_func_start ov93_02260A30
2021-06-27 18:48:56 +00:00
ov93_02260A30: ; 0x02260A30
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, lr}
2021-06-27 18:48:56 +00:00
add r6, r0, #0
ldr r0, _02260A54 ; =0x0000380C
mov r4, #0
add r5, r6, r0
2021-06-26 18:23:42 +00:00
_02260A3A:
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
bl ov93_02260A8C
2021-06-27 18:48:56 +00:00
add r0, r6, #0
add r1, r5, #0
2021-06-26 18:23:42 +00:00
bl ov93_02260AD8
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, #0xc
2021-06-26 18:23:42 +00:00
cmp r4, #5
blt _02260A3A
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r4, r5, r6, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02260A54: .word 0x0000380C
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260A30
thumb_func_start ov93_02260A58
2021-06-27 18:48:56 +00:00
ov93_02260A58: ; 0x02260A58
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r5, r1, #0
add r7, r0, #0
add r4, r2, #0
add r6, r3, #0
add r0, r5, #0
mov r1, #0
mov r2, #0xc
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
add r0, r6, #0
2021-06-26 18:23:42 +00:00
bl ov93_02260B70
strb r0, [r5, #4]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r5, #5]
ldrb r1, [r5, #4]
2021-06-27 18:48:56 +00:00
add r0, r7, #0
add r2, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_02260984
str r0, [r5]
strb r4, [r5, #6]
strh r6, [r5, #8]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, r6, r7, pc}
thumb_func_end ov93_02260A58
thumb_func_start ov93_02260A8C
2021-06-27 18:48:56 +00:00
ov93_02260A8C: ; 0x02260A8C
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r5, r0, #0
2021-06-26 18:23:42 +00:00
ldrb r0, [r5, #6]
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
add r2, sp, #0
2021-06-27 18:48:56 +00:00
lsl r1, r0, #4
mov r0, #0x48
sub r0, r0, r1
lsl r0, r0, #0x10
asr r4, r0, #0x10
2021-06-26 18:23:42 +00:00
add r1, sp, #0
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
add r1, #2
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r1, sp, #0
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldrsh r2, [r1, r0]
cmp r4, r2
ble _02260AD6
2021-06-27 18:48:56 +00:00
add r2, r2, #2
2021-06-26 18:23:42 +00:00
strh r2, [r1, #2]
ldrsh r0, [r1, r0]
cmp r0, r4
ble _02260AC2
strh r4, [r1, #2]
_02260AC2:
add r3, sp, #0
2021-06-27 18:48:56 +00:00
mov r1, #2
mov r2, #0
2021-06-26 18:23:42 +00:00
ldrsh r1, [r3, r1]
ldrsh r2, [r3, r2]
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
_02260AD6:
pop {r3, r4, r5, pc}
thumb_func_end ov93_02260A8C
thumb_func_start ov93_02260AD8
2021-06-27 18:48:56 +00:00
ov93_02260AD8: ; 0x02260AD8
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r4, r1, #0
2021-06-26 18:23:42 +00:00
ldrb r1, [r4, #6]
2021-06-27 18:48:56 +00:00
add r5, r0, #0
2021-06-26 18:23:42 +00:00
cmp r1, #0
bne _02260B66
ldrb r1, [r4, #5]
cmp r1, #1
beq _02260B44
cmp r1, #3
bne _02260B66
ldr r0, [r4]
2021-06-27 19:11:25 +00:00
bl sub_0200DCA0
2021-06-26 18:23:42 +00:00
cmp r0, #0
bne _02260B66
2021-06-27 18:48:56 +00:00
mov r0, #8
2021-06-26 18:23:42 +00:00
ldrsh r1, [r4, r0]
2021-06-27 18:48:56 +00:00
add r1, r1, #5
2021-06-26 18:23:42 +00:00
strh r1, [r4, #8]
ldrsh r0, [r4, r0]
bl ov93_02260B70
strb r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #5]
ldrb r1, [r4, #4]
ldr r0, [r4]
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-27 18:48:56 +00:00
mov r1, #7
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
mvn r1, r1
mov r2, #0x20
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
ldr r0, _02260B68 ; =0x0000380C
mov r2, #0
add r3, r5, r0
mov r1, #4
2021-06-26 18:23:42 +00:00
_02260B2C:
ldrb r0, [r3, #6]
cmp r0, #0
bne _02260B36
strb r1, [r3, #6]
b _02260B3A
_02260B36:
2021-06-27 18:48:56 +00:00
sub r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r3, #6]
_02260B3A:
2021-06-27 18:48:56 +00:00
add r2, r2, #1
add r3, #0xc
2021-06-26 18:23:42 +00:00
cmp r2, #5
blt _02260B2C
pop {r3, r4, r5, pc}
_02260B44:
bl ov93_0225FEAC
ldrb r1, [r4, #5]
cmp r1, #1
bne _02260B66
cmp r0, #0x4b
ble _02260B66
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
strb r0, [r4, #5]
ldrb r1, [r4, #4]
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r1, r1, #3
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-27 18:48:56 +00:00
ldr r0, _02260B6C ; =0x00000596
2021-08-13 18:03:14 +00:00
bl PlaySE
2021-06-26 18:23:42 +00:00
_02260B66:
pop {r3, r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02260B68: .word 0x0000380C
_02260B6C: .word 0x00000596
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260AD8
thumb_func_start ov93_02260B70
2021-06-27 18:48:56 +00:00
ov93_02260B70: ; 0x02260B70
2021-06-26 18:23:42 +00:00
cmp r0, #0xa
blt _02260B78
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
bx lr
_02260B78:
cmp r0, #5
blt _02260B80
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
bx lr
_02260B80:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
bx lr
thumb_func_end ov93_02260B70
thumb_func_start ov93_02260B84
2021-06-27 18:48:56 +00:00
ov93_02260B84: ; 0x02260B84
2021-06-26 18:23:42 +00:00
push {r3, lr}
2021-06-27 18:48:56 +00:00
ldr r1, _02260BAC ; =0x0000380C
mov r2, #0
add r1, r0, r1
2021-06-26 18:23:42 +00:00
_02260B8C:
ldrb r0, [r1, #6]
cmp r0, #0
bne _02260BA0
2021-06-27 18:48:56 +00:00
mov r0, #3
2021-06-26 18:23:42 +00:00
strb r0, [r1, #5]
ldr r0, [r1]
2021-06-27 18:48:56 +00:00
mov r1, #6
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
pop {r3, pc}
_02260BA0:
2021-06-27 18:48:56 +00:00
add r2, r2, #1
add r1, #0xc
2021-06-26 18:23:42 +00:00
cmp r2, #5
blt _02260B8C
pop {r3, pc}
nop
2021-06-27 18:48:56 +00:00
_02260BAC: .word 0x0000380C
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260B84
thumb_func_start ov93_02260BB0
2021-06-27 18:48:56 +00:00
ov93_02260BB0: ; 0x02260BB0
2021-06-26 18:23:42 +00:00
push {r3, r4, lr}
sub sp, #0xc
2021-06-27 18:48:56 +00:00
add r4, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #3
bne _02260BEC
2021-06-27 18:48:56 +00:00
mov r0, #0xc
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #4
2021-06-26 18:23:42 +00:00
str r1, [sp, #4]
2021-06-27 18:48:56 +00:00
mov r0, #3
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
ldr r0, [r4, #0x2c]
2021-06-27 18:48:56 +00:00
mov r2, #0
mov r3, #0xd
bl BgTilemapRectChangePalette
2021-06-27 18:48:56 +00:00
mov r0, #0xc
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #4
2021-06-26 18:23:42 +00:00
str r1, [sp, #4]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
ldr r0, [r4, #0x2c]
2021-06-27 18:48:56 +00:00
mov r2, #0x14
mov r3, #0xd
bl BgTilemapRectChangePalette
2021-06-26 18:23:42 +00:00
_02260BEC:
add sp, #0xc
pop {r3, r4, pc}
thumb_func_end ov93_02260BB0
thumb_func_start ov93_02260BF0
2021-06-27 18:48:56 +00:00
ov93_02260BF0: ; 0x02260BF0
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
sub sp, #0x28
2021-06-27 18:48:56 +00:00
add r6, r0, #0
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
ldr r0, [r6]
2021-06-27 18:48:56 +00:00
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #0
ble _02260C50
2021-12-02 13:51:20 +00:00
ldr r0, _02260CF0 ; =ov93_02262C72
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
add r0, sp, #0x10
str r0, [sp]
_02260C0C:
ldr r0, [sp, #4]
ldr r5, [sp]
ldrh r7, [r0]
2021-06-27 18:48:56 +00:00
mov r4, #0
2021-06-26 18:23:42 +00:00
_02260C14:
2021-06-27 18:48:56 +00:00
add r0, r6, #0
add r0, #0x8c
add r3, r7, r4
mov r1, #1
lsl r3, r3, #0x10
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
add r2, r1, #0
lsr r3, r3, #0x10
2024-01-15 11:51:18 +00:00
bl PaletteData_GetBufferColorAtIndex
2021-06-26 18:23:42 +00:00
strh r0, [r5]
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, r5, #2
2021-06-26 18:23:42 +00:00
cmp r4, #3
blt _02260C14
ldr r0, [sp, #4]
2021-06-27 18:48:56 +00:00
add r0, r0, #2
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r0, r0, #6
2021-06-26 18:23:42 +00:00
str r0, [sp]
ldr r0, [sp, #0xc]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
ldr r0, [r6]
2021-06-27 18:48:56 +00:00
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r1, [r0]
ldr r0, [sp, #0xc]
cmp r0, r1
blt _02260C0C
_02260C50:
2021-06-27 19:11:25 +00:00
bl sub_0203769C
2021-06-26 18:23:42 +00:00
ldr r3, [r6]
2021-06-27 18:48:56 +00:00
mov r2, #0
add r1, r3, #0
add r1, #0x30
2021-06-26 18:23:42 +00:00
ldrb r4, [r1]
cmp r4, #0
ble _02260C74
_02260C62:
2021-06-27 18:48:56 +00:00
add r1, r3, #0
add r1, #0x2c
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
cmp r0, r1
beq _02260C74
2021-06-27 18:48:56 +00:00
add r2, r2, #1
add r3, r3, #1
2021-06-26 18:23:42 +00:00
cmp r2, r4
blt _02260C62
_02260C74:
2021-06-27 18:48:56 +00:00
add r0, r6, #0
add r0, #0x8c
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-08-13 18:03:14 +00:00
bl PaletteData_GetUnfadedBuf
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
2021-06-27 18:48:56 +00:00
add r0, r6, #0
add r0, #0x8c
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-08-13 18:03:14 +00:00
bl PaletteData_GetFadedBuf
2021-06-26 18:23:42 +00:00
ldr r1, [r6]
2021-06-27 18:48:56 +00:00
add r7, r0, #0
add r0, r1, #0
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r5, [r0]
2021-06-27 18:48:56 +00:00
mov r4, #0
2021-06-26 18:23:42 +00:00
cmp r5, #0
ble _02260CEA
_02260C9E:
2021-06-27 18:48:56 +00:00
add r1, r1, r4
add r1, #0x2c
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
2021-06-27 18:48:56 +00:00
add r0, r6, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225E3C4
2021-06-27 18:48:56 +00:00
lsl r1, r0, #1
2021-12-02 13:51:20 +00:00
ldr r0, _02260CF4 ; =ov93_02262DA4
2021-06-27 18:48:56 +00:00
lsl r2, r5, #3
add r0, r0, r2
2021-06-26 18:23:42 +00:00
ldrh r2, [r1, r0]
2021-06-27 18:48:56 +00:00
mov r1, #6
add r3, r4, #0
mul r3, r1
2021-06-26 18:23:42 +00:00
add r1, sp, #0x10
2021-06-27 18:48:56 +00:00
add r1, r1, r3
lsl r3, r2, #1
2021-06-26 18:23:42 +00:00
ldr r2, [sp, #8]
2021-06-27 18:48:56 +00:00
mov r0, #0
add r2, r2, r3
add r3, r7, r3
2021-06-26 18:23:42 +00:00
_02260CC8:
ldrh r5, [r1]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r5, [r2]
ldrh r5, [r1]
2021-06-27 18:48:56 +00:00
add r1, r1, #2
add r2, r2, #2
2021-06-26 18:23:42 +00:00
strh r5, [r3]
2021-06-27 18:48:56 +00:00
add r3, r3, #2
2021-06-26 18:23:42 +00:00
cmp r0, #3
blt _02260CC8
ldr r1, [r6]
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r0, r1, #0
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r5, [r0]
cmp r4, r5
blt _02260C9E
_02260CEA:
add sp, #0x28
pop {r3, r4, r5, r6, r7, pc}
nop
2021-12-02 13:51:20 +00:00
_02260CF0: .word ov93_02262C72
_02260CF4: .word ov93_02262DA4
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260BF0
thumb_func_start ov93_02260CF8
2021-06-27 18:48:56 +00:00
ov93_02260CF8: ; 0x02260CF8
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, r7, lr}
sub sp, #0x9c
2021-06-27 18:48:56 +00:00
add r7, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r7, #0x28]
2021-06-27 18:48:56 +00:00
ldr r1, _02260E10 ; =0x00002716
mov r2, #2
2024-10-02 00:12:42 +00:00
bl GfGfxHandler_GetPlttNumById
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x18]
ldr r0, [r7]
2021-06-27 18:48:56 +00:00
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #0
ble _02260D6E
2021-12-02 13:51:20 +00:00
ldr r0, _02260E14 ; =ov93_02262C8A
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
add r0, sp, #0x1c
str r0, [sp, #4]
ldr r0, [sp, #0xc]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #4
2021-06-26 18:23:42 +00:00
str r0, [sp]
_02260D26:
ldr r0, [sp, #8]
ldr r5, [sp, #4]
ldrh r1, [r0]
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
mov r6, #0
add r4, r1, r0
2021-06-26 18:23:42 +00:00
_02260D32:
2021-06-27 18:48:56 +00:00
add r0, r7, #0
add r0, #0x8c
lsl r3, r4, #0x10
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
mov r1, #3
mov r2, #1
lsr r3, r3, #0x10
2024-01-15 11:51:18 +00:00
bl PaletteData_GetBufferColorAtIndex
2021-06-26 18:23:42 +00:00
strh r0, [r5]
2021-06-27 18:48:56 +00:00
add r6, r6, #1
add r4, r4, #1
add r5, r5, #2
2021-06-26 18:23:42 +00:00
cmp r6, #0x10
blt _02260D32
ldr r0, [sp, #8]
2021-06-27 18:48:56 +00:00
add r0, r0, #2
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
ldr r0, [sp, #4]
2021-06-27 18:48:56 +00:00
add r0, #0x20
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
ldr r0, [sp, #0x18]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x18]
ldr r0, [r7]
2021-06-27 18:48:56 +00:00
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r1, [r0]
ldr r0, [sp, #0x18]
cmp r0, r1
blt _02260D26
_02260D6E:
2021-06-27 19:11:25 +00:00
bl sub_0203769C
2021-06-26 18:23:42 +00:00
ldr r3, [r7]
2021-06-27 18:48:56 +00:00
mov r2, #0
add r1, r3, #0
add r1, #0x30
2021-06-26 18:23:42 +00:00
ldrb r4, [r1]
cmp r4, #0
ble _02260D92
_02260D80:
2021-06-27 18:48:56 +00:00
add r1, r3, #0
add r1, #0x2c
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
cmp r0, r1
beq _02260D92
2021-06-27 18:48:56 +00:00
add r2, r2, #1
add r3, r3, #1
2021-06-26 18:23:42 +00:00
cmp r2, r4
blt _02260D80
_02260D92:
2021-06-27 18:48:56 +00:00
add r0, r7, #0
add r0, #0x8c
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
mov r1, #3
2021-08-13 18:03:14 +00:00
bl PaletteData_GetUnfadedBuf
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x14]
2021-06-27 18:48:56 +00:00
add r0, r7, #0
add r0, #0x8c
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
mov r1, #3
2021-08-13 18:03:14 +00:00
bl PaletteData_GetFadedBuf
2021-06-26 18:23:42 +00:00
ldr r1, [r7]
str r0, [sp, #0x10]
2021-06-27 18:48:56 +00:00
add r0, r1, #0
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r5, [r0]
2021-06-27 18:48:56 +00:00
mov r4, #0
2021-06-26 18:23:42 +00:00
cmp r5, #0
ble _02260E0C
ldr r0, [sp, #0xc]
2021-06-27 18:48:56 +00:00
lsl r6, r0, #4
2021-06-26 18:23:42 +00:00
_02260DC0:
2021-06-27 18:48:56 +00:00
add r1, r1, r4
add r1, #0x2c
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
2021-06-27 18:48:56 +00:00
add r0, r7, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225E3C4
2021-06-27 18:48:56 +00:00
lsl r1, r0, #1
2021-12-02 13:51:20 +00:00
ldr r0, _02260E18 ; =ov93_02262D04
2021-06-27 18:48:56 +00:00
lsl r2, r5, #3
add r0, r0, r2
2021-06-26 18:23:42 +00:00
ldrh r0, [r1, r0]
2021-06-27 18:48:56 +00:00
lsl r3, r4, #5
2021-06-26 18:23:42 +00:00
add r1, sp, #0x1c
2021-06-27 18:48:56 +00:00
add r2, r6, r0
add r1, r1, r3
lsl r5, r2, #1
2021-06-26 18:23:42 +00:00
ldr r2, [sp, #0x14]
ldr r3, [sp, #0x10]
2021-06-27 18:48:56 +00:00
mov r0, #0
add r2, r2, r5
add r3, r3, r5
2021-06-26 18:23:42 +00:00
_02260DEA:
ldrh r5, [r1]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r5, [r2]
ldrh r5, [r1]
2021-06-27 18:48:56 +00:00
add r1, r1, #2
add r2, r2, #2
2021-06-26 18:23:42 +00:00
strh r5, [r3]
2021-06-27 18:48:56 +00:00
add r3, r3, #2
2021-06-26 18:23:42 +00:00
cmp r0, #0x10
blt _02260DEA
ldr r1, [r7]
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r0, r1, #0
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r5, [r0]
cmp r4, r5
blt _02260DC0
_02260E0C:
add sp, #0x9c
pop {r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02260E10: .word 0x00002716
2021-12-02 13:51:20 +00:00
_02260E14: .word ov93_02262C8A
_02260E18: .word ov93_02262D04
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260CF8
thumb_func_start ov93_02260E1C
2021-06-27 18:48:56 +00:00
ov93_02260E1C: ; 0x02260E1C
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, r7, lr}
sub sp, #0x1c
2021-06-27 18:48:56 +00:00
add r5, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #0x28]
2021-06-27 18:48:56 +00:00
ldr r1, _02260F08 ; =0x00002716
mov r2, #2
2024-10-02 00:12:42 +00:00
bl GfGfxHandler_GetPlttNumById
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x10]
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #0
ble _02260E76
ldr r0, [sp, #4]
2021-12-02 13:51:20 +00:00
ldr r7, _02260F0C ; =ov93_02262C82
2021-06-27 18:48:56 +00:00
lsl r0, r0, #4
2021-06-26 18:23:42 +00:00
add r4, sp, #0x14
str r0, [sp]
_02260E46:
ldrh r6, [r7]
ldr r3, [sp]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r0, #0x8c
add r3, r6, r3
lsl r3, r3, #0x10
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
mov r1, #3
mov r2, #1
lsr r3, r3, #0x10
2024-01-15 11:51:18 +00:00
bl PaletteData_GetBufferColorAtIndex
2021-06-26 18:23:42 +00:00
strh r0, [r4]
ldr r0, [sp, #0x10]
2021-06-27 18:48:56 +00:00
add r7, r7, #2
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x10]
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
add r4, r4, #2
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r1, [r0]
ldr r0, [sp, #0x10]
cmp r0, r1
blt _02260E46
_02260E76:
2021-06-27 19:11:25 +00:00
bl sub_0203769C
2021-06-26 18:23:42 +00:00
ldr r3, [r5]
2021-06-27 18:48:56 +00:00
mov r2, #0
add r1, r3, #0
add r1, #0x30
2021-06-26 18:23:42 +00:00
ldrb r4, [r1]
cmp r4, #0
ble _02260E9A
_02260E88:
2021-06-27 18:48:56 +00:00
add r1, r3, #0
add r1, #0x2c
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
cmp r0, r1
beq _02260E9A
2021-06-27 18:48:56 +00:00
add r2, r2, #1
add r3, r3, #1
2021-06-26 18:23:42 +00:00
cmp r2, r4
blt _02260E88
_02260E9A:
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r0, #0x8c
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
mov r1, #3
2021-08-13 18:03:14 +00:00
bl PaletteData_GetUnfadedBuf
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r0, #0x8c
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
mov r1, #3
2021-08-13 18:03:14 +00:00
bl PaletteData_GetFadedBuf
2021-06-26 18:23:42 +00:00
ldr r1, [r5]
str r0, [sp, #8]
2021-06-27 18:48:56 +00:00
add r0, r1, #0
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r6, [r0]
2021-06-27 18:48:56 +00:00
mov r4, #0
2021-06-26 18:23:42 +00:00
cmp r6, #0
ble _02260F02
ldr r0, [sp, #4]
2021-06-27 18:48:56 +00:00
lsl r7, r0, #4
2021-06-26 18:23:42 +00:00
_02260EC8:
2021-06-27 18:48:56 +00:00
add r1, r1, r4
add r1, #0x2c
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225E3C4
2021-06-27 18:48:56 +00:00
lsl r1, r0, #1
2021-12-02 13:51:20 +00:00
ldr r0, _02260F10 ; =ov93_02262D54
2021-06-27 18:48:56 +00:00
lsl r2, r6, #3
add r0, r0, r2
2021-06-26 18:23:42 +00:00
ldrh r0, [r1, r0]
2021-06-27 18:48:56 +00:00
lsl r1, r4, #1
2021-06-26 18:23:42 +00:00
add r2, sp, #0x14
ldrh r3, [r2, r1]
2021-06-27 18:48:56 +00:00
add r0, r7, r0
2021-06-26 18:23:42 +00:00
ldr r2, [sp, #0xc]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r3, [r2, r0]
add r2, sp, #0x14
ldrh r2, [r2, r1]
ldr r1, [sp, #8]
2021-06-27 18:48:56 +00:00
add r4, r4, #1
2021-06-26 18:23:42 +00:00
strh r2, [r1, r0]
ldr r1, [r5]
2021-06-27 18:48:56 +00:00
add r0, r1, #0
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r6, [r0]
cmp r4, r6
blt _02260EC8
_02260F02:
add sp, #0x1c
pop {r4, r5, r6, r7, pc}
nop
2021-06-27 18:48:56 +00:00
_02260F08: .word 0x00002716
2021-12-02 13:51:20 +00:00
_02260F0C: .word ov93_02262C82
_02260F10: .word ov93_02262D54
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260E1C
thumb_func_start ov93_02260F14
2021-06-27 18:48:56 +00:00
ov93_02260F14: ; 0x02260F14
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, lr}
2021-06-27 18:48:56 +00:00
add r4, r3, #0
add r5, r1, #0
add r6, r2, #0
add r0, r4, #0
mov r1, #0
mov r2, #0x10
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 19:11:25 +00:00
bl sub_0203769C
2021-06-26 18:23:42 +00:00
strb r0, [r4]
strh r5, [r4, #2]
str r6, [r4, #4]
str r6, [r4, #8]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
strb r0, [r4, #1]
strb r0, [r4, #0xc]
pop {r4, r5, r6, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260F14
thumb_func_start ov93_02260F3C
2021-06-27 18:48:56 +00:00
ov93_02260F3C: ; 0x02260F3C
2021-06-26 18:23:42 +00:00
push {r4, r5}
2021-06-27 18:48:56 +00:00
ldr r2, _02260F80 ; =0x00002FB0
add r4, r0, #0
sub r0, r2, #4
add r3, r1, #0
2021-06-26 18:23:42 +00:00
ldr r1, [r4, r2]
ldr r0, [r4, r0]
2021-06-27 18:48:56 +00:00
sub r0, r1, r0
2021-06-26 18:23:42 +00:00
cmp r0, #8
blt _02260F56
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r4, r5}
bx lr
_02260F56:
2021-06-27 18:48:56 +00:00
lsr r5, r1, #0x1f
lsl r1, r1, #0x1d
sub r1, r1, r5
mov r0, #0x1d
ror r1, r0
add r0, r5, r1
lsl r0, r0, #4
add r1, r4, r0
add r0, r2, #0
sub r0, #0x84
add r5, r1, r0
ldmia r3!, {r0, r1}
stmia r5!, {r0, r1}
ldmia r3!, {r0, r1}
stmia r5!, {r0, r1}
2021-06-26 18:23:42 +00:00
ldr r0, [r4, r2]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r4, r2]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r4, r5}
bx lr
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02260F80: .word 0x00002FB0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260F3C
thumb_func_start ov93_02260F84
2021-06-27 18:48:56 +00:00
ov93_02260F84: ; 0x02260F84
2021-06-26 18:23:42 +00:00
push {r3, r4}
2021-06-27 18:48:56 +00:00
ldr r1, _02260FB4 ; =0x00002FAC
add r2, r1, #4
2021-06-26 18:23:42 +00:00
ldr r4, [r0, r1]
ldr r2, [r0, r2]
cmp r4, r2
blt _02260F98
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r3, r4}
bx lr
_02260F98:
2021-06-27 18:48:56 +00:00
add r2, r4, #1
2021-06-26 18:23:42 +00:00
str r2, [r0, r1]
2021-06-27 18:48:56 +00:00
sub r1, #0x80
add r3, r0, r1
lsr r2, r4, #0x1f
lsl r1, r4, #0x1d
sub r1, r1, r2
mov r0, #0x1d
ror r1, r0
add r0, r2, r1
lsl r0, r0, #4
add r0, r3, r0
2021-06-26 18:23:42 +00:00
pop {r3, r4}
bx lr
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02260FB4: .word 0x00002FAC
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260F84
thumb_func_start ov93_02260FB8
2021-06-27 18:48:56 +00:00
ov93_02260FB8: ; 0x02260FB8
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r2, r0, #0
ldr r0, _022610A4 ; =0x00002FB0
add r7, r1, #0
2021-06-26 18:23:42 +00:00
ldr r5, [r2, r0]
2021-06-27 18:48:56 +00:00
sub r0, r0, #4
2021-06-26 18:23:42 +00:00
ldr r0, [r2, r0]
2021-06-27 18:48:56 +00:00
mov r4, #0
2021-06-26 18:23:42 +00:00
cmp r0, r5
beq _02260FD0
cmp r7, #0
bne _02260FD4
_02260FD0:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, r6, r7, pc}
_02260FD4:
2021-06-27 18:48:56 +00:00
lsr r3, r0, #0x1f
lsl r1, r0, #0x1d
sub r1, r1, r3
mov r0, #0x1d
ror r1, r0
add r1, r3, r1
lsr r3, r5, #0x1f
lsl r5, r5, #0x1d
sub r5, r5, r3
ror r5, r0
add r0, r3, r5
2021-06-26 18:23:42 +00:00
cmp r1, r0
bge _02261012
cmp r1, r0
bge _0226105A
2021-06-27 18:48:56 +00:00
lsl r3, r1, #4
add r6, r2, r3
ldr r3, _022610A8 ; =0x00002F38
2021-06-26 18:23:42 +00:00
_02260FF8:
ldrb r5, [r6, r3]
cmp r5, #0
bne _02261008
2021-06-27 18:48:56 +00:00
ldr r0, _022610AC ; =0x00002F2C
add r2, r2, r0
lsl r0, r1, #4
add r4, r2, r0
2021-06-26 18:23:42 +00:00
b _0226105A
_02261008:
2021-06-27 18:48:56 +00:00
add r1, r1, #1
add r6, #0x10
2021-06-26 18:23:42 +00:00
cmp r1, r0
blt _02260FF8
b _0226105A
_02261012:
cmp r1, #8
bge _02261034
2021-06-27 18:48:56 +00:00
lsl r3, r1, #4
add r6, r2, r3
ldr r3, _022610A8 ; =0x00002F38
2021-06-26 18:23:42 +00:00
_0226101C:
ldrb r5, [r6, r3]
cmp r5, #0
bne _0226102C
2021-06-27 18:48:56 +00:00
ldr r3, _022610AC ; =0x00002F2C
lsl r1, r1, #4
add r3, r2, r3
add r4, r3, r1
2021-06-26 18:23:42 +00:00
b _02261034
_0226102C:
2021-06-27 18:48:56 +00:00
add r1, r1, #1
add r6, #0x10
2021-06-26 18:23:42 +00:00
cmp r1, #8
blt _0226101C
_02261034:
cmp r4, #0
bne _0226105A
2021-06-27 18:48:56 +00:00
mov r6, #0
2021-06-26 18:23:42 +00:00
cmp r0, #0
ble _0226105A
2021-06-27 18:48:56 +00:00
ldr r1, _022610A8 ; =0x00002F38
add r5, r2, #0
2021-06-26 18:23:42 +00:00
_02261042:
ldrb r3, [r5, r1]
cmp r3, #0
bne _02261052
2021-06-27 18:48:56 +00:00
ldr r0, _022610AC ; =0x00002F2C
add r1, r2, r0
lsl r0, r6, #4
add r4, r1, r0
2021-06-26 18:23:42 +00:00
b _0226105A
_02261052:
2021-06-27 18:48:56 +00:00
add r6, r6, #1
add r5, #0x10
2021-06-26 18:23:42 +00:00
cmp r6, r0
blt _02261042
_0226105A:
cmp r4, #0
bne _02261066
bl GF_AssertFail
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, r6, r7, pc}
_02261066:
ldrb r0, [r4, #1]
cmp r0, #0
beq _02261070
bl GF_AssertFail
2021-06-26 18:23:42 +00:00
_02261070:
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
strb r7, [r4, #1]
strb r0, [r4, #0xc]
cmp r7, #1
beq _02261084
cmp r7, #2
beq _0226108C
cmp r7, #3
beq _02261098
b _022610A0
_02261084:
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
b _022610A0
_0226108C:
ldr r1, [r4, #4]
2021-06-27 18:48:56 +00:00
lsr r0, r1, #0x1f
add r0, r1, r0
asr r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
b _022610A0
_02261098:
ldr r1, [r4, #4]
2021-06-27 18:48:56 +00:00
lsl r0, r1, #1
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
_022610A0:
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_022610A4: .word 0x00002FB0
_022610A8: .word 0x00002F38
_022610AC: .word 0x00002F2C
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02260FB8
thumb_func_start ov93_022610B0
2021-06-27 18:48:56 +00:00
ov93_022610B0: ; 0x022610B0
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
sub sp, #0x38
2021-12-02 13:51:20 +00:00
ldr r4, _02261144 ; =ov93_02262E68
2021-06-27 18:48:56 +00:00
add r7, r0, #0
2021-06-26 18:23:42 +00:00
str r1, [sp]
add r3, sp, #4
2021-06-27 18:48:56 +00:00
mov r2, #6
2021-06-26 18:23:42 +00:00
_022610BE:
2021-06-27 18:48:56 +00:00
ldmia r4!, {r0, r1}
stmia r3!, {r0, r1}
sub r2, r2, #1
2021-06-26 18:23:42 +00:00
bne _022610BE
ldr r0, [r4]
ldr r4, [sp]
2021-12-02 13:51:20 +00:00
ldr r5, _02261148 ; =ov93_02262CB4
2021-06-26 18:23:42 +00:00
str r0, [r3]
2021-06-27 18:48:56 +00:00
mov r6, #0
2021-06-26 18:23:42 +00:00
_022610D0:
ldr r0, [r7, #0x24]
ldr r1, [r7, #0x28]
add r2, sp, #4
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
str r0, [r4]
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r2, #2
2021-06-26 18:23:42 +00:00
ldrsh r1, [r5, r1]
ldrsh r2, [r5, r2]
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
lsr r1, r6, #0x1f
add r1, r6, r1
asr r1, r1, #1
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r1, #0x1f
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
ldr r0, [r0]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-27 18:48:56 +00:00
add r6, r6, #1
add r4, r4, #4
add r5, r5, #4
2021-06-26 18:23:42 +00:00
cmp r6, #4
blt _022610D0
ldr r0, [r7]
2021-06-27 18:48:56 +00:00
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #2
beq _0226111E
cmp r0, #3
beq _02261136
add sp, #0x38
pop {r3, r4, r5, r6, r7, pc}
_0226111E:
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r0, #8]
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r0, #0xc]
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
add sp, #0x38
pop {r3, r4, r5, r6, r7, pc}
_02261136:
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r0, #4]
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
add sp, #0x38
pop {r3, r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-02 13:51:20 +00:00
_02261144: .word ov93_02262E68
_02261148: .word ov93_02262CB4
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022610B0
thumb_func_start ov93_0226114C
2021-06-27 18:48:56 +00:00
ov93_0226114C: ; 0x0226114C
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r5, r1, #0
mov r4, #0
2021-06-26 18:23:42 +00:00
_02261152:
ldr r0, [r5]
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, r5, #4
2021-06-26 18:23:42 +00:00
cmp r4, #4
blt _02261152
pop {r3, r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0226114C
thumb_func_start ov93_02261164
2021-06-27 18:48:56 +00:00
ov93_02261164: ; 0x02261164
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
sub sp, #0x40
2021-12-02 13:51:20 +00:00
ldr r4, _022612CC ; =ov93_02262E9C
2021-06-27 18:48:56 +00:00
add r5, r0, #0
2021-06-26 18:23:42 +00:00
str r1, [sp]
add r3, sp, #0xc
2021-06-27 18:48:56 +00:00
mov r2, #6
2021-06-26 18:23:42 +00:00
_02261172:
2021-06-27 18:48:56 +00:00
ldmia r4!, {r0, r1}
stmia r3!, {r0, r1}
sub r2, r2, #1
2021-06-26 18:23:42 +00:00
bne _02261172
ldr r0, [r4]
ldr r4, [sp]
str r0, [r3]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-12-02 13:51:20 +00:00
ldr r7, _022612D0 ; =ov93_02262C7A
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
_02261186:
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r0, #0xe4
2021-06-26 18:23:42 +00:00
ldr r1, [r0]
ldr r0, [r4, #0xc]
2021-06-27 18:48:56 +00:00
add r0, r1, r0
2022-01-11 19:36:20 +00:00
bl GF_SinDegFX32
2021-06-27 18:48:56 +00:00
asr r1, r0, #0x1f
mov r2, #0x4c
mov r3, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
mov r2, #2
lsl r2, r2, #0xa
add r2, r0, r2
2021-12-03 19:34:55 +00:00
ldr r0, _022612D4 ; =0
2021-06-27 18:48:56 +00:00
adc r1, r0
lsl r0, r1, #0x14
lsr r6, r2, #0xc
orr r6, r0
2021-06-26 18:23:42 +00:00
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r6, #0x80
add r0, #0xe4
2021-06-26 18:23:42 +00:00
ldr r1, [r0]
ldr r0, [r4, #0xc]
2021-06-27 18:48:56 +00:00
add r0, r1, r0
2022-01-11 19:36:20 +00:00
bl GF_CosDegFX32
2021-06-27 18:48:56 +00:00
asr r1, r0, #0x1f
mov r2, #0x44
mov r3, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
mov r2, #2
lsl r2, r2, #0xa
add r0, r0, r2
2021-12-03 19:34:55 +00:00
ldr r2, _022612D4 ; =0
2021-06-27 18:48:56 +00:00
adc r1, r2
lsr r2, r0, #0xc
lsl r1, r1, #0x14
orr r2, r1
mov r0, #0x62
sub r0, r0, r2
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
ldr r0, [r5, #0x24]
ldr r1, [r5, #0x28]
add r2, sp, #0xc
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-26 18:23:42 +00:00
ldr r2, [sp, #4]
2021-06-27 18:48:56 +00:00
lsl r1, r6, #0x10
sub r2, #0x18
lsl r2, r2, #0x10
mov r3, #0x16
2021-06-26 18:23:42 +00:00
str r0, [r4]
2021-06-27 18:48:56 +00:00
asr r1, r1, #0x10
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldrh r1, [r7, #2]
ldr r0, [r4]
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
ldr r0, [r0]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #0x24]
ldr r1, [r5, #0x28]
2021-12-02 13:51:20 +00:00
ldr r2, _022612D8 ; =ov93_02262ED0
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r3, #0x16
add r2, r1, #0
lsl r3, r3, #0x10
2021-06-26 18:23:42 +00:00
str r0, [r4, #4]
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #0x21
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
ldr r0, [r0]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #0x24]
ldr r1, [r5, #0x28]
2021-12-02 13:51:20 +00:00
ldr r2, _022612DC ; =ov93_02262F04
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-26 18:23:42 +00:00
ldr r2, [sp, #4]
2021-06-27 18:48:56 +00:00
lsl r1, r6, #0x10
lsl r2, r2, #0x10
mov r3, #0x16
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
2021-06-27 18:48:56 +00:00
asr r1, r1, #0x10
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #8]
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-06-27 19:11:25 +00:00
bl sub_0200E0FC
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #8]
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-06-27 19:11:25 +00:00
bl sub_0200DF98
2021-06-27 18:48:56 +00:00
mov r1, #0xfe
lsl r1, r1, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #8]
2021-06-27 18:48:56 +00:00
add r2, r1, #0
2021-06-27 19:11:25 +00:00
bl sub_0200E024
2021-06-26 18:23:42 +00:00
ldr r1, [sp, #8]
ldr r0, [r4, #8]
2021-06-27 18:48:56 +00:00
add r1, #0x22
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #8]
ldr r0, [r0]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #8]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-27 18:48:56 +00:00
add r1, r4, #0
add r0, r5, #0
add r1, #0x30
2021-06-26 18:23:42 +00:00
bl ov93_02262444
ldr r0, [sp, #8]
2021-06-27 18:48:56 +00:00
add r4, #0x4c
add r0, r0, #1
add r7, r7, #2
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
cmp r0, #3
bge _022612B4
b _02261186
_022612B4:
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-06-26 18:23:42 +00:00
ldr r0, [r0, #8]
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
add sp, #0x40
pop {r3, r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-02 13:51:20 +00:00
_022612CC: .word ov93_02262E9C
_022612D0: .word ov93_02262C7A
2021-12-03 19:34:55 +00:00
_022612D4: .word 0
2021-12-02 13:51:20 +00:00
_022612D8: .word ov93_02262ED0
_022612DC: .word ov93_02262F04
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261164
thumb_func_start ov93_022612E0
2021-06-27 18:48:56 +00:00
ov93_022612E0: ; 0x022612E0
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, lr}
2021-06-27 18:48:56 +00:00
add r6, r0, #0
add r5, r1, #0
mov r4, #0
2021-06-26 18:23:42 +00:00
_022612E8:
ldr r0, [r5]
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #4]
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #8]
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
add r1, r5, #0
add r0, r6, #0
add r1, #0x30
2021-06-26 18:23:42 +00:00
bl ov93_02262484
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, #0x4c
2021-06-26 18:23:42 +00:00
cmp r4, #3
blt _022612E8
pop {r4, r5, r6, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022612E0
thumb_func_start ov93_02261310
2021-06-27 18:48:56 +00:00
ov93_02261310: ; 0x02261310
2021-06-26 18:23:42 +00:00
push {r4, lr}
2021-06-27 18:48:56 +00:00
add r4, r1, #0
add r1, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
2021-06-27 18:48:56 +00:00
mov r0, #0x1e
lsl r0, r0, #0xc
lsl r2, r1, #2
2021-12-02 13:51:20 +00:00
ldr r1, _02261350 ; =ov93_02262CC4
2021-06-26 18:23:42 +00:00
ldrb r1, [r1, r2]
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r1, r4, #0
add r1, #0xe8
2021-06-26 18:23:42 +00:00
str r0, [r1]
2021-06-27 18:48:56 +00:00
mov r1, #0
add r2, r1, #0
add r3, r4, #0
2021-06-26 18:23:42 +00:00
_02261332:
2021-06-27 18:48:56 +00:00
lsl r0, r2, #0xc
2021-06-26 18:23:42 +00:00
str r0, [r3, #0xc]
2021-06-27 18:48:56 +00:00
add r1, r1, #1
2021-06-26 18:23:42 +00:00
strb r1, [r3, #0x14]
2021-06-27 18:48:56 +00:00
add r2, #0x5a
add r3, #0x4c
2021-06-26 18:23:42 +00:00
cmp r1, #3
blt _02261332
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
mov r0, #1
add r4, #0xf1
2021-06-26 18:23:42 +00:00
strb r0, [r4]
pop {r4, pc}
nop
2021-12-02 13:51:20 +00:00
_02261350: .word ov93_02262CC4
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261310
thumb_func_start ov93_02261354
2021-06-27 18:48:56 +00:00
ov93_02261354: ; 0x02261354
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r4, r1, #0
add r6, r0, #0
add r0, r4, #0
add r0, #0xf1
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
mov r5, #0
2021-06-26 18:23:42 +00:00
cmp r0, #1
bne _02261368
b _022614E8
_02261368:
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xec
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
add r1, r0, #1
add r0, r4, #0
add r0, #0xec
2021-06-26 18:23:42 +00:00
str r1, [r0]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf2
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #0
bne _022613F4
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xe4
2021-06-26 18:23:42 +00:00
ldr r1, [r0]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xe8
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
add r1, r1, r0
add r0, r4, #0
add r0, #0xe4
2021-06-26 18:23:42 +00:00
str r1, [r0]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf3
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
add r1, r0, #1
add r0, r4, #0
add r0, #0xf3
2021-06-26 18:23:42 +00:00
strb r1, [r0]
2021-06-27 18:48:56 +00:00
add r1, r4, #0
add r1, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf3
lsl r2, r1, #2
2021-12-02 13:51:20 +00:00
ldr r1, _022614EC ; =ov93_02262CC4
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
ldrb r1, [r1, r2]
cmp r0, r1
blo _02261456
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf3
2021-06-26 18:23:42 +00:00
strb r5, [r0]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf0
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
add r1, r0, #1
add r0, r4, #0
add r0, #0xf0
2021-06-26 18:23:42 +00:00
strb r1, [r0]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf0
2021-06-26 18:23:42 +00:00
ldrb r1, [r0]
2021-06-27 18:48:56 +00:00
mov r0, #0x1e
lsl r0, r0, #0xc
add r2, r1, #0
mul r2, r0
add r0, r4, #0
add r0, #0xe4
2021-06-26 18:23:42 +00:00
str r2, [r0]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
lsl r1, r0, #2
2021-12-02 13:51:20 +00:00
ldr r0, _022614F0 ; =ov93_02262CC5
2021-06-26 18:23:42 +00:00
ldrb r1, [r0, r1]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf2
2021-06-26 18:23:42 +00:00
strb r1, [r0]
b _02261456
_022613F4:
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf2
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
sub r1, r0, #1
add r0, r4, #0
add r0, #0xf2
2021-06-26 18:23:42 +00:00
strb r1, [r0]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf2
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #0
bne _02261456
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf0
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #0xc
blo _02261456
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf0
2021-06-26 18:23:42 +00:00
strb r5, [r0]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
add r1, r0, #1
add r0, r4, #0
add r0, #0xf4
2021-06-26 18:23:42 +00:00
strb r1, [r0]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #5
blo _0226143C
2021-06-27 18:48:56 +00:00
add r0, r4, #0
mov r1, #4
add r0, #0xf4
2021-06-26 18:23:42 +00:00
strb r1, [r0]
_0226143C:
2021-06-27 18:48:56 +00:00
add r1, r4, #0
add r1, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
2021-06-27 18:48:56 +00:00
mov r0, #0x1e
lsl r0, r0, #0xc
lsl r2, r1, #2
2021-12-02 13:51:20 +00:00
ldr r1, _022614EC ; =ov93_02262CC4
2021-06-26 18:23:42 +00:00
ldrb r1, [r1, r2]
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r1, r4, #0
add r1, #0xe8
2021-06-26 18:23:42 +00:00
str r0, [r1]
_02261456:
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #1
bne _02261492
2021-12-02 13:51:20 +00:00
ldr r1, _022614EC ; =ov93_02262CC4
2021-06-27 18:48:56 +00:00
mov r0, #0
mov r7, #0xc
2021-06-26 18:23:42 +00:00
_02261466:
ldrb r3, [r1]
ldrb r2, [r1, #1]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
add r1, r1, #4
add r2, r3, r2
add r3, r2, #0
mul r3, r7
add r5, r5, r3
2021-06-26 18:23:42 +00:00
cmp r0, #2
blt _02261466
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xec
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
sub r5, #0xf
2021-06-26 18:23:42 +00:00
cmp r5, r0
bne _022614C6
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0x4c
mov r1, #1
2021-06-26 18:23:42 +00:00
bl ov93_02261528
b _022614C6
_02261492:
cmp r0, #2
bne _022614C6
2021-12-02 13:51:20 +00:00
ldr r0, _022614EC ; =ov93_02262CC4
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r7, #0xc
2021-06-26 18:23:42 +00:00
_0226149C:
ldrb r3, [r0]
ldrb r2, [r0, #1]
2021-06-27 18:48:56 +00:00
add r1, r1, #1
add r0, r0, #4
add r2, r3, r2
add r3, r2, #0
mul r3, r7
add r5, r5, r3
2021-06-26 18:23:42 +00:00
cmp r1, #3
blt _0226149C
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0xec
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
sub r5, #0xf
2021-06-26 18:23:42 +00:00
cmp r5, r0
bne _022614C6
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r0, #0x98
mov r1, #1
2021-06-26 18:23:42 +00:00
bl ov93_02261528
_022614C6:
2021-06-27 18:48:56 +00:00
mov r7, #0
add r5, r4, #0
2021-06-26 18:23:42 +00:00
_022614CA:
2021-06-27 18:48:56 +00:00
add r0, r6, #0
add r1, r4, #0
add r2, r5, #0
2021-06-26 18:23:42 +00:00
bl ov93_02261538
2021-06-27 18:48:56 +00:00
add r2, r5, #0
add r0, r6, #0
add r1, r5, #0
add r2, #0x30
2021-06-26 18:23:42 +00:00
bl ov93_02262540
2021-06-27 18:48:56 +00:00
add r7, r7, #1
add r5, #0x4c
2021-06-26 18:23:42 +00:00
cmp r7, #3
blt _022614CA
_022614E8:
pop {r3, r4, r5, r6, r7, pc}
nop
2021-12-02 13:51:20 +00:00
_022614EC: .word ov93_02262CC4
_022614F0: .word ov93_02262CC5
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261354
thumb_func_start ov93_022614F4
2021-06-27 18:48:56 +00:00
ov93_022614F4: ; 0x022614F4
2021-06-26 18:23:42 +00:00
push {r3, r4}
2021-06-27 18:48:56 +00:00
ldr r2, _02261524 ; =0x00001468
mov r3, #0
add r2, r0, r2
add r4, r2, #0
2021-06-26 18:23:42 +00:00
_022614FE:
ldrb r0, [r4, #0x15]
cmp r0, #1
bne _02261512
2021-06-27 18:48:56 +00:00
mov r0, #0x4c
mul r0, r3
add r0, r2, r0
2021-06-26 18:23:42 +00:00
str r0, [r1]
ldrb r0, [r0, #0x14]
pop {r3, r4}
bx lr
_02261512:
2021-06-27 18:48:56 +00:00
add r3, r3, #1
add r4, #0x4c
2021-06-26 18:23:42 +00:00
cmp r3, #3
blt _022614FE
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [r1]
pop {r3, r4}
bx lr
nop
2021-06-27 18:48:56 +00:00
_02261524: .word 0x00001468
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022614F4
thumb_func_start ov93_02261528
2021-06-27 18:48:56 +00:00
ov93_02261528: ; 0x02261528
2021-06-26 18:23:42 +00:00
strb r1, [r0, #0x10]
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
strb r1, [r0, #0x11]
strb r1, [r0, #0x12]
str r1, [r0, #0x18]
strb r1, [r0, #0x15]
bx lr
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261528
thumb_func_start ov93_02261538
2021-06-27 18:48:56 +00:00
ov93_02261538: ; 0x02261538
2021-06-26 18:23:42 +00:00
push {r4, lr}
ldrb r3, [r2, #0x10]
2021-06-27 18:48:56 +00:00
lsl r4, r3, #2
2021-12-02 13:51:20 +00:00
ldr r3, _02261548 ; =ov93_02262C94
2021-06-26 18:23:42 +00:00
ldr r3, [r3, r4]
2021-06-27 21:10:38 +00:00
blx r3
2021-06-26 18:23:42 +00:00
pop {r4, pc}
nop
2021-12-02 13:51:20 +00:00
_02261548: .word ov93_02262C94
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261538
thumb_func_start ov93_0226154C
2021-06-27 18:48:56 +00:00
ov93_0226154C: ; 0x0226154C
mov r0, #0
2021-06-26 18:23:42 +00:00
strb r0, [r2, #0x15]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
bx lr
thumb_func_end ov93_0226154C
thumb_func_start ov93_02261554
2021-06-27 18:48:56 +00:00
ov93_02261554: ; 0x02261554
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r4, r0, #0
add r5, r2, #0
mov r0, #0x1c
2021-06-26 18:23:42 +00:00
ldrsh r0, [r5, r0]
add r1, sp, #0
strh r0, [r1, #2]
2021-06-27 18:48:56 +00:00
mov r0, #0x1e
2021-06-26 18:23:42 +00:00
ldrsh r0, [r5, r0]
strh r0, [r1]
ldrb r0, [r5, #0x11]
cmp r0, #0
beq _02261574
cmp r0, #1
beq _022615A8
b _02261732
_02261574:
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
mov r1, #1
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #8]
2021-06-27 18:48:56 +00:00
mov r1, #1
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
add r1, sp, #0
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #0
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r1, sp, #0
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldrsh r0, [r1, r0]
strh r0, [r5, #0x1c]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
ldrsh r0, [r1, r0]
strh r0, [r5, #0x1e]
ldrb r0, [r5, #0x11]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r5, #0x11]
_022615A8:
2021-06-27 18:48:56 +00:00
mov r1, #0x5a
2021-06-26 18:23:42 +00:00
ldr r2, [r5, #0xc]
2021-06-27 18:48:56 +00:00
lsl r1, r1, #0xc
2021-06-26 18:23:42 +00:00
cmp r2, r1
bgt _022615BA
bge _022615EC
cmp r2, #0
beq _022615CC
b _02261654
_022615BA:
2021-06-27 18:48:56 +00:00
lsl r0, r1, #1
2021-06-26 18:23:42 +00:00
cmp r2, r0
bgt _022615C4
beq _02261614
b _02261654
_022615C4:
2021-06-27 18:48:56 +00:00
ldr r0, _0226173C ; =0x0010E000
2021-06-26 18:23:42 +00:00
cmp r2, r0
beq _02261634
b _02261654
_022615CC:
2021-06-27 18:48:56 +00:00
mov r0, #0x1e
2021-06-26 18:23:42 +00:00
ldrsh r0, [r5, r0]
ldrb r1, [r5, #0x12]
2021-06-27 18:48:56 +00:00
add r0, #0x20
lsl r0, r0, #0x10
asr r0, r0, #0x10
mul r0, r1
mov r1, #0xf
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0x10
asr r1, r0, #0x10
sub r1, #0x20
2021-06-26 18:23:42 +00:00
add r0, sp, #0
strh r1, [r0]
b _02261658
_022615EC:
2021-06-27 18:48:56 +00:00
mov r0, #0x1c
2021-06-26 18:23:42 +00:00
ldrsh r2, [r5, r0]
2021-06-27 18:48:56 +00:00
mov r0, #0x12
lsl r0, r0, #4
sub r0, r2, r0
lsl r0, r0, #0x10
2021-06-26 18:23:42 +00:00
ldrb r1, [r5, #0x12]
2021-06-27 18:48:56 +00:00
asr r0, r0, #0x10
mul r0, r1
mov r1, #0xf
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0x10
asr r1, r0, #0x10
mov r0, #0x12
lsl r0, r0, #4
add r1, r1, r0
2021-06-26 18:23:42 +00:00
add r0, sp, #0
strh r1, [r0, #2]
b _02261658
_02261614:
2021-06-27 18:48:56 +00:00
mov r0, #0x1e
2021-06-26 18:23:42 +00:00
ldrsh r0, [r5, r0]
ldrb r1, [r5, #0x12]
2021-06-27 18:48:56 +00:00
sub r0, #0xe4
lsl r0, r0, #0x10
asr r0, r0, #0x10
mul r0, r1
mov r1, #0xf
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0x10
asr r1, r0, #0x10
add r1, #0xe4
2021-06-26 18:23:42 +00:00
add r0, sp, #0
strh r1, [r0]
b _02261658
_02261634:
2021-06-27 18:48:56 +00:00
mov r0, #0x1c
2021-06-26 18:23:42 +00:00
ldrsh r0, [r5, r0]
ldrb r1, [r5, #0x12]
2021-06-27 18:48:56 +00:00
add r0, #0x20
lsl r0, r0, #0x10
asr r0, r0, #0x10
mul r0, r1
mov r1, #0xf
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0x10
asr r1, r0, #0x10
sub r1, #0x20
2021-06-26 18:23:42 +00:00
add r0, sp, #0
strh r1, [r0, #2]
b _02261658
_02261654:
bl GF_AssertFail
2021-06-26 18:23:42 +00:00
_02261658:
ldrb r1, [r5, #0x12]
cmp r1, #0xf
blo _022616A0
2021-06-27 18:48:56 +00:00
mov r1, #0x1c
mov r2, #0x1e
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldrsh r1, [r5, r1]
ldrsh r2, [r5, r2]
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
mov r2, #0x1e
2021-06-26 18:23:42 +00:00
ldrsh r2, [r5, r2]
2021-06-27 18:48:56 +00:00
mov r1, #0x1c
mov r3, #0x16
add r2, #0x18
lsl r2, r2, #0x10
2021-06-26 18:23:42 +00:00
ldrsh r1, [r5, r1]
ldr r0, [r5, #8]
2021-06-27 18:48:56 +00:00
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
add r0, r5, #0
mov r1, #2
2021-06-26 18:23:42 +00:00
bl ov93_02261528
2021-06-27 18:48:56 +00:00
add r1, r5, #0
add r5, #0x30
add r0, r4, #0
add r2, r5, #0
2021-06-26 18:23:42 +00:00
bl ov93_0226249C
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, pc}
_022616A0:
2021-06-27 18:48:56 +00:00
mov r0, #0xb4
mul r0, r1
lsl r0, r0, #0xc
mov r1, #0xf
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2022-01-11 19:36:20 +00:00
bl GF_SinDegFX32
2021-06-27 18:48:56 +00:00
mov r2, #6
asr r1, r0, #0x1f
lsl r2, r2, #0xe
mov r3, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
mov r3, #2
mov r2, #0
lsl r3, r3, #0xa
add r3, r0, r3
adc r1, r2
lsl r0, r1, #0x14
lsr r1, r3, #0xc
orr r1, r0
neg r1, r1
asr r0, r1, #0xb
2021-06-26 18:23:42 +00:00
add r3, sp, #0
2021-06-27 18:48:56 +00:00
lsr r0, r0, #0x14
add r0, r1, r0
asr r4, r0, #0xc
2021-06-26 18:23:42 +00:00
ldrsh r2, [r3, r2]
2021-06-27 18:48:56 +00:00
mov r1, #2
2021-06-26 18:23:42 +00:00
ldrsh r1, [r3, r1]
2021-06-27 18:48:56 +00:00
add r2, r2, r4
lsl r2, r2, #0x10
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r3, sp, #0
2021-06-27 18:48:56 +00:00
mov r2, #0
2021-06-26 18:23:42 +00:00
ldrsh r2, [r3, r2]
2021-06-27 18:48:56 +00:00
mov r1, #2
2021-06-26 18:23:42 +00:00
ldrsh r1, [r3, r1]
2021-06-27 18:48:56 +00:00
add r2, #0x18
lsl r2, r2, #0x10
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #8]
2021-06-27 18:48:56 +00:00
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
neg r0, r4
mov r1, #3
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xc
mov r1, #0x18
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
mov r1, #1
lsl r1, r1, #0xc
sub r0, r1, r0
2021-10-05 12:50:55 +00:00
bl _fflt
2021-06-27 18:48:56 +00:00
ldr r1, _02261740 ; =0x45800000
2021-08-11 14:29:41 +00:00
bl _fdiv
2021-06-27 18:48:56 +00:00
add r1, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #8]
2021-06-27 18:48:56 +00:00
add r2, r1, #0
2021-06-27 19:11:25 +00:00
bl sub_0200E024
2021-06-26 18:23:42 +00:00
_02261732:
ldrb r0, [r5, #0x12]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r5, #0x12]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_0226173C: .word 0x0010E000
_02261740: .word 0x45800000
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261554
thumb_func_start ov93_02261744
2021-06-27 18:48:56 +00:00
ov93_02261744: ; 0x02261744
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
sub sp, #8
2021-06-27 18:48:56 +00:00
add r5, r1, #0
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r0, #0xf3
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
add r4, r2, #0
2021-06-26 18:23:42 +00:00
cmp r0, #0
beq _02261774
2021-06-27 18:48:56 +00:00
add r1, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
2021-06-27 18:48:56 +00:00
mov r0, #0xb
lsl r0, r0, #0xe
lsl r2, r1, #2
2021-12-02 13:51:20 +00:00
ldr r1, _022618BC ; =ov93_02262CC4
2021-06-26 18:23:42 +00:00
ldrb r1, [r1, r2]
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r1, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_TickSpriteAnimationNFrames
2021-06-26 18:23:42 +00:00
b _0226177C
_02261774:
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpriteAnimCtrlCurrentFrame
2021-06-26 18:23:42 +00:00
_0226177C:
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r0, #0xf3
2021-06-26 18:23:42 +00:00
ldrb r1, [r0]
2021-06-27 18:48:56 +00:00
mov r0, #0xb4
mul r0, r1
add r1, r5, #0
add r1, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xc
lsl r2, r1, #2
2021-12-02 13:51:20 +00:00
ldr r1, _022618BC ; =ov93_02262CC4
2021-06-26 18:23:42 +00:00
ldrb r1, [r1, r2]
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2022-01-11 19:36:20 +00:00
bl GF_SinDegFX32
2021-06-27 18:48:56 +00:00
mov r2, #3
asr r1, r0, #0x1f
lsl r2, r2, #0xe
mov r3, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
mov r2, #2
mov r3, #0
lsl r2, r2, #0xa
add r2, r0, r2
adc r1, r3
lsl r0, r1, #0x14
lsr r1, r2, #0xc
orr r1, r0
neg r1, r1
asr r0, r1, #0xb
lsr r0, r0, #0x14
add r0, r1, r0
asr r7, r0, #0xc
add r0, r5, #0
add r0, #0xe4
2021-06-26 18:23:42 +00:00
ldr r1, [r0]
ldr r0, [r4, #0xc]
2021-06-27 18:48:56 +00:00
add r0, r1, r0
2022-01-11 19:36:20 +00:00
bl GF_SinDegFX32
2021-06-27 18:48:56 +00:00
asr r1, r0, #0x1f
mov r2, #0x4c
mov r3, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
mov r2, #2
mov r3, #0
lsl r2, r2, #0xa
add r2, r0, r2
adc r1, r3
lsl r0, r1, #0x14
lsr r6, r2, #0xc
orr r6, r0
add r0, r5, #0
add r0, #0xe4
2021-06-26 18:23:42 +00:00
ldr r1, [r0]
ldr r0, [r4, #0xc]
2021-06-27 18:48:56 +00:00
add r6, #0x80
add r0, r1, r0
2022-01-11 19:36:20 +00:00
bl GF_CosDegFX32
2021-06-27 18:48:56 +00:00
asr r1, r0, #0x1f
mov r2, #0x44
mov r3, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
add r2, r0, #0
mov r0, #2
mov r3, #0
lsl r0, r0, #0xa
add r0, r2, r0
adc r1, r3
lsr r2, r0, #0xc
lsl r1, r1, #0x14
orr r2, r1
mov r0, #0x62
sub r0, r0, r2
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
ldr r2, [sp, #4]
2021-06-27 18:48:56 +00:00
lsl r1, r6, #0x10
sub r2, #0x18
add r2, r2, r7
lsl r2, r2, #0x10
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
asr r1, r1, #0x10
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r2, [sp, #4]
2021-06-27 18:48:56 +00:00
lsl r1, r6, #0x10
lsl r2, r2, #0x10
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #8]
2021-06-27 18:48:56 +00:00
asr r1, r1, #0x10
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
neg r0, r7
mov r1, #3
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xc
mov r1, #0xc
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
mov r1, #1
lsl r1, r1, #0xc
sub r0, r1, r0
2021-10-05 12:50:55 +00:00
bl _fflt
2021-06-27 18:48:56 +00:00
ldr r1, _022618C0 ; =0x45800000
2021-08-11 14:29:41 +00:00
bl _fdiv
2021-06-27 18:48:56 +00:00
add r1, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #8]
2021-06-27 18:48:56 +00:00
add r2, r1, #0
2021-06-27 19:11:25 +00:00
bl sub_0200E024
2021-06-27 18:48:56 +00:00
add r1, r5, #0
add r1, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r0, #0xf3
lsl r2, r1, #2
2021-12-02 13:51:20 +00:00
ldr r1, _022618BC ; =ov93_02262CC4
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
ldrb r1, [r1, r2]
2021-06-27 18:48:56 +00:00
sub r1, r1, #1
2021-06-26 18:23:42 +00:00
cmp r0, r1
bne _02261896
2021-06-27 18:48:56 +00:00
add r2, r4, #0
2021-06-26 18:23:42 +00:00
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r1, r4, #0
add r2, #0x30
2021-06-26 18:23:42 +00:00
bl ov93_0226249C
_02261896:
2021-06-27 18:48:56 +00:00
add r5, #0xe4
2021-06-26 18:23:42 +00:00
ldr r1, [r5]
ldr r0, [r4, #0xc]
2021-06-27 18:48:56 +00:00
add r0, r1, r0
mov r1, #0x5a
asr r0, r0, #0xc
lsl r1, r1, #2
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-26 18:23:42 +00:00
cmp r1, #0xb4
bne _022618B0
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
b _022618B2
_022618B0:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
_022618B2:
strb r0, [r4, #0x15]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
add sp, #8
pop {r3, r4, r5, r6, r7, pc}
nop
2021-12-02 13:51:20 +00:00
_022618BC: .word ov93_02262CC4
2021-06-27 18:48:56 +00:00
_022618C0: .word 0x45800000
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261744
thumb_func_start ov93_022618C4
2021-06-27 18:48:56 +00:00
ov93_022618C4: ; 0x022618C4
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, r7, lr}
sub sp, #0xc
2021-06-27 18:48:56 +00:00
add r4, r2, #0
2021-06-26 18:23:42 +00:00
ldrb r0, [r4, #0x11]
2021-06-27 18:48:56 +00:00
add r5, r1, #0
2021-06-26 18:23:42 +00:00
cmp r0, #3
bls _022618D4
b _02261BA2
_022618D4:
2021-06-27 18:48:56 +00:00
add r0, r0, r0
2021-06-26 18:23:42 +00:00
add r0, pc
ldrh r0, [r0, #6]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0x10
asr r0, r0, #0x10
2021-06-26 18:23:42 +00:00
add pc, r0
2021-06-27 18:48:56 +00:00
_022618E0: ; jump table
.short _022618E8 - _022618E0 - 2 ; case 0
.short _0226195A - _022618E0 - 2 ; case 1
.short _022619AE - _022618E0 - 2 ; case 2
.short _02261ACA - _022618E0 - 2 ; case 3
2021-06-26 18:23:42 +00:00
_022618E8:
2021-06-27 18:48:56 +00:00
ldr r0, _02261BA8 ; =0x00000593
2021-08-13 18:03:14 +00:00
bl PlaySE
2021-06-26 18:23:42 +00:00
add r1, sp, #8
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #8
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r3, sp, #4
2021-06-27 18:48:56 +00:00
mov r2, #4
2021-06-26 18:23:42 +00:00
ldrsh r2, [r3, r2]
2021-06-27 18:48:56 +00:00
mov r1, #6
2021-06-26 18:23:42 +00:00
ldrsh r1, [r3, r1]
2021-06-27 18:48:56 +00:00
sub r2, #0x20
lsl r2, r2, #0x10
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #0x21
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #1
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldrb r1, [r4, #0x14]
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
lsl r2, r1, #1
2021-12-02 13:51:20 +00:00
ldr r1, _02261BAC ; =ov93_02262C7A
2021-06-26 18:23:42 +00:00
ldrh r1, [r1, r2]
2021-06-27 18:48:56 +00:00
add r1, r1, #2
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r0, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-12-02 13:51:20 +00:00
ldr r1, _02261BB0 ; =ov93_02262CC6
2021-06-27 18:48:56 +00:00
add r5, #0xf4
lsl r0, r0, #2
2021-06-26 18:23:42 +00:00
ldrb r0, [r1, r0]
strb r0, [r4, #0x12]
ldrb r0, [r5]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #2
2021-06-26 18:23:42 +00:00
ldrb r0, [r1, r0]
2021-06-27 18:48:56 +00:00
lsr r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x13]
ldrb r0, [r4, #0x11]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x11]
b _02261BA2
_0226195A:
ldrb r1, [r4, #0x12]
ldrb r0, [r4, #0x13]
cmp r1, r0
bne _02261984
ldrb r1, [r4, #0x14]
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
lsl r2, r1, #1
2021-12-02 13:51:20 +00:00
ldr r1, _02261BAC ; =ov93_02262C7A
2021-06-26 18:23:42 +00:00
ldrh r1, [r1, r2]
2021-06-27 18:48:56 +00:00
add r1, r1, #1
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
lsl r1, r1, #0xe
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_TickSpriteAnimationNFrames
2021-06-26 18:23:42 +00:00
_02261984:
ldrb r0, [r4, #0x12]
cmp r0, #0
bne _022619A8
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldrb r1, [r4, #0x14]
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
lsl r2, r1, #1
2021-12-02 13:51:20 +00:00
ldr r1, _02261BAC ; =ov93_02262C7A
2021-06-26 18:23:42 +00:00
ldrh r1, [r1, r2]
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldrb r0, [r4, #0x11]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x11]
b _02261BA2
_022619A8:
2021-06-27 18:48:56 +00:00
sub r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x12]
b _02261BA2
_022619AE:
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r0, #0xf2
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
mov r2, #0
2021-06-26 18:23:42 +00:00
cmp r0, #0
bne _022619E0
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r0, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
add r3, r5, #0
add r3, #0xf3
lsl r1, r0, #2
2021-12-02 13:51:20 +00:00
ldr r0, _02261BB4 ; =ov93_02262CC4
2021-06-26 18:23:42 +00:00
ldrb r3, [r3]
ldrb r0, [r0, r1]
2021-06-27 18:48:56 +00:00
add r5, #0xf0
sub r3, r0, r3
add r3, r2, r3
2021-12-02 13:51:20 +00:00
ldr r2, _02261BB8 ; =ov93_02262CC5
2021-06-26 18:23:42 +00:00
ldrb r1, [r2, r1]
2021-06-27 18:48:56 +00:00
add r1, r3, r1
add r6, r1, r0
2021-06-26 18:23:42 +00:00
ldrb r0, [r5]
2021-06-27 18:48:56 +00:00
add r5, r0, #2
2021-06-26 18:23:42 +00:00
b _02261A0C
_022619E0:
2021-06-27 18:48:56 +00:00
add r1, r2, r0
add r0, r5, #0
add r0, #0xf0
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #0xc
blo _022619FE
2021-06-27 18:48:56 +00:00
add r5, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r0, [r5]
2021-06-27 18:48:56 +00:00
mov r5, #1
add r0, r0, #1
lsl r2, r0, #2
2021-12-02 13:51:20 +00:00
ldr r0, _02261BB4 ; =ov93_02262CC4
2021-06-26 18:23:42 +00:00
ldrb r0, [r0, r2]
2021-06-27 18:48:56 +00:00
add r6, r1, r0
2021-06-26 18:23:42 +00:00
b _02261A0C
_022619FE:
2021-06-27 18:48:56 +00:00
add r5, #0xf4
2021-06-26 18:23:42 +00:00
ldrb r2, [r5]
2021-06-27 18:48:56 +00:00
add r5, r0, #1
lsl r3, r2, #2
2021-12-02 13:51:20 +00:00
ldr r2, _02261BB4 ; =ov93_02262CC4
2021-06-26 18:23:42 +00:00
ldrb r2, [r2, r3]
2021-06-27 18:48:56 +00:00
add r6, r1, r2
2021-06-26 18:23:42 +00:00
_02261A0C:
2021-06-27 18:48:56 +00:00
mov r1, #0x1e
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0xc]
2021-06-27 18:48:56 +00:00
lsl r1, r1, #0xc
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r0, r5, r0
mov r1, #0xc
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r5, r1, #0
mov r0, #0x1e
lsl r0, r0, #0xc
add r7, r5, #0
mul r7, r0
add r0, r7, #0
2022-01-11 19:36:20 +00:00
bl GF_SinDegFX32
2021-06-27 18:48:56 +00:00
add r5, r0, #0
add r0, r7, #0
2022-01-11 19:36:20 +00:00
bl GF_CosDegFX32
2021-06-26 18:23:42 +00:00
str r0, [sp]
add r1, sp, #4
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #4
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r1, sp, #4
2021-06-27 18:48:56 +00:00
mov r3, #0
2021-06-26 18:23:42 +00:00
ldrsh r0, [r1, r3]
2021-06-27 18:48:56 +00:00
mov r2, #0x4c
add r0, #0x18
2021-06-26 18:23:42 +00:00
strh r0, [r1]
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldrsh r7, [r1, r0]
2021-06-27 18:48:56 +00:00
asr r1, r5, #0x1f
add r0, r5, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
mov r2, #2
mov r3, #0
lsl r2, r2, #0xa
add r2, r0, r2
adc r1, r3
lsl r0, r1, #0x14
lsr r1, r2, #0xc
orr r1, r0
add r1, #0x80
lsl r0, r1, #0x10
asr r0, r0, #0x10
sub r0, r0, r7
lsl r0, r0, #0xc
add r1, r6, #0
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x20]
add r0, sp, #4
2021-06-27 18:48:56 +00:00
mov r3, #0
2021-06-26 18:23:42 +00:00
ldrsh r5, [r0, r3]
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
mov r2, #0x44
asr r1, r0, #0x1f
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
add r2, r0, #0
mov r0, #2
mov r3, #0
lsl r0, r0, #0xa
add r0, r2, r0
adc r1, r3
lsr r2, r0, #0xc
lsl r1, r1, #0x14
orr r2, r1
mov r0, #0x62
sub r0, r0, r2
lsl r0, r0, #0x10
asr r0, r0, #0x10
sub r0, r0, r5
lsl r0, r0, #0xc
add r1, r6, #0
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x24]
2021-06-27 18:48:56 +00:00
lsl r0, r7, #0xc
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x28]
2021-06-27 18:48:56 +00:00
lsl r0, r5, #0xc
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x2c]
strb r6, [r4, #0x12]
str r6, [r4, #0x18]
ldrb r0, [r4, #0x11]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x11]
_02261ACA:
ldr r1, [r4, #0x28]
ldr r0, [r4, #0x20]
2021-06-27 18:48:56 +00:00
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x28]
ldr r1, [r4, #0x2c]
ldr r0, [r4, #0x24]
2021-06-27 18:48:56 +00:00
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x2c]
ldrb r1, [r4, #0x12]
2021-06-27 18:48:56 +00:00
mov r0, #0xb4
mul r0, r1
2021-06-26 18:23:42 +00:00
ldr r1, [r4, #0x18]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xc
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2022-01-11 19:36:20 +00:00
bl GF_SinDegFX32
2021-06-27 18:48:56 +00:00
mov r2, #3
asr r1, r0, #0x1f
lsl r2, r2, #0xe
mov r3, #0
2021-08-11 14:29:41 +00:00
bl _ll_mul
2021-06-27 18:48:56 +00:00
add r5, r0, #0
2021-06-26 18:23:42 +00:00
ldr r2, [r4, #0x28]
2021-06-27 18:48:56 +00:00
add r6, r1, #0
asr r1, r2, #0xb
lsr r1, r1, #0x14
add r1, r2, r1
2021-06-26 18:23:42 +00:00
ldr r2, [r4, #0x2c]
2021-06-27 18:48:56 +00:00
lsl r1, r1, #4
asr r3, r2, #0xb
lsr r3, r3, #0x14
add r3, r2, r3
mov r2, #2
asr r3, r3, #0xc
mov r7, #0
lsl r2, r2, #0xa
asr r1, r1, #0x10
sub r3, #0x18
add r2, r5, r2
adc r6, r7
lsl r5, r6, #0x14
lsr r2, r2, #0xc
orr r2, r5
neg r5, r2
asr r2, r5, #0xb
lsr r2, r2, #0x14
add r2, r5, r2
asr r2, r2, #0xc
add r2, r3, r2
lsl r2, r2, #0x10
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
mov r0, #0xb
2021-06-26 18:23:42 +00:00
ldr r1, [r4, #0x18]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xe
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r1, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_TickSpriteAnimationNFrames
2021-06-26 18:23:42 +00:00
ldr r2, [r4, #0x28]
ldr r3, [r4, #0x2c]
2021-06-27 18:48:56 +00:00
asr r1, r2, #0xb
lsr r1, r1, #0x14
add r1, r2, r1
asr r2, r3, #0xb
lsr r2, r2, #0x14
add r2, r3, r2
lsl r1, r1, #4
lsl r2, r2, #4
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #8]
2021-06-27 18:48:56 +00:00
asr r1, r1, #0x10
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldrb r0, [r4, #0x12]
2021-06-27 18:48:56 +00:00
sub r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x12]
ldrb r0, [r4, #0x12]
cmp r0, #0
bne _02261BA2
ldrb r1, [r4, #0x14]
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
lsl r2, r1, #1
2021-12-02 13:51:20 +00:00
ldr r1, _02261BAC ; =ov93_02262C7A
2021-06-26 18:23:42 +00:00
ldrh r1, [r1, r2]
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r1, r7, #0
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpriteAnimCtrlCurrentFrame
2021-06-27 18:48:56 +00:00
add r0, r4, #0
mov r1, #2
2021-06-26 18:23:42 +00:00
bl ov93_02261528
add sp, #0xc
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r4, r5, r6, r7, pc}
_02261BA2:
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
add sp, #0xc
pop {r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02261BA8: .word 0x00000593
2021-12-02 13:51:20 +00:00
_02261BAC: .word ov93_02262C7A
_02261BB0: .word ov93_02262CC6
_02261BB4: .word ov93_02262CC4
_02261BB8: .word ov93_02262CC5
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022618C4
thumb_func_start ov93_02261BBC
2021-06-27 18:48:56 +00:00
ov93_02261BBC: ; 0x02261BBC
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, r7, lr}
sub sp, #0x34
2021-12-02 13:51:20 +00:00
ldr r6, _02261C34 ; =ov93_02262E9C
2021-06-27 18:48:56 +00:00
add r5, r0, #0
add r4, r1, #0
2021-06-26 18:23:42 +00:00
add r3, sp, #0
2021-06-27 18:48:56 +00:00
mov r2, #6
2021-06-26 18:23:42 +00:00
_02261BCA:
2021-06-27 18:48:56 +00:00
ldmia r6!, {r0, r1}
stmia r3!, {r0, r1}
sub r2, r2, #1
2021-06-26 18:23:42 +00:00
bne _02261BCA
ldr r0, [r6]
2021-06-27 18:48:56 +00:00
mov r7, #0x16
2021-06-26 18:23:42 +00:00
str r0, [r3]
2021-06-27 18:48:56 +00:00
mov r6, #0
lsl r7, r7, #0x10
2021-06-26 18:23:42 +00:00
_02261BDC:
ldr r0, [r5, #0x24]
ldr r1, [r5, #0x28]
add r2, sp, #0
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
str r0, [r4]
2021-06-27 18:48:56 +00:00
add r2, r1, #0
add r3, r7, #0
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #0x24]
ldr r1, [r5, #0x28]
2021-12-02 13:51:20 +00:00
ldr r2, _02261C38 ; =ov93_02262ED0
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
str r0, [r4, #4]
2021-06-27 18:48:56 +00:00
add r2, r1, #0
add r3, r7, #0
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #0x21
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
ldr r0, [r0]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-27 18:48:56 +00:00
add r6, r6, #1
add r4, #0x18
2021-06-26 18:23:42 +00:00
cmp r6, #3
blt _02261BDC
add sp, #0x34
pop {r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-02 13:51:20 +00:00
_02261C34: .word ov93_02262E9C
_02261C38: .word ov93_02262ED0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261BBC
thumb_func_start ov93_02261C3C
2021-06-27 18:48:56 +00:00
ov93_02261C3C: ; 0x02261C3C
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r5, r1, #0
mov r4, #0
2021-06-26 18:23:42 +00:00
_02261C42:
ldr r0, [r5]
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #4]
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, #0x18
2021-06-26 18:23:42 +00:00
cmp r4, #3
blt _02261C42
pop {r3, r4, r5, pc}
thumb_func_end ov93_02261C3C
thumb_func_start ov93_02261C58
2021-06-27 18:48:56 +00:00
ov93_02261C58: ; 0x02261C58
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r6, r0, #0
add r7, r1, #0
add r5, r2, #0
2021-06-26 18:23:42 +00:00
str r3, [sp]
2021-12-03 19:34:55 +00:00
ldr r4, _02261D04 ; =0
2021-06-26 18:23:42 +00:00
beq _02261D02
2021-06-27 19:11:25 +00:00
bl sub_0203769C
2021-06-26 18:23:42 +00:00
ldr r1, [sp]
cmp r1, r0
beq _02261D02
2021-06-27 18:48:56 +00:00
add r0, r4, #0
add r2, r7, #0
2021-06-26 18:23:42 +00:00
_02261C74:
ldrb r1, [r2, #0x15]
cmp r1, #0
bne _02261C82
2021-06-27 18:48:56 +00:00
mov r1, #0x18
mul r1, r0
add r4, r7, r1
2021-06-26 18:23:42 +00:00
b _02261C8A
_02261C82:
2021-06-27 18:48:56 +00:00
add r0, r0, #1
add r2, #0x18
2021-06-26 18:23:42 +00:00
cmp r0, #3
blt _02261C74
_02261C8A:
cmp r4, #0
beq _02261D02
ldr r1, [sp]
2021-06-27 18:48:56 +00:00
add r0, r6, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225E3C4
ldr r1, [r6]
2021-12-02 13:51:20 +00:00
ldr r2, _02261D08 ; =ov93_02262D2C
2021-06-27 18:48:56 +00:00
add r1, #0x30
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
2021-06-27 18:48:56 +00:00
add r7, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
lsl r3, r1, #3
lsl r1, r7, #1
add r2, r2, r3
2021-06-26 18:23:42 +00:00
ldrh r1, [r1, r2]
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpritePalIndex
2021-12-02 13:51:20 +00:00
ldr r1, _02261D0C ; =ov93_02262C7A
2021-06-27 18:48:56 +00:00
lsl r2, r5, #1
2021-06-26 18:23:42 +00:00
ldrh r1, [r1, r2]
ldr r0, [r4]
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r6]
2021-06-27 18:48:56 +00:00
mov r3, #0x16
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
lsl r1, r0, #2
2021-12-02 13:51:20 +00:00
ldr r0, _02261D10 ; =ov93_02262CD8
2021-06-27 18:48:56 +00:00
add r0, r0, r1
2021-06-26 18:23:42 +00:00
ldrb r0, [r7, r0]
2021-12-02 13:51:20 +00:00
ldr r1, _02261D14 ; =ov93_02262CB4
2021-06-27 18:48:56 +00:00
lsl r2, r0, #2
2021-12-02 13:51:20 +00:00
ldr r0, _02261D18 ; =ov93_02262CB6
2021-06-26 18:23:42 +00:00
ldrsh r1, [r1, r2]
ldrsh r0, [r0, r2]
2021-06-27 18:48:56 +00:00
mov r2, #0x10
sub r0, #0x18
2021-06-26 18:23:42 +00:00
strh r0, [r4, #0x10]
ldrsh r2, [r4, r2]
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
sub r2, #0x60
lsl r2, r2, #0x10
asr r2, r2, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
ldr r0, [r0]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0x18]
strb r5, [r4, #0x12]
2021-06-27 18:48:56 +00:00
sub r0, #0xc
2021-06-26 18:23:42 +00:00
strh r0, [r4, #0x16]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x13]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x15]
_02261D02:
pop {r3, r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-03 19:34:55 +00:00
_02261D04: .word 0
2021-12-02 13:51:20 +00:00
_02261D08: .word ov93_02262D2C
_02261D0C: .word ov93_02262C7A
_02261D10: .word ov93_02262CD8
_02261D14: .word ov93_02262CB4
_02261D18: .word ov93_02262CB6
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261C58
thumb_func_start ov93_02261D1C
2021-06-27 18:48:56 +00:00
ov93_02261D1C: ; 0x02261D1C
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, lr}
2021-06-27 18:48:56 +00:00
add r6, r1, #0
mov r4, #0
add r5, r6, #0
2021-06-26 18:23:42 +00:00
_02261D24:
ldrb r0, [r5, #0x15]
cmp r0, #1
bne _02261D32
2021-06-27 18:48:56 +00:00
add r0, r6, #0
add r1, r5, #0
2021-06-26 18:23:42 +00:00
bl ov93_02261D3C
_02261D32:
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, #0x18
2021-06-26 18:23:42 +00:00
cmp r4, #3
blt _02261D24
pop {r4, r5, r6, pc}
thumb_func_end ov93_02261D1C
thumb_func_start ov93_02261D3C
2021-06-27 18:48:56 +00:00
ov93_02261D3C: ; 0x02261D3C
2021-06-26 18:23:42 +00:00
push {r3, r4, lr}
sub sp, #4
2021-06-27 18:48:56 +00:00
add r4, r1, #0
2021-06-26 18:23:42 +00:00
ldrb r0, [r4, #0x13]
cmp r0, #4
bls _02261D4A
b _02261E88
_02261D4A:
2021-06-27 18:48:56 +00:00
add r0, r0, r0
2021-06-26 18:23:42 +00:00
add r0, pc
ldrh r0, [r0, #6]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0x10
asr r0, r0, #0x10
2021-06-26 18:23:42 +00:00
add pc, r0
2021-06-27 18:48:56 +00:00
_02261D56: ; jump table
.short _02261D60 - _02261D56 - 2 ; case 0
.short _02261D88 - _02261D56 - 2 ; case 1
.short _02261DC4 - _02261D56 - 2 ; case 2
.short _02261E20 - _02261D56 - 2 ; case 3
.short _02261E5A - _02261D56 - 2 ; case 4
2021-06-26 18:23:42 +00:00
_02261D60:
add r1, sp, #0
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #0
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r1, sp, #0
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldrsh r0, [r1, r0]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xc
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
ldrsh r0, [r1, r0]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xc
2021-06-26 18:23:42 +00:00
str r0, [r4, #0xc]
ldrb r0, [r4, #0x13]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x13]
_02261D88:
2021-06-27 18:48:56 +00:00
mov r0, #0x16
2021-06-26 18:23:42 +00:00
ldrsh r0, [r4, r0]
cmp r0, #0
ble _02261D96
2021-06-27 18:48:56 +00:00
sub r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r0, [r4, #0x16]
b _02261E88
_02261D96:
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
mov r1, #1
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldr r1, [r4, #0xc]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xe
add r2, r1, r0
2021-06-26 18:23:42 +00:00
str r2, [r4, #0xc]
2021-06-27 18:48:56 +00:00
mov r0, #0x10
2021-06-26 18:23:42 +00:00
ldrsh r1, [r4, r0]
2021-06-27 18:48:56 +00:00
asr r0, r2, #0xb
lsr r0, r0, #0x14
add r0, r2, r0
asr r0, r0, #0xc
2021-06-26 18:23:42 +00:00
cmp r0, r1
blt _02261E88
2021-06-27 18:48:56 +00:00
lsl r0, r1, #0xc
2021-06-26 18:23:42 +00:00
str r0, [r4, #0xc]
ldrb r0, [r4, #0x13]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x13]
b _02261E88
_02261DC4:
add r1, sp, #0
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #0
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
add r3, sp, #0
2021-06-27 18:48:56 +00:00
mov r2, #0
2021-06-26 18:23:42 +00:00
ldrsh r2, [r3, r2]
2021-06-27 18:48:56 +00:00
mov r1, #2
2021-06-26 18:23:42 +00:00
ldrsh r1, [r3, r1]
2021-06-27 18:48:56 +00:00
sub r2, #0x20
lsl r2, r2, #0x10
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #0x21
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #1
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-27 18:48:56 +00:00
ldr r0, _02261EB0 ; =0x00000593
2021-08-13 18:03:14 +00:00
bl PlaySE
2021-06-26 18:23:42 +00:00
ldrb r1, [r4, #0x12]
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
lsl r2, r1, #1
2021-12-02 13:51:20 +00:00
ldr r1, _02261EB4 ; =ov93_02262C7A
2021-06-26 18:23:42 +00:00
ldrh r1, [r1, r2]
2021-06-27 18:48:56 +00:00
add r1, r1, #2
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-27 18:48:56 +00:00
mov r0, #8
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x14]
ldrb r0, [r4, #0x13]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x13]
b _02261E88
_02261E20:
ldrb r0, [r4, #0x14]
2021-06-27 18:48:56 +00:00
sub r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x14]
ldrb r0, [r4, #0x14]
cmp r0, #3
bne _02261E36
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
lsl r1, r1, #0xe
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_TickSpriteAnimationNFrames
2021-06-26 18:23:42 +00:00
_02261E36:
ldrb r0, [r4, #0x14]
cmp r0, #0
bne _02261E88
ldr r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldrb r1, [r4, #0x12]
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
lsl r2, r1, #1
2021-12-02 13:51:20 +00:00
ldr r1, _02261EB4 ; =ov93_02262C7A
2021-06-26 18:23:42 +00:00
ldrh r1, [r1, r2]
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldrb r0, [r4, #0x13]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x13]
b _02261E88
_02261E5A:
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
ldr r1, [r4, #0xc]
2021-06-27 18:48:56 +00:00
lsl r0, r0, #0xe
sub r1, r1, r0
asr r0, r1, #0xb
lsr r0, r0, #0x14
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r1, [r4, #0xc]
2021-06-27 18:48:56 +00:00
asr r1, r0, #0xc
mov r0, #0x10
2021-06-26 18:23:42 +00:00
ldrsh r0, [r4, r0]
2021-06-27 18:48:56 +00:00
sub r0, #0x60
2021-06-26 18:23:42 +00:00
cmp r1, r0
bgt _02261E88
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
strb r0, [r4, #0x13]
add sp, #4
strb r0, [r4, #0x15]
pop {r3, r4, pc}
_02261E88:
ldr r2, [r4, #8]
ldr r3, [r4, #0xc]
2021-06-27 18:48:56 +00:00
asr r1, r2, #0xb
lsr r1, r1, #0x14
add r1, r2, r1
asr r2, r3, #0xb
lsr r2, r2, #0x14
add r2, r3, r2
lsl r1, r1, #4
lsl r2, r2, #4
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
asr r1, r1, #0x10
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
add sp, #4
pop {r3, r4, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02261EB0: .word 0x00000593
2021-12-02 13:51:20 +00:00
_02261EB4: .word ov93_02262C7A
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261D3C
thumb_func_start ov93_02261EB8
2021-06-27 18:48:56 +00:00
ov93_02261EB8: ; 0x02261EB8
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
sub sp, #0x70
str r0, [sp, #0x18]
str r1, [sp, #0x1c]
str r2, [sp, #0x20]
ldr r0, [sp, #0x8c]
ldr r1, [sp, #0x88]
2021-06-27 18:48:56 +00:00
mov r2, #0
add r5, r3, #0
2021-06-26 18:23:42 +00:00
ldr r4, [sp, #0x9c]
2022-03-10 15:29:01 +00:00
bl FontID_String_GetWidthMultiline
2021-06-27 18:48:56 +00:00
add r7, r0, #0
asr r1, r7, #2
lsr r1, r1, #0x1d
add r1, r7, r1
asr r6, r1, #3
mov r1, #8
2021-08-19 18:13:23 +00:00
bl FX_ModS32
2021-06-26 18:23:42 +00:00
cmp r0, #0
beq _02261EE6
2021-06-27 18:48:56 +00:00
add r6, r6, #1
2021-06-26 18:23:42 +00:00
_02261EE6:
add r0, sp, #0x30
2021-09-16 00:11:18 +00:00
bl InitWindow
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
ldr r3, [sp, #0xb0]
str r0, [sp]
str r0, [sp, #4]
2021-06-27 18:48:56 +00:00
lsl r2, r6, #0x18
lsl r3, r3, #0x18
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0x18]
add r1, sp, #0x30
2021-06-27 18:48:56 +00:00
lsr r2, r2, #0x18
lsr r3, r3, #0x18
bl AddTextWindowTopLeftCorner
2021-06-27 18:48:56 +00:00
mov r3, #0
2021-06-26 18:23:42 +00:00
str r3, [sp]
2021-06-27 18:48:56 +00:00
mov r0, #0xff
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
ldr r0, [sp, #0x90]
ldr r1, [sp, #0x8c]
str r0, [sp, #8]
str r3, [sp, #0xc]
str r3, [sp, #0x10]
ldr r2, [sp, #0x88]
add r0, sp, #0x30
str r3, [sp, #0x14]
bl AddTextPrinterParameterizedWithColorAndSpacing
2021-06-26 18:23:42 +00:00
add r0, sp, #0x30
2021-06-27 18:48:56 +00:00
mov r1, #1
mov r2, #0x75
2021-06-27 19:11:25 +00:00
bl sub_02013688
2021-06-27 18:48:56 +00:00
mov r1, #1
add r2, r1, #0
2021-06-26 18:23:42 +00:00
add r3, sp, #0x24
2021-06-27 19:11:25 +00:00
bl sub_02021AC8
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0xa4]
cmp r0, #1
bne _02261F42
2021-06-27 18:48:56 +00:00
lsr r0, r7, #0x1f
add r0, r7, r0
asr r0, r0, #1
sub r4, r4, r0
2021-06-26 18:23:42 +00:00
_02261F42:
ldr r0, [sp, #0x20]
str r0, [sp, #0x40]
add r0, sp, #0x30
str r0, [sp, #0x44]
ldr r0, [sp, #0x1c]
2021-06-27 19:11:25 +00:00
bl sub_0200E2B0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x48]
ldr r0, [sp, #0x1c]
ldr r1, [sp, #0x98]
2024-10-02 00:12:42 +00:00
bl GfGfxHandler_GetPlttProxy
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x4c]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x50]
ldr r0, [sp, #0x28]
str r4, [sp, #0x58]
str r0, [sp, #0x54]
ldr r0, [sp, #0xa0]
str r0, [sp, #0x5c]
ldr r0, [sp, #0xa8]
str r0, [sp, #0x60]
ldr r0, [sp, #0xac]
str r0, [sp, #0x64]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x68]
2021-06-27 18:48:56 +00:00
mov r0, #0x75
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x6c]
add r0, sp, #0x40
2021-06-27 19:11:25 +00:00
bl sub_020135D8
2021-06-26 18:23:42 +00:00
ldr r1, [sp, #0x94]
2021-06-27 18:48:56 +00:00
add r6, r0, #0
2021-06-26 18:23:42 +00:00
cmp r1, #0
beq _02261F8C
2021-06-27 19:11:25 +00:00
bl sub_020138B0
2021-06-26 18:23:42 +00:00
_02261F8C:
ldr r2, [sp, #0xa0]
2021-06-27 18:48:56 +00:00
add r0, r6, #0
add r1, r4, #0
2021-06-27 19:11:25 +00:00
bl sub_020136B4
2021-06-26 18:23:42 +00:00
add r0, sp, #0x30
2021-08-13 18:03:14 +00:00
bl RemoveWindow
2021-06-26 18:23:42 +00:00
str r6, [r5]
add r3, sp, #0x24
2021-06-27 18:48:56 +00:00
ldmia r3!, {r0, r1}
add r2, r5, #4
stmia r2!, {r0, r1}
2021-06-26 18:23:42 +00:00
ldr r0, [r3]
str r0, [r2]
strh r7, [r5, #0x10]
add sp, #0x70
pop {r3, r4, r5, r6, r7, pc}
thumb_func_end ov93_02261EB8
thumb_func_start ov93_02261FB0
2021-06-27 18:48:56 +00:00
ov93_02261FB0: ; 0x02261FB0
2021-06-26 18:23:42 +00:00
push {r4, lr}
2021-06-27 18:48:56 +00:00
add r4, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 19:11:25 +00:00
bl sub_02013660
2021-06-27 18:48:56 +00:00
add r0, r4, #4
2021-06-27 19:11:25 +00:00
bl sub_02021B5C
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [r4]
pop {r4, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261FB0
thumb_func_start ov93_02261FC8
2021-06-27 18:48:56 +00:00
ov93_02261FC8: ; 0x02261FC8
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, r7, lr}
sub sp, #0xc
str r0, [sp]
2021-06-27 18:48:56 +00:00
mov r7, #0
add r5, r0, #0
2021-06-26 18:23:42 +00:00
_02261FD2:
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r1, r0, r7
mov r0, #6
lsl r0, r0, #6
2021-06-26 18:23:42 +00:00
ldrb r1, [r1, r0]
cmp r1, #0x40
bge _02261FEA
2021-06-27 18:48:56 +00:00
mov r0, #0x40
sub r6, r0, r1
add r4, r6, #0
sub r4, #0x50
2021-06-26 18:23:42 +00:00
b _02262004
_02261FEA:
cmp r1, #0x80
bge _02261FFA
2021-06-27 18:48:56 +00:00
mov r0, #0xa0
sub r4, r0, r1
sub r4, #0x10
add r6, r4, #0
sub r6, #0x50
2021-06-26 18:23:42 +00:00
b _02262004
_02261FFA:
2021-06-27 18:48:56 +00:00
sub r1, #0xa0
mov r0, #0x40
sub r6, r0, r1
add r4, r6, #0
sub r4, #0x50
2021-06-26 18:23:42 +00:00
_02262004:
ldr r0, [r5, #4]
add r1, sp, #8
add r2, sp, #4
2021-06-27 19:11:25 +00:00
bl sub_02013794
2021-06-27 18:48:56 +00:00
mov r2, #0xa8
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #4]
ldr r1, [sp, #8]
2021-06-27 18:48:56 +00:00
sub r2, r2, r6
2021-06-27 19:11:25 +00:00
bl sub_020136B4
2021-06-27 18:48:56 +00:00
mov r2, #0xa8
2021-06-26 18:23:42 +00:00
ldr r0, [r5, #0x18]
ldr r1, [sp, #8]
2021-06-27 18:48:56 +00:00
sub r2, r2, r4
2021-06-27 19:11:25 +00:00
bl sub_020136B4
2021-06-27 18:48:56 +00:00
add r7, r7, #1
add r5, #0x28
2021-06-26 18:23:42 +00:00
cmp r7, #6
blt _02261FD2
add sp, #0xc
pop {r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02261FC8
thumb_func_start ov93_02262034
2021-06-27 18:48:56 +00:00
ov93_02262034: ; 0x02262034
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
ldr r0, _02262094 ; =0x0000019E
add r4, r1, #0
2021-06-26 18:23:42 +00:00
ldrsb r1, [r4, r0]
cmp r1, #0
ble _02262046
2021-06-27 18:48:56 +00:00
sub r1, r1, #1
2021-06-26 18:23:42 +00:00
strb r1, [r4, r0]
pop {r3, r4, r5, pc}
_02262046:
2021-06-27 18:48:56 +00:00
add r0, r0, #2
2021-06-26 18:23:42 +00:00
ldrb r0, [r4, r0]
cmp r0, #0
beq _02262054
cmp r0, #1
beq _02262070
pop {r3, r4, r5, pc}
_02262054:
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_02262108
cmp r0, #1
bne _02262066
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_022620D4
pop {r3, r4, r5, pc}
_02262066:
2021-06-27 18:48:56 +00:00
mov r0, #0x1a
lsl r0, r0, #4
2021-06-26 18:23:42 +00:00
ldrb r1, [r4, r0]
2021-06-27 18:48:56 +00:00
add r1, r1, #1
2021-06-26 18:23:42 +00:00
strb r1, [r4, r0]
_02262070:
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_02262130
2021-06-27 18:48:56 +00:00
add r5, r0, #0
add r0, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_02261FC8
cmp r5, #1
bne _02262092
2021-06-27 18:48:56 +00:00
ldr r0, _02262094 ; =0x0000019E
mov r1, #0xf
2021-06-26 18:23:42 +00:00
strb r1, [r4, r0]
2021-06-27 18:48:56 +00:00
add r1, r0, #2
2021-06-26 18:23:42 +00:00
ldrb r1, [r4, r1]
2021-06-27 18:48:56 +00:00
add r0, r0, #2
sub r1, r1, #1
2021-06-26 18:23:42 +00:00
strb r1, [r4, r0]
_02262092:
pop {r3, r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02262094: .word 0x0000019E
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262034
thumb_func_start ov93_02262098
2021-06-27 18:48:56 +00:00
ov93_02262098: ; 0x02262098
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
ldr r5, _022620D0 ; =0x000186A0
add r7, r0, #0
add r6, r1, #0
mov r4, #0
2021-06-26 18:23:42 +00:00
_022620A2:
2021-06-27 18:48:56 +00:00
add r0, r6, #0
add r1, r5, #0
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r3, r0, #0
mov r0, #0x63
lsl r2, r3, #4
add r1, r7, r4
lsl r0, r0, #2
2021-06-26 18:23:42 +00:00
strb r2, [r1, r0]
2021-06-27 18:48:56 +00:00
add r0, r3, #0
mul r0, r5
sub r6, r6, r0
add r0, r5, #0
mov r1, #0xa
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, r0, #0
2021-06-26 18:23:42 +00:00
cmp r4, #6
blt _022620A2
pop {r3, r4, r5, r6, r7, pc}
nop
2021-06-27 18:48:56 +00:00
_022620D0: .word 0x000186A0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262098
thumb_func_start ov93_022620D4
2021-06-27 18:48:56 +00:00
ov93_022620D4: ; 0x022620D4
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, r7}
2021-06-27 18:48:56 +00:00
mov r1, #0x66
mov r5, #0
lsl r1, r1, #2
add r3, r5, #0
sub r2, r1, #6
2021-06-26 18:23:42 +00:00
_022620E0:
2021-06-27 18:48:56 +00:00
mov r6, #0x63
add r4, r0, r5
lsl r6, r6, #2
2021-06-26 18:23:42 +00:00
ldrb r7, [r4, r6]
2021-06-27 18:48:56 +00:00
sub r6, r6, #6
2021-06-26 18:23:42 +00:00
strb r7, [r4, r6]
2021-06-27 18:48:56 +00:00
mov r6, #5
sub r6, r6, r5
lsl r6, r6, #1
2021-06-26 18:23:42 +00:00
strb r6, [r4, r1]
2021-06-27 18:48:56 +00:00
add r5, r5, #1
2021-06-26 18:23:42 +00:00
strb r3, [r4, r2]
cmp r5, #6
blt _022620E0
2021-06-27 18:48:56 +00:00
ldr r1, _02262104 ; =0x0000019F
2021-06-26 18:23:42 +00:00
strb r3, [r0, r1]
pop {r4, r5, r6, r7}
bx lr
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02262104: .word 0x0000019F
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022620D4
thumb_func_start ov93_02262108
2021-06-27 18:48:56 +00:00
ov93_02262108: ; 0x02262108
2021-06-26 18:23:42 +00:00
push {r4, r5}
2021-06-27 18:48:56 +00:00
mov r1, #6
lsl r1, r1, #6
mov r5, #0
add r2, r1, #6
2021-06-26 18:23:42 +00:00
_02262112:
2021-06-27 18:48:56 +00:00
add r3, r0, r5
2021-06-26 18:23:42 +00:00
ldrb r4, [r3, r1]
ldrb r3, [r3, r2]
cmp r4, r3
beq _02262122
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r4, r5}
bx lr
_02262122:
2021-06-27 18:48:56 +00:00
add r5, r5, #1
2021-06-26 18:23:42 +00:00
cmp r5, #6
blt _02262112
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r4, r5}
bx lr
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262108
thumb_func_start ov93_02262130
2021-06-27 18:48:56 +00:00
ov93_02262130: ; 0x02262130
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r6, r0, #0
ldr r0, _02262224 ; =0x0000019F
mov r7, #5
2021-06-26 18:23:42 +00:00
ldrb r0, [r6, r0]
cmp r0, #6
bls _02262142
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, r6, r7, pc}
_02262142:
2021-06-27 18:48:56 +00:00
mov r4, #0
2021-06-26 18:23:42 +00:00
str r4, [sp]
_02262146:
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
add r5, r6, r7
2021-06-26 18:23:42 +00:00
mov ip, r0
2021-06-27 18:48:56 +00:00
mov r0, #0x66
lsl r0, r0, #2
2021-06-26 18:23:42 +00:00
ldrsb r0, [r5, r0]
cmp r0, #0
ble _0226216A
2021-06-27 18:48:56 +00:00
mov r0, #0x66
lsl r0, r0, #2
2021-06-26 18:23:42 +00:00
ldrsb r0, [r5, r0]
2021-06-27 18:48:56 +00:00
sub r1, r0, #1
mov r0, #0x66
lsl r0, r0, #2
2021-06-26 18:23:42 +00:00
strb r1, [r5, r0]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp]
b _02262216
_0226216A:
2021-06-27 18:48:56 +00:00
ldr r0, _02262228 ; =0x00000192
2021-06-26 18:23:42 +00:00
ldrb r0, [r5, r0]
cmp r0, #1
bls _02262186
2021-06-27 18:48:56 +00:00
mov r0, #6
ldr r1, _0226222C ; =0x00000186
lsl r0, r0, #6
2021-06-26 18:23:42 +00:00
ldrb r0, [r5, r0]
ldrb r1, [r5, r1]
cmp r0, r1
bne _02262186
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp]
b _02262216
_02262186:
2021-06-27 18:48:56 +00:00
mov r0, #0
mov r1, #6
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-06-27 18:48:56 +00:00
mov r0, #6
lsl r1, r1, #6
lsl r0, r0, #6
2021-06-26 18:23:42 +00:00
ldrb r2, [r5, r1]
ldrb r0, [r5, r0]
2021-06-27 18:48:56 +00:00
add r2, #0x17
2021-06-26 18:23:42 +00:00
strb r2, [r5, r1]
2021-06-27 18:48:56 +00:00
add r1, r1, #6
2021-06-26 18:23:42 +00:00
ldrb r3, [r5, r1]
2021-06-27 18:48:56 +00:00
add r1, r3, #0
add r1, #0xa0
2021-06-26 18:23:42 +00:00
cmp r0, r3
bgt _022621B0
2021-06-27 18:48:56 +00:00
mov r2, #6
lsl r2, r2, #6
2021-06-26 18:23:42 +00:00
ldrb r2, [r5, r2]
cmp r2, r3
bhs _022621BE
_022621B0:
cmp r0, r1
bgt _02262204
2021-06-27 18:48:56 +00:00
mov r0, #6
lsl r0, r0, #6
2021-06-26 18:23:42 +00:00
ldrb r0, [r5, r0]
cmp r0, r1
blt _02262204
_022621BE:
2021-06-27 18:48:56 +00:00
ldr r0, _02262228 ; =0x00000192
2021-06-26 18:23:42 +00:00
ldrb r0, [r5, r0]
cmp r0, #1
bhs _022621D2
2021-06-27 18:48:56 +00:00
ldr r0, _02262228 ; =0x00000192
2021-06-26 18:23:42 +00:00
ldrb r0, [r5, r0]
2021-06-27 18:48:56 +00:00
add r1, r0, #1
ldr r0, _02262228 ; =0x00000192
2021-06-26 18:23:42 +00:00
strb r1, [r5, r0]
b _02262204
_022621D2:
cmp r7, #5
beq _022621DC
mov r0, ip
cmp r0, #1
bne _02262204
_022621DC:
2021-06-27 18:48:56 +00:00
ldr r0, _02262228 ; =0x00000192
2021-06-26 18:23:42 +00:00
ldrb r0, [r5, r0]
2021-06-27 18:48:56 +00:00
add r1, r0, #1
ldr r0, _02262228 ; =0x00000192
2021-06-26 18:23:42 +00:00
strb r1, [r5, r0]
2021-06-27 18:48:56 +00:00
sub r0, #0xc
2021-06-26 18:23:42 +00:00
ldrb r1, [r5, r0]
2021-06-27 18:48:56 +00:00
mov r0, #6
lsl r0, r0, #6
2021-06-26 18:23:42 +00:00
strb r1, [r5, r0]
2021-06-27 18:48:56 +00:00
add r0, #0x1f
2021-06-26 18:23:42 +00:00
ldrb r0, [r6, r0]
2021-06-27 18:48:56 +00:00
add r1, r0, #1
ldr r0, _02262224 ; =0x0000019F
2021-06-26 18:23:42 +00:00
strb r1, [r6, r0]
ldrb r0, [r6, r0]
cmp r0, #6
blo _02262204
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, r6, r7, pc}
_02262204:
2021-06-27 18:48:56 +00:00
mov r0, #6
lsl r0, r0, #6
2021-06-26 18:23:42 +00:00
ldrb r0, [r5, r0]
2021-06-27 18:48:56 +00:00
mov r1, #0xa0
2021-08-11 14:29:41 +00:00
bl _s32_div_f
2021-06-27 18:48:56 +00:00
mov r0, #6
lsl r0, r0, #6
2021-06-26 18:23:42 +00:00
strb r1, [r5, r0]
_02262216:
2021-06-27 18:48:56 +00:00
add r4, r4, #1
sub r7, r7, #1
2021-06-26 18:23:42 +00:00
cmp r4, #6
blt _02262146
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, r6, r7, pc}
nop
2021-06-27 18:48:56 +00:00
_02262224: .word 0x0000019F
_02262228: .word 0x00000192
_0226222C: .word 0x00000186
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262130
thumb_func_start ov93_02262230
2021-06-27 18:48:56 +00:00
ov93_02262230: ; 0x02262230
2021-06-26 18:23:42 +00:00
push {r4, lr}
2021-06-27 18:48:56 +00:00
add r1, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r1, #0x24]
ldr r1, [r1, #0x28]
2021-12-02 13:51:20 +00:00
ldr r2, _0226224C ; =ov93_02262F6C
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
add r4, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
pop {r4, pc}
nop
2021-12-02 13:51:20 +00:00
_0226224C: .word ov93_02262F6C
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262230
thumb_func_start ov93_02262250
2021-06-27 18:48:56 +00:00
ov93_02262250: ; 0x02262250
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
sub sp, #0x40
2021-06-27 18:48:56 +00:00
add r7, r0, #0
ldr r0, _022622FC ; =0x00003848
add r6, r7, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r7, r0]
2021-06-27 18:48:56 +00:00
add r4, r7, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x2c]
2021-06-27 18:48:56 +00:00
mov r0, #5
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x30]
2021-06-27 18:48:56 +00:00
ldr r0, _02262300 ; =0x000016B0
add r6, #0x64
add r5, r7, r0
add r4, #0xc8
add r5, #0x64
2021-06-26 18:23:42 +00:00
_0226226E:
2021-06-27 18:48:56 +00:00
ldr r0, _02262300 ; =0x000016B0
2021-06-26 18:23:42 +00:00
ldr r0, [r6, r0]
cmp r0, #0
beq _0226227A
bl GF_AssertFail
2021-06-26 18:23:42 +00:00
_0226227A:
ldr r0, [sp, #0x2c]
2021-06-27 18:48:56 +00:00
mov r1, #0xa
bl _u32_div_f
2021-06-27 18:48:56 +00:00
add r0, r7, #0
add r0, #0x80
2021-06-26 18:23:42 +00:00
ldr r0, [r0]
2021-06-27 18:48:56 +00:00
add r1, r1, #4
2021-08-14 00:11:40 +00:00
bl NewString_ReadMsgData
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x34]
ldr r0, [sp, #0x2c]
2021-06-27 18:48:56 +00:00
mov r1, #0xa
bl _u32_div_f
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x2c]
2021-06-27 18:48:56 +00:00
ldr r0, _02262304 ; =0x000015AC
2021-06-26 18:23:42 +00:00
add r1, sp, #0x3c
ldr r0, [r4, r0]
add r2, sp, #0x38
2021-06-27 19:11:25 +00:00
bl sub_02013794
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0x34]
2021-06-27 18:48:56 +00:00
add r2, r7, #0
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #4]
2021-06-27 18:48:56 +00:00
ldr r0, _02262308 ; =0x000E0F00
add r2, #0x90
2021-06-26 18:23:42 +00:00
str r0, [sp, #8]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0xc]
2021-06-27 18:48:56 +00:00
ldr r0, _0226230C ; =0x00002713
add r3, r5, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x10]
ldr r0, [sp, #0x3c]
str r0, [sp, #0x14]
2021-06-27 18:48:56 +00:00
mov r0, #0xa8
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x18]
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x1c]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x20]
2021-06-27 18:48:56 +00:00
mov r0, #0xc
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x24]
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x28]
ldr r0, [r7, #0x2c]
ldr r1, [r7, #0x28]
ldr r2, [r2]
bl ov93_02261EB8
ldr r0, [sp, #0x34]
2023-06-04 17:27:11 +00:00
bl String_Delete
2021-06-26 18:23:42 +00:00
ldr r0, [sp, #0x30]
2021-06-27 18:48:56 +00:00
sub r6, #0x14
sub r4, #0x28
sub r5, #0x14
sub r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp, #0x30]
bpl _0226226E
add sp, #0x40
pop {r3, r4, r5, r6, r7, pc}
nop
2021-06-27 18:48:56 +00:00
_022622FC: .word 0x00003848
_02262300: .word 0x000016B0
_02262304: .word 0x000015AC
_02262308: .word 0x000E0F00
_0226230C: .word 0x00002713
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262250
thumb_func_start ov93_02262310
2021-06-27 18:48:56 +00:00
ov93_02262310: ; 0x02262310
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r5, r0, #0
ldr r0, _02262334 ; =0x000016B0
mov r6, #0
add r4, r5, r0
add r7, r0, #0
2021-06-26 18:23:42 +00:00
_0226231C:
ldr r0, [r5, r7]
cmp r0, #0
beq _02262328
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
bl ov93_02261FB0
_02262328:
2021-06-27 18:48:56 +00:00
add r6, r6, #1
add r5, #0x14
add r4, #0x14
2021-06-26 18:23:42 +00:00
cmp r6, #6
blt _0226231C
pop {r3, r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02262334: .word 0x000016B0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262310
thumb_func_start ov93_02262338
2021-06-27 18:48:56 +00:00
ov93_02262338: ; 0x02262338
2024-04-11 01:23:42 +00:00
ldr r3, _02262340 ; =UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
add r0, r1, #0
2021-06-26 18:23:42 +00:00
bx r3
nop
2024-04-11 01:23:42 +00:00
_02262340: .word UnkImageStruct_Delete
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262338
thumb_func_start ov93_02262344
2021-06-27 18:48:56 +00:00
ov93_02262344: ; 0x02262344
2021-06-26 18:23:42 +00:00
push {r4, lr}
2021-06-27 18:48:56 +00:00
add r1, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r1, #0x24]
ldr r1, [r1, #0x28]
2021-12-02 13:51:20 +00:00
ldr r2, _02262364 ; =ov93_02262FA0
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
add r4, r0, #0
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
pop {r4, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-02 13:51:20 +00:00
_02262364: .word ov93_02262FA0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262344
thumb_func_start ov93_02262368
2021-06-27 18:48:56 +00:00
ov93_02262368: ; 0x02262368
2024-04-11 01:23:42 +00:00
ldr r3, _02262370 ; =UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
add r0, r1, #0
2021-06-26 18:23:42 +00:00
bx r3
nop
2024-04-11 01:23:42 +00:00
_02262370: .word UnkImageStruct_Delete
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262368
thumb_func_start ov93_02262374
2021-06-27 18:48:56 +00:00
ov93_02262374: ; 0x02262374
2021-06-26 18:23:42 +00:00
push {r4, lr}
2021-06-27 18:48:56 +00:00
add r4, r1, #0
mov r0, #4
2021-06-26 18:23:42 +00:00
ldrsh r1, [r4, r0]
cmp r1, #0xa
bhi _0226243E
2021-06-27 18:48:56 +00:00
add r1, r1, r1
2021-06-26 18:23:42 +00:00
add r1, pc
ldrh r1, [r1, #6]
2021-06-27 18:48:56 +00:00
lsl r1, r1, #0x10
asr r1, r1, #0x10
2021-06-26 18:23:42 +00:00
add pc, r1
2021-06-27 18:48:56 +00:00
_0226238C: ; jump table
.short _022623A2 - _0226238C - 2 ; case 0
.short _022623C2 - _0226238C - 2 ; case 1
.short _022623EA - _0226238C - 2 ; case 2
.short _0226240C - _0226238C - 2 ; case 3
.short _0226241E - _0226238C - 2 ; case 4
.short _022623A2 - _0226238C - 2 ; case 5
.short _022623C2 - _0226238C - 2 ; case 6
.short _022623EA - _0226238C - 2 ; case 7
.short _0226240C - _0226238C - 2 ; case 8
.short _0226241E - _0226238C - 2 ; case 9
.short _0226243A - _0226238C - 2 ; case 10
2021-06-26 18:23:42 +00:00
_022623A2:
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
mov r1, #0x80
mov r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
mov r1, #1
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-27 18:48:56 +00:00
mov r0, #4
2021-06-26 18:23:42 +00:00
ldrsh r0, [r4, r0]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r0, [r4, #4]
b _0226243E
_022623C2:
2021-06-27 18:48:56 +00:00
mov r1, #6
2021-06-26 18:23:42 +00:00
ldrsh r2, [r4, r1]
2021-06-27 18:48:56 +00:00
add r2, r2, #1
2021-06-26 18:23:42 +00:00
strh r2, [r4, #6]
ldrsh r1, [r4, r1]
cmp r1, #0xf
ble _0226243E
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
strh r1, [r4, #6]
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-06-26 18:23:42 +00:00
str r1, [r4, #0x14]
str r1, [r4, #0x18]
2021-06-27 18:48:56 +00:00
mov r1, #0x80
2021-06-26 18:23:42 +00:00
str r1, [r4, #0xc]
2021-06-27 18:48:56 +00:00
mov r1, #0x20
2021-06-26 18:23:42 +00:00
str r1, [r4, #0x10]
ldrsh r0, [r4, r0]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r0, [r4, #4]
b _0226243E
_022623EA:
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
str r1, [r4, #0x18]
ldr r0, [r4, #0x10]
2021-06-27 18:48:56 +00:00
mov r2, #6
add r0, r0, #6
2021-06-26 18:23:42 +00:00
str r0, [r4, #0x10]
ldr r0, [r4]
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_AddSpritePositionXY
2021-06-26 18:23:42 +00:00
ldr r0, [r4, #0x10]
cmp r0, #0x60
ble _0226243E
2021-06-27 18:48:56 +00:00
mov r0, #4
2021-06-26 18:23:42 +00:00
ldrsh r0, [r4, r0]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r0, [r4, #4]
b _0226243E
_0226240C:
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
str r1, [r4, #0x14]
ldr r0, [r4]
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-27 18:48:56 +00:00
mov r0, #4
2021-06-26 18:23:42 +00:00
ldrsh r0, [r4, r0]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r0, [r4, #4]
_0226241E:
2021-06-27 18:48:56 +00:00
mov r0, #6
2021-06-26 18:23:42 +00:00
ldrsh r1, [r4, r0]
2021-06-27 18:48:56 +00:00
add r1, r1, #1
2021-06-26 18:23:42 +00:00
strh r1, [r4, #6]
ldrsh r0, [r4, r0]
cmp r0, #0x1e
ble _0226243E
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
strh r0, [r4, #6]
2021-06-27 18:48:56 +00:00
mov r0, #4
2021-06-26 18:23:42 +00:00
ldrsh r0, [r4, r0]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strh r0, [r4, #4]
b _0226243E
_0226243A:
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r4, pc}
_0226243E:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r4, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262374
thumb_func_start ov93_02262444
2021-06-27 18:48:56 +00:00
ov93_02262444: ; 0x02262444
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r7, r0, #0
add r5, r1, #0
mov r6, #0
2021-06-26 18:23:42 +00:00
_0226244C:
ldr r0, [r7, #0x24]
ldr r1, [r7, #0x28]
2021-12-02 13:51:20 +00:00
ldr r2, _02262480 ; =ov93_02262F38
2023-09-03 20:57:28 +00:00
bl SpriteRenderer_LoadResourcesAndCreateSprite
2021-06-27 18:48:56 +00:00
add r4, r0, #0
mov r1, #0x1b
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-27 18:48:56 +00:00
add r0, r4, #0
mov r1, #1
2021-06-27 19:11:25 +00:00
bl sub_0200E0FC
2021-06-27 18:48:56 +00:00
add r0, r4, #0
mov r1, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-27 18:48:56 +00:00
add r6, r6, #1
stmia r5!, {r4}
2021-06-26 18:23:42 +00:00
cmp r6, #2
blt _0226244C
pop {r3, r4, r5, r6, r7, pc}
nop
2021-12-02 13:51:20 +00:00
_02262480: .word ov93_02262F38
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262444
thumb_func_start ov93_02262484
2021-06-27 18:48:56 +00:00
ov93_02262484: ; 0x02262484
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r5, r1, #0
mov r4, #0
2021-06-26 18:23:42 +00:00
_0226248A:
ldr r0, [r5]
2024-04-11 01:23:42 +00:00
bl UnkImageStruct_Delete
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, r5, #4
2021-06-26 18:23:42 +00:00
cmp r4, #2
blt _0226248A
pop {r3, r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262484
thumb_func_start ov93_0226249C
2021-06-27 18:48:56 +00:00
ov93_0226249C: ; 0x0226249C
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
sub sp, #8
ldr r0, [r1]
add r1, sp, #4
2021-06-27 18:48:56 +00:00
mov r3, #0x16
2021-06-26 18:23:42 +00:00
str r2, [sp]
2021-06-27 18:48:56 +00:00
add r1, #2
2021-06-26 18:23:42 +00:00
add r2, sp, #4
2021-06-27 18:48:56 +00:00
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_GetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r5, [sp]
2021-06-27 18:48:56 +00:00
mov r4, #0
2021-06-26 18:23:42 +00:00
add r6, sp, #4
2021-06-27 18:48:56 +00:00
mov r7, #1
2021-06-26 18:23:42 +00:00
_022624BA:
2021-06-27 18:48:56 +00:00
mov r2, #0
2021-06-26 18:23:42 +00:00
ldrsh r2, [r6, r2]
2021-06-27 18:48:56 +00:00
mov r1, #2
mov r3, #0x16
add r2, #0x1c
lsl r2, r2, #0x10
2021-06-26 18:23:42 +00:00
ldrsh r1, [r6, r1]
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
asr r2, r2, #0x10
lsl r3, r3, #0x10
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_SetSpritePositionXY_CustomScreenYOffset
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
mov r1, #0x1b
2023-09-02 16:43:21 +00:00
bl UnkImageStruct_SetSpriteAnimSeqNo
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-06-27 19:11:25 +00:00
bl sub_0200E0FC
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
mov r1, #1
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
bl LCRandom
2021-06-27 18:48:56 +00:00
lsr r1, r0, #0x1f
lsl r2, r0, #0x14
sub r2, r2, r1
mov r0, #0x14
ror r2, r0
mov r0, #1
add r1, r1, r2
lsl r0, r0, #0xc
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r5, #8]
bl LCRandom
2021-06-27 18:48:56 +00:00
lsr r1, r0, #0x1f
lsl r2, r0, #0x16
sub r2, r2, r1
mov r0, #0x16
ror r2, r0
mov r0, #1
add r1, r1, r2
lsl r0, r0, #0xa
add r0, r1, r0
2021-06-26 18:23:42 +00:00
str r0, [r5, #0x10]
2021-06-27 18:48:56 +00:00
add r0, r4, #0
2021-06-26 18:23:42 +00:00
tst r0, r7
beq _0226252A
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
ldr r1, [r5, #8]
2021-06-27 18:48:56 +00:00
mvn r0, r0
mul r0, r1
2021-06-26 18:23:42 +00:00
str r0, [r5, #8]
_0226252A:
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, r5, #4
2021-06-26 18:23:42 +00:00
cmp r4, #2
blt _022624BA
ldr r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #0
2021-06-26 18:23:42 +00:00
strb r1, [r0, #0x19]
2021-06-27 18:48:56 +00:00
mov r1, #1
2021-06-26 18:23:42 +00:00
strb r1, [r0, #0x18]
add sp, #8
pop {r3, r4, r5, r6, r7, pc}
thumb_func_end ov93_0226249C
thumb_func_start ov93_02262540
2021-06-27 18:48:56 +00:00
ov93_02262540: ; 0x02262540
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, r7, lr}
2021-06-27 18:48:56 +00:00
add r6, r2, #0
2021-06-26 18:23:42 +00:00
ldrb r0, [r6, #0x18]
cmp r0, #0
beq _02262594
cmp r0, #1
bne _02262594
2021-06-27 18:48:56 +00:00
mov r4, #0
add r5, r6, #0
2021-06-26 18:23:42 +00:00
_02262552:
ldr r2, [r5, #0x10]
ldr r0, [r5]
ldr r1, [r5, #8]
2021-06-27 18:48:56 +00:00
neg r2, r2
2023-09-04 01:42:26 +00:00
bl UnkImageStruct_AddSpritePrecisePositionXY
2021-06-26 18:23:42 +00:00
ldr r0, [r5]
ldr r0, [r0]
2023-09-02 16:43:21 +00:00
bl TickSpriteAnimation1Frame
2021-06-27 18:48:56 +00:00
add r4, r4, #1
add r5, r5, #4
2021-06-26 18:23:42 +00:00
cmp r4, #2
blt _02262552
ldrb r0, [r6, #0x19]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r6, #0x19]
ldrb r0, [r6, #0x19]
cmp r0, #8
bls _02262594
2021-06-27 18:48:56 +00:00
mov r5, #0
add r4, r6, #0
add r7, r5, #0
2021-06-26 18:23:42 +00:00
_02262580:
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r1, r7, #0
2023-09-03 20:57:28 +00:00
bl UnkImageStruct_SetSpriteVisibleFlag
2021-06-27 18:48:56 +00:00
add r5, r5, #1
add r4, r4, #4
2021-06-26 18:23:42 +00:00
cmp r5, #2
blt _02262580
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
strb r0, [r6, #0x18]
_02262594:
pop {r3, r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262540
thumb_func_start ov93_02262598
2021-06-27 18:48:56 +00:00
ov93_02262598: ; 0x02262598
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
mov r1, #0xc
mov r2, #0x75
add r5, r0, #0
bl OverlayManager_CreateAndGetData
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r2, #0xc
add r4, r0, #0
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2022-06-05 23:40:40 +00:00
bl OverlayManager_GetArgs
2021-06-26 18:23:42 +00:00
str r0, [r4]
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262598
thumb_func_start ov93_022625BC
2021-06-27 18:48:56 +00:00
ov93_022625BC: ; 0x022625BC
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r5, r1, #0
bl OverlayManager_GetData
2021-06-27 18:48:56 +00:00
add r4, r0, #0
2021-06-26 18:23:42 +00:00
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r1, r0, #0
add r1, #0x3d
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
cmp r1, #1
bne _02262642
2021-06-27 18:48:56 +00:00
add r1, r0, #0
add r1, #0x3e
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
cmp r1, #0
beq _022625E4
cmp r1, #1
beq _02262606
cmp r1, #2
b _0226261E
_022625E4:
2022-03-27 22:00:16 +00:00
bl IsPaletteFadeFinished
2021-06-26 18:23:42 +00:00
cmp r0, #1
bne _022625F0
2021-06-27 19:11:25 +00:00
bl sub_0200FB70
2021-06-26 18:23:42 +00:00
_022625F0:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-27 19:11:25 +00:00
bl sub_0200FC20
2021-06-26 18:23:42 +00:00
ldr r1, [r4]
2021-06-27 18:48:56 +00:00
add r0, r1, #0
add r0, #0x3e
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
add r1, #0x3e
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r1]
b _0226263E
_02262606:
bl ov90_02258B98
2021-06-26 18:23:42 +00:00
cmp r0, #1
bne _0226263E
ldr r1, [r4]
2021-06-27 18:48:56 +00:00
add r0, r1, #0
add r0, #0x3e
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
2021-06-27 18:48:56 +00:00
add r1, #0x3e
add r0, r0, #1
2021-06-26 18:23:42 +00:00
strb r0, [r1]
b _0226263E
_0226261E:
ldr r0, [r4, #4]
cmp r0, #0
beq _0226262C
bl ov90_02258938
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [r4, #4]
_0226262C:
ldr r0, [r4, #8]
cmp r0, #0
beq _0226263A
bl ov90_02258A04
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
_0226263A:
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, pc}
_0226263E:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, pc}
_02262642:
ldr r1, [r5]
cmp r1, #5
bhi _022626E0
2021-06-27 18:48:56 +00:00
add r1, r1, r1
2021-06-26 18:23:42 +00:00
add r1, pc
ldrh r1, [r1, #6]
2021-06-27 18:48:56 +00:00
lsl r1, r1, #0x10
asr r1, r1, #0x10
2021-06-26 18:23:42 +00:00
add pc, r1
2021-06-27 18:48:56 +00:00
_02262654: ; jump table
.short _02262660 - _02262654 - 2 ; case 0
.short _02262674 - _02262654 - 2 ; case 1
.short _02262684 - _02262654 - 2 ; case 2
.short _022626A8 - _02262654 - 2 ; case 3
.short _022626BC - _02262654 - 2 ; case 4
.short _022626E0 - _02262654 - 2 ; case 5
2021-06-26 18:23:42 +00:00
_02262660:
2021-06-27 18:48:56 +00:00
add r0, #0x31
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r0, #0
bne _0226266E
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r5]
b _022626E4
_0226266E:
2021-06-27 18:48:56 +00:00
mov r0, #3
2021-06-26 18:23:42 +00:00
str r0, [r5]
b _022626E4
_02262674:
2021-06-27 18:48:56 +00:00
mov r1, #0x75
bl ov90_0225892C
2021-06-26 18:23:42 +00:00
str r0, [r4, #4]
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r5]
b _022626E4
_02262684:
ldr r0, [r4, #4]
bl ov90_022589BC
2021-06-26 18:23:42 +00:00
cmp r0, #1
bne _022626E4
ldr r0, [r4, #4]
bl ov90_022589CC
2021-06-26 18:23:42 +00:00
ldr r1, [r4]
str r0, [r1, #0x34]
ldr r0, [r4, #4]
bl ov90_02258938
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [r4, #4]
2021-06-27 18:48:56 +00:00
mov r0, #5
2021-06-26 18:23:42 +00:00
str r0, [r5]
b _022626E4
_022626A8:
2021-06-27 18:48:56 +00:00
add r1, r0, #0
add r1, #0x10
mov r2, #0x75
bl ov90_022589F8
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
ldr r0, [r5]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r5]
b _022626E4
_022626BC:
ldr r0, [r4, #8]
bl ov90_02258AA0
2021-06-26 18:23:42 +00:00
cmp r0, #1
bne _022626E4
ldr r0, [r4, #8]
bl ov90_02258AA4
2021-06-26 18:23:42 +00:00
ldr r1, [r4]
str r0, [r1, #0x38]
ldr r0, [r4, #8]
bl ov90_02258A04
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
2021-06-27 18:48:56 +00:00
mov r0, #5
2021-06-26 18:23:42 +00:00
str r0, [r5]
b _022626E4
_022626E0:
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, pc}
_022626E4:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r3, r4, r5, pc}
thumb_func_end ov93_022625BC
thumb_func_start ov93_022626E8
2021-06-27 18:48:56 +00:00
ov93_022626E8: ; 0x022626E8
2021-06-26 18:23:42 +00:00
push {r4, lr}
2021-06-27 18:48:56 +00:00
add r4, r0, #0
bl OverlayManager_GetData
2021-06-27 18:48:56 +00:00
add r0, r4, #0
bl OverlayManager_FreeData
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r4, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022626E8
thumb_func_start ov93_022626FC
2021-06-27 18:48:56 +00:00
ov93_022626FC: ; 0x022626FC
2021-06-27 19:11:25 +00:00
ldr r3, _02262708 ; =sub_0203410C
2021-06-27 18:48:56 +00:00
add r2, r0, #0
2021-12-02 13:51:20 +00:00
ldr r0, _0226270C ; =ov93_022630E4
2021-06-27 18:48:56 +00:00
mov r1, #4
2021-06-26 18:23:42 +00:00
bx r3
nop
2021-06-27 19:11:25 +00:00
_02262708: .word sub_0203410C
2021-12-02 13:51:20 +00:00
_0226270C: .word ov93_022630E4
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022626FC
thumb_func_start ov93_02262710
2021-06-27 18:48:56 +00:00
ov93_02262710: ; 0x02262710
mov r0, #0x14
2021-06-26 18:23:42 +00:00
bx lr
thumb_func_end ov93_02262710
thumb_func_start ov93_02262714
2021-06-27 18:48:56 +00:00
ov93_02262714: ; 0x02262714
mov r0, #4
2021-06-26 18:23:42 +00:00
bx lr
thumb_func_end ov93_02262714
thumb_func_start ov93_02262718
2021-06-27 18:48:56 +00:00
ov93_02262718: ; 0x02262718
add r1, r0, #0
add r0, r3, #0
ldr r3, _02262720 ; =ov93_0225E144
2021-06-26 18:23:42 +00:00
bx r3
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02262720: .word ov93_0225E144
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262718
thumb_func_start ov93_02262724
2021-06-27 18:48:56 +00:00
ov93_02262724: ; 0x02262724
2021-06-26 18:23:42 +00:00
push {r3, lr}
2021-06-27 18:48:56 +00:00
mov r0, #0x18
mov r2, #0x14
2021-06-27 19:11:25 +00:00
bl sub_02037030
2021-06-26 18:23:42 +00:00
cmp r0, #1
bne _02262736
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, pc}
_02262736:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r3, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262724
thumb_func_start ov93_0226273C
2021-06-27 18:48:56 +00:00
ov93_0226273C: ; 0x0226273C
mov r0, #0xbf
mov r1, #1
lsl r0, r0, #6
2021-06-26 18:23:42 +00:00
str r1, [r3, r0]
bx lr
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0226273C
thumb_func_start ov93_02262748
2021-06-27 18:48:56 +00:00
ov93_02262748: ; 0x02262748
2021-06-26 18:23:42 +00:00
push {r3, lr}
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r0, #0x19
add r2, r1, #0
2021-06-27 19:11:25 +00:00
bl sub_02037030
2021-06-26 18:23:42 +00:00
cmp r0, #1
bne _0226275C
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, pc}
_0226275C:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r3, pc}
thumb_func_end ov93_02262748
thumb_func_start ov93_02262760
2021-06-27 18:48:56 +00:00
ov93_02262760: ; 0x02262760
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, lr}
2021-06-27 18:48:56 +00:00
add r4, r3, #0
2021-06-26 18:23:42 +00:00
ldr r3, [r4]
ldr r1, [r2]
2021-06-27 18:48:56 +00:00
add r5, r3, #0
add r5, #0x30
2021-06-26 18:23:42 +00:00
ldrb r5, [r5]
2021-06-27 18:48:56 +00:00
mov r2, #0
2021-06-26 18:23:42 +00:00
cmp r5, #0
ble _0226278E
_02262774:
2021-06-27 18:48:56 +00:00
add r6, r3, #0
add r6, #0x2c
2021-06-26 18:23:42 +00:00
ldrb r6, [r6]
cmp r0, r6
bne _02262786
2021-06-27 18:48:56 +00:00
lsl r0, r2, #2
add r0, r4, r0
2021-06-26 18:23:42 +00:00
str r1, [r0, #0xc]
b _0226278E
_02262786:
2021-06-27 18:48:56 +00:00
add r2, r2, #1
add r3, r3, #1
2021-06-26 18:23:42 +00:00
cmp r2, r5
blt _02262774
_0226278E:
ldr r0, [r4]
2021-06-27 18:48:56 +00:00
add r0, #0x30
2021-06-26 18:23:42 +00:00
ldrb r0, [r0]
cmp r2, r0
blt _0226279C
bl GF_AssertFail
2021-06-26 18:23:42 +00:00
_0226279C:
ldr r0, [r4, #8]
2021-06-27 18:48:56 +00:00
add r0, r0, #1
2021-06-26 18:23:42 +00:00
str r0, [r4, #8]
pop {r4, r5, r6, pc}
thumb_func_end ov93_02262760
thumb_func_start ov93_022627A4
2021-06-27 18:48:56 +00:00
ov93_022627A4: ; 0x022627A4
2021-06-26 18:23:42 +00:00
push {r3, lr}
2021-06-27 18:48:56 +00:00
mov r0, #0x64
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-06-27 18:48:56 +00:00
mov r0, #0x17
2021-06-26 18:23:42 +00:00
add r1, sp, #0
2021-06-27 18:48:56 +00:00
mov r2, #4
2021-06-27 19:11:25 +00:00
bl sub_02037030
2021-06-26 18:23:42 +00:00
cmp r0, #1
bne _022627BC
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r3, pc}
_022627BC:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r3, pc}
thumb_func_end ov93_022627A4
thumb_func_start ov93_022627C0
2021-06-27 18:48:56 +00:00
ov93_022627C0: ; 0x022627C0
2021-06-26 18:23:42 +00:00
push {r4, lr}
2021-06-27 18:48:56 +00:00
add r4, r1, #0
2021-06-26 18:23:42 +00:00
ldr r2, [r4]
2021-06-27 18:48:56 +00:00
lsl r3, r2, #2
2021-12-02 13:51:20 +00:00
ldr r2, _022627E4 ; =ov93_02263114
2021-06-26 18:23:42 +00:00
ldr r2, [r2, r3]
cmp r2, #0
beq _022627E0
2021-06-27 21:10:38 +00:00
blx r2
2021-06-27 18:48:56 +00:00
add r0, r4, #0
mov r1, #0
mov r2, #0x14
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
pop {r4, pc}
_022627E0:
2021-06-27 18:48:56 +00:00
mov r0, #0
2021-06-26 18:23:42 +00:00
pop {r4, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-12-02 13:51:20 +00:00
_022627E4: .word ov93_02263114
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022627C0
thumb_func_start ov93_022627E8
2021-06-27 18:48:56 +00:00
ov93_022627E8: ; 0x022627E8
2021-06-26 18:23:42 +00:00
push {r4, r5, lr}
sub sp, #0x14
2021-06-27 18:48:56 +00:00
add r5, r0, #0
add r4, r1, #0
2021-06-26 18:23:42 +00:00
add r0, sp, #0
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r2, #0x14
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
mov r0, #1
2021-06-26 18:23:42 +00:00
str r0, [sp]
add r2, sp, #4
2021-06-27 18:48:56 +00:00
ldmia r4!, {r0, r1}
stmia r2!, {r0, r1}
ldmia r4!, {r0, r1}
stmia r2!, {r0, r1}
add r0, r5, #0
2021-06-26 18:23:42 +00:00
add r1, sp, #0
bl ov93_0225E230
add sp, #0x14
pop {r4, r5, pc}
thumb_func_end ov93_022627E8
thumb_func_start ov93_02262814
2021-06-27 18:48:56 +00:00
ov93_02262814: ; 0x02262814
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r4, r1, #0
add r5, r0, #0
2021-06-27 19:11:25 +00:00
bl sub_0203769C
2021-06-26 18:23:42 +00:00
ldrb r1, [r4, #4]
cmp r1, r0
beq _0226282C
2021-06-27 18:48:56 +00:00
add r0, r5, #0
add r1, r4, #4
2021-06-26 18:23:42 +00:00
bl ov93_0225FEC4
_0226282C:
pop {r3, r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262814
thumb_func_start ov93_02262830
2021-06-27 18:48:56 +00:00
ov93_02262830: ; 0x02262830
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, lr}
sub sp, #0x14
2021-06-27 18:48:56 +00:00
add r6, r0, #0
add r5, r1, #0
add r4, r2, #0
2021-06-26 18:23:42 +00:00
add r0, sp, #0
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r2, #0x14
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
mov r0, #2
2021-06-26 18:23:42 +00:00
str r0, [sp]
add r0, sp, #0
strh r5, [r0, #4]
2021-06-27 18:48:56 +00:00
mov r1, #5
2021-06-26 18:23:42 +00:00
strb r1, [r0, #6]
strb r4, [r0, #7]
2021-06-27 18:48:56 +00:00
add r0, r6, #0
2021-06-26 18:23:42 +00:00
add r1, sp, #0
bl ov93_0225E230
add sp, #0x14
pop {r3, r4, r5, r6, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262830
thumb_func_start ov93_02262860
2021-06-27 18:48:56 +00:00
ov93_02262860: ; 0x02262860
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r4, r1, #0
ldr r1, _02262880 ; =0x00002FD0
add r5, r0, #0
2021-06-26 18:23:42 +00:00
ldr r2, [r5, r1]
2021-06-27 18:48:56 +00:00
add r2, r2, #1
2021-06-26 18:23:42 +00:00
str r2, [r5, r1]
bl ov93_02260908
ldrb r1, [r4, #6]
ldrb r2, [r4, #7]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225E48C
pop {r3, r4, r5, pc}
nop
2021-06-27 18:48:56 +00:00
_02262880: .word 0x00002FD0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262860
thumb_func_start ov93_02262884
2021-06-27 18:48:56 +00:00
ov93_02262884: ; 0x02262884
2021-06-26 18:23:42 +00:00
push {r4, r5, r6, r7, lr}
sub sp, #0x14
2021-06-27 18:48:56 +00:00
add r7, r0, #0
add r5, r1, #0
add r4, r2, #0
2021-06-26 18:23:42 +00:00
add r0, sp, #0
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r2, #0x14
add r6, r3, #0
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
mov r0, #3
2021-06-26 18:23:42 +00:00
str r0, [sp]
add r0, sp, #0
strh r5, [r0, #4]
strb r4, [r0, #6]
2021-06-27 18:48:56 +00:00
mov r1, #4
2021-06-26 18:23:42 +00:00
strb r1, [r0, #7]
strb r6, [r0, #8]
2021-06-27 18:48:56 +00:00
add r0, r7, #0
2021-06-26 18:23:42 +00:00
add r1, sp, #0
bl ov93_0225E230
add sp, #0x14
pop {r4, r5, r6, r7, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262884
thumb_func_start ov93_022628B8
2021-06-27 18:48:56 +00:00
ov93_022628B8: ; 0x022628B8
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, lr}
2021-06-27 18:48:56 +00:00
add r4, r1, #0
2021-06-26 18:23:42 +00:00
ldrh r1, [r4, #4]
2021-06-27 18:48:56 +00:00
add r5, r0, #0
ldr r0, _022628E8 ; =0x00002FC8
ldr r3, _022628EC ; =0x00001428
2021-06-26 18:23:42 +00:00
str r1, [r5, r0]
ldr r1, [r5]
ldrb r2, [r4, #6]
2021-06-27 18:48:56 +00:00
add r1, #0x30
2021-06-26 18:23:42 +00:00
ldrb r1, [r1]
ldr r0, [r5, #0x2c]
2021-06-27 18:48:56 +00:00
add r3, r5, r3
2021-06-26 18:23:42 +00:00
bl ov93_0225FBF0
2021-06-27 18:48:56 +00:00
ldr r0, _022628F0 ; =0x00002FCC
mov r1, #1
2021-06-26 18:23:42 +00:00
str r1, [r5, r0]
ldrb r1, [r4, #7]
ldrb r2, [r4, #8]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
bl ov93_0225E48C
pop {r3, r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_022628E8: .word 0x00002FC8
_022628EC: .word 0x00001428
_022628F0: .word 0x00002FCC
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022628B8
thumb_func_start ov93_022628F4
2021-06-27 18:48:56 +00:00
ov93_022628F4: ; 0x022628F4
2021-06-26 18:23:42 +00:00
push {r4, r5, lr}
sub sp, #0x14
2021-06-27 18:48:56 +00:00
add r5, r0, #0
add r4, r1, #0
2021-06-26 18:23:42 +00:00
add r0, sp, #0
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r2, #0x14
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
mov r0, #4
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #2
2021-06-26 18:23:42 +00:00
add r0, sp, #0
strb r1, [r0, #4]
strb r4, [r0, #5]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
add r1, sp, #0
bl ov93_0225E230
add sp, #0x14
pop {r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022628F4
thumb_func_start ov93_02262920
2021-06-27 18:48:56 +00:00
ov93_02262920: ; 0x02262920
add r2, r1, #0
mov r1, #3
2021-06-26 18:23:42 +00:00
str r1, [r0, #0x20]
ldrb r1, [r2, #4]
2021-06-27 18:48:56 +00:00
ldr r3, _02262930 ; =ov93_0225E48C
2021-06-26 18:23:42 +00:00
ldrb r2, [r2, #5]
bx r3
nop
2021-06-27 18:48:56 +00:00
_02262930: .word ov93_0225E48C
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262920
thumb_func_start ov93_02262934
2021-06-27 18:48:56 +00:00
ov93_02262934: ; 0x02262934
2021-06-26 18:23:42 +00:00
push {r4, r5, lr}
sub sp, #0x14
2021-06-27 18:48:56 +00:00
add r5, r0, #0
add r4, r1, #0
2021-06-26 18:23:42 +00:00
add r0, sp, #0
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r2, #0x14
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
mov r0, #5
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #3
2021-06-26 18:23:42 +00:00
add r0, sp, #0
strb r1, [r0, #4]
strb r4, [r0, #5]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
add r1, sp, #0
bl ov93_0225E230
add sp, #0x14
pop {r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262934
thumb_func_start ov93_02262960
2021-06-27 18:48:56 +00:00
ov93_02262960: ; 0x02262960
add r3, r1, #0
ldr r1, _02262974 ; =0x00002FBC
mov r2, #1
2021-06-26 18:23:42 +00:00
str r2, [r0, r1]
2021-06-27 18:48:56 +00:00
mov r1, #6
2021-06-26 18:23:42 +00:00
str r1, [r0, #0x20]
ldrb r1, [r3, #4]
ldrb r2, [r3, #5]
2021-06-27 18:48:56 +00:00
ldr r3, _02262978 ; =ov93_0225E48C
2021-06-26 18:23:42 +00:00
bx r3
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-27 18:48:56 +00:00
_02262974: .word 0x00002FBC
_02262978: .word ov93_0225E48C
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_02262960
thumb_func_start ov93_0226297C
2021-06-27 18:48:56 +00:00
ov93_0226297C: ; 0x0226297C
2021-06-26 18:23:42 +00:00
push {r3, r4, r5, r6, lr}
sub sp, #0x14
2021-06-27 18:48:56 +00:00
add r6, r0, #0
add r5, r1, #0
add r4, r2, #0
2021-06-26 18:23:42 +00:00
add r0, sp, #0
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r2, #0x14
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
mov r0, #6
2021-06-26 18:23:42 +00:00
str r0, [sp]
add r0, sp, #0
strb r5, [r0, #4]
strb r4, [r0, #5]
2021-06-27 18:48:56 +00:00
add r0, r6, #0
2021-06-26 18:23:42 +00:00
add r1, sp, #0
bl ov93_0225E230
add sp, #0x14
pop {r3, r4, r5, r6, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_0226297C
thumb_func_start ov93_022629A8
2021-06-27 18:48:56 +00:00
ov93_022629A8: ; 0x022629A8
ldr r3, _022629B4 ; =ov93_0225E48C
add r2, r1, #0
2021-06-26 18:23:42 +00:00
ldrb r1, [r2, #4]
ldrb r2, [r2, #5]
bx r3
nop
2021-06-27 18:48:56 +00:00
_022629B4: .word ov93_0225E48C
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022629A8
thumb_func_start ov93_022629B8
2021-06-27 18:48:56 +00:00
ov93_022629B8: ; 0x022629B8
2021-06-26 18:23:42 +00:00
push {r4, r5, lr}
sub sp, #0x14
2021-06-27 18:48:56 +00:00
add r5, r0, #0
add r4, r1, #0
2021-06-26 18:23:42 +00:00
add r0, sp, #0
2021-06-27 18:48:56 +00:00
mov r1, #0
mov r2, #0x14
2021-09-16 00:11:18 +00:00
bl MI_CpuFill8
2021-06-27 18:48:56 +00:00
mov r0, #7
2021-06-26 18:23:42 +00:00
str r0, [sp]
2021-06-27 18:48:56 +00:00
mov r1, #6
2021-06-26 18:23:42 +00:00
add r0, sp, #0
strb r1, [r0, #4]
strb r4, [r0, #5]
2021-06-27 18:48:56 +00:00
add r0, r5, #0
2021-06-26 18:23:42 +00:00
add r1, sp, #0
bl ov93_0225E230
add sp, #0x14
pop {r4, r5, pc}
2021-08-08 01:30:37 +00:00
.balign 4, 0
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022629B8
thumb_func_start ov93_022629E4
2021-06-27 18:48:56 +00:00
ov93_022629E4: ; 0x022629E4
add r2, r1, #0
mov r1, #1
2021-06-26 18:23:42 +00:00
str r1, [r0, #0x20]
ldrb r1, [r2, #4]
2021-06-27 18:48:56 +00:00
ldr r3, _022629F4 ; =ov93_0225E48C
2021-06-26 18:23:42 +00:00
ldrb r2, [r2, #5]
bx r3
nop
2021-06-27 18:48:56 +00:00
_022629F4: .word ov93_0225E48C
2021-06-26 18:23:42 +00:00
thumb_func_end ov93_022629E4
.rodata
2021-06-27 18:43:42 +00:00
_02262C6C:
.byte 0x06, 0x00, 0x08, 0x00
2021-12-02 13:51:20 +00:00
.byte 0x07, 0x00
ov93_02262C72: ; 0x02262C72
.byte 0x1D, 0x00, 0x0D, 0x00, 0x3D, 0x00, 0x2D, 0x00
ov93_02262C7A: ; 0x02262C7A
.byte 0x0C, 0x00, 0x0C, 0x00, 0x0F, 0x00
.byte 0x12, 0x00
ov93_02262C82: ; 0x02262C82
.byte 0x52, 0x00, 0x51, 0x00, 0x53, 0x00, 0x54, 0x00
ov93_02262C8A: ; 0x02262C8A
.byte 0x20, 0x00, 0x10, 0x00, 0x30, 0x00
.byte 0x40, 0x00, 0x00, 0x00
ov93_02262C94: ; 0x02262C94
2021-12-03 19:34:55 +00:00
.word ov93_0226154C
.word ov93_02261554
.word ov93_02261744
.word ov93_022618C4
2021-12-02 13:51:20 +00:00
ov93_02262CA4: ; 0x02262CA4
.byte 0x00, 0x10, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x0A, 0x00, 0x00
.byte 0x00, 0x20, 0x00, 0x00
ov93_02262CB4: ; 0x02262CB4
.byte 0x80, 0x00
ov93_02262CB6: ; 0x02262CB6
.byte 0xA4, 0x00, 0x80, 0x00, 0x1C, 0x00, 0x34, 0x00, 0x60, 0x00
.byte 0xCC, 0x00, 0x60, 0x00
ov93_02262CC4: ; 0x02262CC4
.byte 0x08
ov93_02262CC5: ; 0x02262CC5
.byte 0x14
ov93_02262CC6: ; 0x02262CC6
.byte 0x07, 0x00, 0x08, 0x11, 0x07, 0x00, 0x08, 0x0E, 0x06, 0x00
.byte 0x08, 0x0A, 0x06, 0x00, 0x08, 0x06, 0x05, 0x00
ov93_02262CD8: ; 0x02262CD8
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x01, 0x03
.byte 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x03, 0x00, 0x00, 0x02, 0x01, 0x03
ov93_02262CEC: ; 0x02262CEC
.byte 0x0B, 0x00
ov93_02262CEE: ; 0x02262CEE
.byte 0x0C, 0x00
ov93_02262CF0: ; 0x02262CF0
2021-06-26 18:23:42 +00:00
.byte 0x00, 0x11, 0x00, 0x00, 0x09, 0x00, 0x0A, 0x00, 0x00, 0x17, 0x00, 0x00, 0x07, 0x00, 0x08, 0x00
2021-12-02 13:51:20 +00:00
.byte 0x00, 0x1D, 0x00, 0x00
ov93_02262D04: ; 0x02262D04
.byte 0x20, 0x00, 0x10, 0x00, 0x30, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x30, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x30, 0x00
2021-12-02 13:51:20 +00:00
.byte 0x10, 0x00, 0x00, 0x00, 0x20, 0x00, 0x40, 0x00, 0x10, 0x00, 0x30, 0x00
ov93_02262D2C: ; 0x02262D2C
.byte 0x02, 0x00, 0x04, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x01, 0x00, 0x03, 0x00, 0x02, 0x00, 0x04, 0x00, 0x01, 0x00, 0x03, 0x00, 0x02, 0x00, 0x01, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x03, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x04, 0x00
2021-12-02 13:51:20 +00:00
.byte 0x01, 0x00, 0x03, 0x00
ov93_02262D54: ; 0x02262D54
.byte 0x52, 0x00, 0x51, 0x00, 0x53, 0x00, 0x54, 0x00, 0x52, 0x00, 0x51, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x53, 0x00, 0x54, 0x00, 0x52, 0x00, 0x51, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x00, 0x53, 0x00
2021-12-02 13:51:20 +00:00
.byte 0x51, 0x00, 0x00, 0x00, 0x52, 0x00, 0x54, 0x00, 0x51, 0x00, 0x53, 0x00
ov93_02262D7C: ; 0x02262D7C
.byte 0x16, 0x00, 0x15, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x17, 0x00, 0x18, 0x00, 0x16, 0x00, 0x15, 0x00, 0x17, 0x00, 0x18, 0x00, 0x16, 0x00, 0x17, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x16, 0x00, 0x18, 0x00, 0x17, 0x00, 0x00, 0x00, 0x16, 0x00, 0x15, 0x00
2021-12-02 13:51:20 +00:00
.byte 0x17, 0x00, 0x18, 0x00
ov93_02262DA4: ; 0x02262DA4
.byte 0x1D, 0x00, 0x2D, 0x00, 0x0D, 0x00, 0x3D, 0x00, 0x1D, 0x00, 0x2D, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x0D, 0x00, 0x3D, 0x00, 0x1D, 0x00, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1D, 0x00, 0x3D, 0x00
2021-12-02 13:51:20 +00:00
.byte 0x0D, 0x00, 0x00, 0x00, 0x1D, 0x00, 0x2D, 0x00, 0x0D, 0x00, 0x3D, 0x00
ov93_02262DCC: ; 0x02262DCC
.byte 0x00, 0x00, 0x00, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x00, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
.byte 0x14, 0x27, 0x00, 0x00, 0x16, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
2021-12-02 13:51:20 +00:00
ov93_02262E00: ; 0x02262E00
2021-06-26 18:23:42 +00:00
.byte 0x80, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0x16, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00
.byte 0x14, 0x27, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x00, 0x00, 0x00
2021-12-02 13:51:20 +00:00
.byte 0x00, 0x00, 0x00, 0x00
ov93_02262E34: ; 0x02262E34
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0x16, 0x27, 0x00, 0x00
.byte 0x14, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
2021-12-02 13:51:20 +00:00
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
ov93_02262E68: ; 0x02262E68
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00
.byte 0x16, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
2021-12-02 13:51:20 +00:00
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
ov93_02262E9C: ; 0x02262E9C
.byte 0x00, 0x00, 0x00, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00
.byte 0x14, 0x27, 0x00, 0x00, 0x16, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
2021-12-02 13:51:20 +00:00
ov93_02262ED0: ; 0x02262ED0
2021-06-26 18:23:42 +00:00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x02, 0x00, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0x16, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00
.byte 0x14, 0x27, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00
2021-12-02 13:51:20 +00:00
.byte 0x00, 0x00, 0x00, 0x00
ov93_02262F04: ; 0x02262F04
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0x16, 0x27, 0x00, 0x00
.byte 0x14, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
2021-12-02 13:51:20 +00:00
.byte 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
ov93_02262F38: ; 0x02262F38
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00
.byte 0x16, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
2021-12-02 13:51:20 +00:00
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
ov93_02262F6C: ; 0x02262F6C
.byte 0x28, 0x00, 0xB0, 0x00
2021-06-26 18:23:42 +00:00
.byte 0x00, 0x00, 0x00, 0x00, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
.byte 0x12, 0x27, 0x00, 0x00, 0x14, 0x27, 0x00, 0x00, 0x12, 0x27, 0x00, 0x00, 0x12, 0x27, 0x00, 0x00
.byte 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
2021-12-02 13:51:20 +00:00
ov93_02262FA0: ; 0x02262FA0
2021-06-26 18:23:42 +00:00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x01, 0x00, 0x00, 0x00, 0x11, 0x27, 0x00, 0x00, 0x12, 0x27, 0x00, 0x00, 0x11, 0x27, 0x00, 0x00
.byte 0x11, 0x27, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00
2021-12-02 13:51:20 +00:00
.byte 0x00, 0x00, 0x00, 0x00
ov93_02262FD4: ; 0x02262FD4
.byte 0xB8, 0x0B, 0x00, 0x00, 0x70, 0x17, 0x00, 0x00, 0x40, 0x1F, 0x00, 0x00
2021-06-26 18:23:42 +00:00
.byte 0xE8, 0x03, 0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0xA6, 0x19, 0x00, 0x00
.byte 0xFA, 0x20, 0x00, 0x00, 0x4E, 0x28, 0x00, 0x00, 0xEC, 0x20, 0x00, 0x00, 0x54, 0x2A, 0x00, 0x00
.byte 0xBC, 0x33, 0x00, 0x00, 0x48, 0x26, 0x00, 0x00, 0x38, 0x31, 0x00, 0x00, 0x28, 0x3C, 0x00, 0x00
2021-12-02 13:51:20 +00:00
ov93_02263010: ; 0x02263010
2021-06-26 18:23:42 +00:00
.byte 0x80, 0x00, 0xD0, 0x00, 0x07, 0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0xD0, 0x00, 0x07, 0x00, 0x02, 0x02
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x80, 0x00, 0xD0, 0x00, 0x07, 0x00, 0x02, 0x02, 0x00, 0x00, 0x80, 0x00, 0xF0, 0xFF, 0x0A, 0x00
.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0xD0, 0x00, 0x07, 0x00, 0x02, 0x02
.byte 0x00, 0x00, 0xF0, 0xFF, 0x60, 0x00, 0x09, 0x00, 0x03, 0x03, 0x00, 0x00, 0x10, 0x01, 0x60, 0x00
.byte 0x08, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x80, 0x00, 0xD0, 0x00, 0x07, 0x00, 0x02, 0x02, 0x00, 0x00, 0xF0, 0xFF, 0x60, 0x00, 0x09, 0x00
.byte 0x04, 0x03, 0x00, 0x00, 0x80, 0x00, 0xF0, 0xFF, 0x0A, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01
2021-12-02 13:51:20 +00:00
.byte 0x60, 0x00, 0x08, 0x00, 0x03, 0x01, 0x00, 0x00
.public ov93_022630D8
ov93_022630D8:
.byte 0x64, 0x00, 0x00, 0x00, 0x7D, 0x00, 0x00, 0x00
.byte 0x58, 0x00, 0x00, 0x00
ov93_022630E4: ; 0x022630E4
2021-12-03 19:34:55 +00:00
.word 0
.word sub_020342C0
.word 0
.word ov93_02262760
.word ov93_02262714
.word 0
.word ov93_02262718
.word ov93_02262710
.word 0
.word ov93_0226273C
.word sub_020342C0
.word 0
2021-12-02 13:51:20 +00:00
ov93_02263114: ; 0x02263114
2021-12-03 19:34:55 +00:00
.word 0
.word ov93_02262814
.word ov93_02262860
.word ov93_022628B8
.word ov93_02262920
.word ov93_02262960
.word ov93_022629A8
.word ov93_022629E4
2021-06-27 18:48:56 +00:00
; 0x02263134