summaryrefslogtreecommitdiff
path: root/include/code_801DBB3C.h
diff options
context:
space:
mode:
authorMax <mparisi@stevens.edu>2020-10-23 23:22:36 -0400
committerMax <mparisi@stevens.edu>2020-10-23 23:22:36 -0400
commit813f6a67a079e00b4003952e612bd7177f707fc6 (patch)
treeb2b17318236db00b1920cb57cfb5697c20d0eed0 /include/code_801DBB3C.h
parente3def2d7a360b72359c64924e11ebd67c94843c9 (diff)
cleanup
Diffstat (limited to 'include/code_801DBB3C.h')
-rw-r--r--include/code_801DBB3C.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/include/code_801DBB3C.h b/include/code_801DBB3C.h
index dc96371..fbc1996 100644
--- a/include/code_801DBB3C.h
+++ b/include/code_801DBB3C.h
@@ -7,23 +7,21 @@ extern "C" {
#include "code_801DB040.h"
-// free store block?
struct gUnkClass3
{
- gUnkClass3* unk0; // pointer to the next free block
- gUnkClass1 unk4; // flexible array member to make this generic?
+ gUnkClass3* unk0;
+ gUnkClass1 unk4;
};
-// linked list node free store?
struct gUnkClass2
{
- u32 unk0; // counter for blocks currently allocated?
- u32 unk4; // maximum number of blocks allocated so far?
- u32 unk8; // number of linked list nodes initially requested
- size_t unkC; // block size
- u8* unk10; // TODO: change to gUnkClass3* for unk10 and unk14?
- u8* unk14; // pointer to "end" block?
- gUnkClass3* unk18; // head of the linked list of free nodes
+ u32 unk0;
+ u32 unk4;
+ u32 unk8;
+ size_t unkC;
+ u8* unk10;
+ u8* unk14;
+ gUnkClass3* unk18;
};
gUnkClass1* func_801DBC58(gUnkClass2* p1);