summaryrefslogtreecommitdiff
path: root/include/code_801DBB3C.h
diff options
context:
space:
mode:
authorMax <mparisi@stevens.edu>2020-10-23 15:43:52 -0400
committerMax <mparisi@stevens.edu>2020-10-23 15:43:52 -0400
commitd93b0c1aac1148a9b609baec3914c2f33f546519 (patch)
tree79670080b55dc5cc41d31c096adc65ebb979091c /include/code_801DBB3C.h
parent1a76bb3162479a8897272ca4928ef2e0be849e21 (diff)
bring func_801DBB48 closer to matching
Diffstat (limited to 'include/code_801DBB3C.h')
-rw-r--r--include/code_801DBB3C.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/code_801DBB3C.h b/include/code_801DBB3C.h
index 1c387cf..dc96371 100644
--- a/include/code_801DBB3C.h
+++ b/include/code_801DBB3C.h
@@ -11,7 +11,7 @@ extern "C" {
struct gUnkClass3
{
gUnkClass3* unk0; // pointer to the next free block
- gUnkClass1 unk4;
+ gUnkClass1 unk4; // flexible array member to make this generic?
};
// linked list node free store?
@@ -19,9 +19,10 @@ struct gUnkClass2
{
u32 unk0; // counter for blocks currently allocated?
u32 unk4; // maximum number of blocks allocated so far?
- u32 unk8; // checked heavily in func_801DBD74
+ u32 unk8; // number of linked list nodes initially requested
size_t unkC; // block size
- u8 unk10[0x8];
+ 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
};