Decompile memInit

This commit is contained in:
Ryan Dwyer
2020-10-12 18:45:23 +10:00
parent a5ee61e626
commit c2a3383869
4 changed files with 56 additions and 86 deletions
+3 -3
View File
@@ -4,13 +4,13 @@
#include "types.h"
void func000121e0(void);
void func000121e8(u32 arg0, u32 arg1);
void memInit(u32 heapstart, u32 heaplen);
u32 func000122e0(void);
void *func00012324(void);
u32 func00012324(void);
void *func00012354(struct memorypool *pools, u32 len, u8 pool);
void *malloc(u32 len, u8 pool);
void func00012430(void *ptr, u32 len, u8 pool);
s32 func000124d4(u8 poolnum, bool secondary);
u32 func000124d4(u8 poolnum, bool secondary);
void func00012528(u8 pool);
void func00012594(u8 pool);
u32 func000125dc(void);
+5 -5
View File
@@ -5287,11 +5287,11 @@ struct gecreditsdata {
};
struct memorypool {
/*0x00*/ void *unk00;
/*0x04*/ void *unk04;
/*0x08*/ void *unk08;
/*0x0c*/ void *unk0c;
/*0x10*/ void *unk10;
/*0x00*/ u32 unk00;
/*0x04*/ u32 unk04;
/*0x08*/ u32 unk08;
/*0x0c*/ u32 unk0c;
/*0x10*/ u32 unk10;
};
struct invitem_weap {