diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-12-01 16:33:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 14:33:06 -0800 |
commit | 4fc272fea6bc7332fae031ebeb12362cff1c35de (patch) | |
tree | 88092c6da3a6bb741caceab54f5372aee4ad5bae /include/memory.h | |
parent | fd8720b75c56ef3f641e6c5abf6c446929c824b9 (diff) |
No wifi + 2 days on train = more decomp (#80)
* No wifi + 2 days on train = more decomp
* layin some more
* one func, one file
Diffstat (limited to 'include/memory.h')
-rw-r--r-- | include/memory.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/include/memory.h b/include/memory.h index ef99757..1c8a61b 100644 --- a/include/memory.h +++ b/include/memory.h @@ -5,33 +5,33 @@ struct HeapSettings { - u8 *start; - u32 size; + /* 0x0 */ u8 *start; + /* 0x4 */ u32 size; }; struct HeapMemoryBlock { - u8 *start; - s32 size; - s32 allocatedSize; + /* 0x0 */ u8 *start; + /* 0x4 */ s32 size; + /* 0x8 */ s32 allocatedSize; }; struct HeapFreeListElement { - u32 unk_atb; - u32 atb; - u32 grp; - struct HeapMemoryBlock block; + /* 0x0 */ u32 unk_atb; + /* 0x4 */ u32 atb; + /* 0x8 */ u32 grp; + /* 0xC */ struct HeapMemoryBlock block; }; struct HeapDescriptor { u32 unk0; - struct HeapDescriptor *parentHeap; - struct HeapFreeListElement *freeList; - s32 freeCount; - u32 freeListLength; - u8 *start; - u32 size; + /* 0x4 */ struct HeapDescriptor *parentHeap; + /* 0x8 */ struct HeapFreeListElement *freeList; + /* 0xC */ s32 freeCount; + /* 0x10 */ u32 freeListLength; + /* 0x14 */ u8 *start; + /* 0x18 */ u32 size; }; void InitHeap(void); |