Decomped ov31_023833B4

Decomped by anonymous user: https://decomp.me/scratch/tILlP
This commit is contained in:
AnonymousRandomPerson 2025-07-16 20:39:23 -04:00
parent 607c7ee937
commit 9e42e6d0b9
5 changed files with 12 additions and 17 deletions

View File

@ -217,6 +217,7 @@
.public ov31_023832F0
.public ov31_02383328
.public ov31_0238335C
.public ov31_023833B4
.public ov31_02389F5C
.public ov31_0238A044
.public ov31_0238A04C

View File

@ -1,23 +1,8 @@
.include "asm/macros.inc"
.include "overlay_31_023833B4.inc"
.include "overlay_31_023833D8.inc"
.text
arm_func_start ov31_023833B4
ov31_023833B4: ; 0x023833B4
stmdb sp!, {r3, lr}
cmp r0, #0
beq _023833C4
blx r0
_023833C4:
ldr r0, _023833D4 ; =OVERLAY31_UNKNOWN_POINTER__NA_238A268
mov r1, #0
strb r1, [r0, #1]
ldmia sp!, {r3, pc}
.align 2, 0
_023833D4: .word OVERLAY31_UNKNOWN_POINTER__NA_238A268
arm_func_end ov31_023833B4
; https://decomp.me/scratch/Q183B
arm_func_start ov31_023833D8
ov31_023833D8: ; 0x023833D8

View File

@ -3,5 +3,6 @@
void ov31_02383328(void (*f)(void));
u32 ov31_0238335C(void (*f)(void));
void ov31_023833B4(void(*f)(void));
#endif //PMDSKY_OVERLAY_31_02383328_H

View File

@ -573,7 +573,7 @@ Overlay OVY_31
Object src/overlay_31_02382820.o
Object asm/overlay_31_02382FBC.o
Object src/overlay_31_02383328.o
Object asm/overlay_31_023833B4.o
Object asm/overlay_31_023833D8.o
}
Overlay OVY_32
{

View File

@ -29,3 +29,11 @@ u32 ov31_0238335C(void (*f)(void))
OVERLAY31_UNKNOWN_POINTER__NA_238A268[1] = 0;
return 1;
}
void ov31_023833B4(void(*f)(void))
{
if (f != NULL) {
f();
}
OVERLAY31_UNKNOWN_POINTER__NA_238A268[1] = 0;
}