Skip to content

Commit

Permalink
func_8006502C
Browse files Browse the repository at this point in the history
  • Loading branch information
hensldm committed Dec 25, 2024
1 parent 15cf21b commit 64e5ccf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions include/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ void* func_80064DD0(u32 size); // malloc?
void func_80064E84(Y65430UnkStruct*);

// 65520
s32 func_80064FEC(void);
void func_80065528(void* arg0, void* arg1, s32 arg2);
void func_80065728(MallocRecord*, s32, s32);
void func_8006758C(void*, UNK_TYPE, size_t);
Expand Down Expand Up @@ -101,6 +102,8 @@ extern MallocRecord mallocRecord;
extern UNK_TYPE D_800DA83C;
extern Y511F0UnkStruct D_800DA840[];
extern MallocRecord D_800F8E58;
extern s32 D_800F93F0;
extern s32 D_800F93F4;
extern u8 D_800FAAF8;
extern u8 D_800FAB1C;
extern u8 D_800FAB20;
Expand Down
5 changes: 4 additions & 1 deletion src/main/O2/65520.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ void func_80064B38(void) {

#pragma GLOBAL_ASM("asm/us/nonmatchings/main/O2/65520/func_80064FEC.s")

#pragma GLOBAL_ASM("asm/us/nonmatchings/main/O2/65520/func_8006502C.s")

s32 func_8006502C(void) {
return (D_800F93F4 - D_800F93F0) - func_80064FEC();
}

#pragma GLOBAL_ASM("asm/us/nonmatchings/main/O2/65520/func_80065060.s")

Expand Down

0 comments on commit 64e5ccf

Please sign in to comment.