Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JKRAramBlock.h
Go to the documentation of this file.
1#ifndef JKRARAMBLOCK_H
2#define JKRARAMBLOCK_H
3
5
6class JKRAramHeap;
7
13public:
14 JKRAramBlock(u32, u32, u32, u8, bool);
15 virtual ~JKRAramBlock();
16
19
20 u32 getAddress() const { return mAddress; }
21
22 u32 getSize() const { return mSize; }
23
24 u32 getFreeSize() const { return mFreeSize; }
25
26 bool isTempMemory() const { return mIsTempMemory; }
27
29
30public:
31 /* 0x00 */ // vtable
33 /* 0x14 */ u32 mAddress;
34 /* 0x18 */ u32 mSize;
35 /* 0x1C */ u32 mFreeSize;
36 /* 0x20 */ u8 mGroupId;
37 /* 0x21 */ u8 mIsTempMemory;
38 /* 0x22 */ u8 padding[2];
39};
40
41#endif /* JKRARAMBLOCK_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JKRAramBlock.h:12
JKRAramBlock * allocHead(u32, u8, JKRAramHeap *)
Definition JKRAramBlock.cpp:32
bool isTempMemory() const
Definition JKRAramBlock.h:26
JSULink< JKRAramBlock > mBlockLink
Definition JKRAramBlock.h:32
u32 mSize
Definition JKRAramBlock.h:34
u8 mIsTempMemory
Definition JKRAramBlock.h:37
u32 getSize() const
Definition JKRAramBlock.h:22
u32 mAddress
Definition JKRAramBlock.h:33
u8 padding[2]
Definition JKRAramBlock.h:38
u32 mFreeSize
Definition JKRAramBlock.h:35
u32 getFreeSize() const
Definition JKRAramBlock.h:24
u32 getAddress() const
Definition JKRAramBlock.h:20
u8 mGroupId
Definition JKRAramBlock.h:36
virtual ~JKRAramBlock()
Definition JKRAramBlock.cpp:16
JKRAramBlock * allocTail(u32, u8, JKRAramHeap *)
Definition JKRAramBlock.cpp:51
void newGroupID(u8 groupId)
Definition JKRAramBlock.h:28
Definition JKRAramHeap.h:12
unsigned long u32
Definition types.h:10
unsigned char u8
Definition types.h:8