Decompile malloc

This commit is contained in:
Ryan Dwyer
2020-02-02 00:27:49 +10:00
parent 4b3bcf8cee
commit dc43bef68a
5 changed files with 70 additions and 165 deletions
+2 -2
View File
@@ -461,8 +461,8 @@ extern u32 var8009520c;
extern u32 var80095210;
extern u32 var80099024;
extern u32 var800992e4;
extern u32 var80099300;
extern u32 var800993b8;
extern struct memorypool g_PrimaryMemoryPools[9];
extern struct memorypool g_SecondaryMemoryPools[9];
extern u32 var8009946c;
extern u32 var80099470;
extern u32 var80099474;
+2 -2
View File
@@ -7,8 +7,8 @@ void func000121e0(void);
u32 func000121e8(void);
u32 func000122e0(void);
u32 func00012324(void);
u32 func00012354(void);
void *malloc(s32 arg0, s32 arg1);
void *func00012354(struct memorypool *pools, u32 len, u8 pool);
void *malloc(u32 len, u8 pool);
u32 func00012430(void);
u32 func000124d4(void);
void func00012528(s32 arg0);
+8
View File
@@ -4964,4 +4964,12 @@ struct gecreditsdata {
/*0x0a*/ u16 alignoffset2;
};
struct memorypool {
/*0x00*/ u32 unk00;
/*0x04*/ void *start;
/*0x08*/ void *end;
/*0x0c*/ u32 unk0c;
/*0x10*/ u32 unk10;
};
#endif