New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
LayoutAllocator.h
Go to the documentation of this file.
1
#
pragma
once
2
3
#
include
<
heap
/
seadHeap
.
h
>
4
5
#
include
<
nw
/
ut
/
ut_Memory
.
h
>
6
7
class
LayoutAllocator
:
public
nw
::
ut
::
IAllocator
// vtbl Address: 0x100E38C0
8
{
9
public
:
10
// GetRuntimeTypeInfoStatic()::s_TypeInfo initialization guard variable Address: 0x101E9DC4
11
// GetRuntimeTypeInfoStatic()::s_TypeInfo Address: 0x101EAF40
12
NW_UT_RUNTIME_TYPEINFO
(
nw
::
ut
::
IAllocator
)
13
14
LayoutAllocator
()
15
:
mHeap
(
nullptr
)
16
{
17
}
18
19
// Address: 0x02679708
20
void
*
Alloc
(
size_t
size
,
u32
alignment
)
override
;
21
// Address: 0x0267971C
22
void
Free
(
void
* memory)
override
;
23
24
// Address: 0x02679730
25
void
setHeap
(sead::Heap* heap);
26
27
protected
:
28
sead
::
Heap
*
mHeap
;
29
};
30
static_assert
(
sizeof
(
LayoutAllocator
) == 8);
LayoutAllocator
Definition
LayoutAllocator.h:8
LayoutAllocator::Free
void Free(void *memory) override
LayoutAllocator::mHeap
sead::Heap * mHeap
Definition
LayoutAllocator.h:28
LayoutAllocator::setHeap
void setHeap(sead::Heap *heap)
layout_sys
LayoutAllocator.h
Generated by
1.14.0