Decomped ov31_02383768

Decomped by anonymous user (https://decomp.me/scratch/Y1TTR)
This commit is contained in:
AnonymousRandomPerson
2025-07-17 21:59:24 -04:00
parent c607247fdb
commit a9073df4e9
4 changed files with 23 additions and 34 deletions

View File

@@ -6,12 +6,33 @@
extern struct dungeon* DUNGEON_PTR[];
extern struct loc_struct* OVERLAY31_UNKNOWN_POINTER__NA_238A26C;
extern bool8 ov10_022BCD10(s8);
extern void AdvanceFrame(u8);
extern s32 sub_020282F4(s8);
extern void CloseInventoryMenu(s8);
extern void ov29_0234E988(u8*);
extern void CloseTextBox2();
extern void ov31_02383768(u8*);
extern void MemFree(void*);
extern void DrawTextInWindow(struct window*, u32, u32, u8*);
void ov31_02383768(s8* arg1)
{
s32 x;
if (arg1[0] == -2) {
return;
}
if (ov10_022BCD10(arg1[0])) {
do {
AdvanceFrame(0x62);
x = sub_020282F4(arg1[0]);
} while (-5 != x && -4 != x);
}
CloseInventoryMenu(arg1[0]);
arg1[0] = -2;
}
void ov31_023837C8(void)
{
ov29_0234E988(&(OVERLAY31_UNKNOWN_POINTER__NA_238A26C->field_0x1192));