From 4fc272fea6bc7332fae031ebeb12362cff1c35de Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Wed, 1 Dec 2021 16:33:06 -0600 Subject: No wifi + 2 days on train = more decomp (#80) * No wifi + 2 days on train = more decomp * layin some more * one func, one file --- include/memory.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'include/memory.h') 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); -- cgit v1.2.3