|
SSBM Decomp
|
Data Structures | |
| struct | Allocator |
Macros | |
| #define | PUSH_HANDLE(list, handle) |
| might need to change to take lvalue instead of pointer if codegen is bad | |
| #define | POP_HANDLE(list, handle) |
Functions | |
| static void | lbMemory_80015320 (int, Handle *, int, int) |
| STATIC_ASSERT (sizeof(g_alloc)==0x6F0) | |
| static Handle * | new_handle (void *arenaLo, void *arenaHi) |
| pops handle from freelist and sets the popped regions's bounds | |
| Handle * | lbMemory_80014E24 (void *arenaLo, void *arenaHi) |
| void | lbMemory_80014EEC (Handle *handle) |
| moves a list of handles into x62C then pushes the head to free_heap why does it start at handle->xC_prev? | |
| u32 | lbMemory_80014F7C (Handle *h) |
| Handle * | lbMemory_80014FC8 (Handle *arg0, u32 size) |
| malloc | |
| void | lbMemory_800150F0 (Handle *h, void *arg1) |
| u32 | lbMemory_8001529C (Handle *h, void *arg1, u32 arg2) |
| void | lbMemory_800154BC (uintptr_t *arenaLo, uintptr_t *arenaHi) |
| getArenaBounds | |
| Handle * | lbMemory_800154D4 (void *arenaLo, void *arenaHi) |
| same as lbMemory_80014E24, but sets to x69C to the popped handle | |
| void | lbMemory_800155A4 (void) |
Variables | |
| static struct Allocator | g_alloc |
| lbMemory_804318B0 | |
| #define PUSH_HANDLE | ( | list, | |
| handle | |||
| ) |
might need to change to take lvalue instead of pointer if codegen is bad
| #define POP_HANDLE | ( | list, | |
| handle | |||
| ) |
|
static |
| STATIC_ASSERT | ( | sizeof(g_alloc) | = =0x6F0 | ) |
|
inlinestatic |
pops handle from freelist and sets the popped regions's bounds
| Handle * lbMemory_80014E24 | ( | void * | arenaLo, |
| void * | arenaHi | ||
| ) |
| void lbMemory_80014EEC | ( | Handle * | handle | ) |
moves a list of handles into x62C then pushes the head to free_heap why does it start at handle->xC_prev?
| u32 lbMemory_80014F7C | ( | Handle * | h | ) |
| void lbMemory_800150F0 | ( | Handle * | h, |
| void * | arg1 | ||
| ) |
| u32 lbMemory_8001529C | ( | Handle * | h, |
| void * | arg1, | ||
| u32 | arg2 | ||
| ) |
| Handle * lbMemory_800154D4 | ( | void * | arenaLo, |
| void * | arenaHi | ||
| ) |
same as lbMemory_80014E24, but sets to x69C to the popped handle
| void lbMemory_800155A4 | ( | void | ) |
|
static |
lbMemory_804318B0