Decomped ov34_022DCB64

Decomped by @JesusArcasCarrera
This commit is contained in:
AnonymousRandomPerson 2026-04-26 23:11:33 -04:00
parent 079f47d7ed
commit 8ba6fa5078
4 changed files with 11 additions and 19 deletions

View File

@ -1,9 +1,9 @@
#pragma once
.public Debug_GetDebugFlag
.public G3X_Reset
.public GetFadeStatus
.public HandleMenus
.public OVERLAY34_UNKNOWN_POINTER__NA_22DD080
.public ov34_022DCB64
.public ov34_022DCB98
.public ov34_022DCBCC
.public ov34_022DCDCC

View File

@ -758,21 +758,3 @@ _022DCB58: .word ov34_022DD0B0
_022DCB5C: .word ov34_022DD104
_022DCB60: .word ov34_022DD0C0
arm_func_end ov34_022DCA70
arm_func_start ov34_022DCB64
ov34_022DCB64: ; 0x022DCB64
stmdb sp!, {r4, lr}
mov r4, r0
mov r0, #1
bl Debug_GetDebugFlag
cmp r0, #0
mov r0, #0
beq _022DCB8C
mov r1, r0
bl sub_02008F3C
ldmia sp!, {r4, pc}
_022DCB8C:
mov r1, r4
bl sub_02008F3C
ldmia sp!, {r4, pc}
arm_func_end ov34_022DCB64

View File

@ -1,6 +1,7 @@
#ifndef PMDSKY_OVERLAY_34_022DCB98_H
#define PMDSKY_OVERLAY_34_022DCB98_H
void ov34_022DCB64(s32 arg0);
void ov34_022DCB98(s32 arg0);
#endif //PMDSKY_OVERLAY_34_022DCB98_H

View File

@ -3,6 +3,15 @@
extern void sub_02008F3C(s32, s32);
void ov34_022DCB64(s32 arg0)
{
if (Debug_GetDebugFlag(DEBUG_FLAG_NO_SCREEN_FADE) != 0) {
sub_02008F3C(0, 0);
return;
}
sub_02008F3C(0, arg0);
}
void ov34_022DCB98(s32 arg0)
{
if (Debug_GetDebugFlag(DEBUG_FLAG_NO_SCREEN_FADE) != 0) {