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
// vtbl Address: 0x100E38C0
8
class
LayoutAllocator
:
public
nw
::
ut
::
IAllocator
9
{
10
public
:
11
// GetRuntimeTypeInfoStatic()::s_TypeInfo initialization guard variable Address: 0x101E9DC4
12
// GetRuntimeTypeInfoStatic()::s_TypeInfo Address: 0x101EAF40
13
NW_UT_RUNTIME_TYPEINFO
(
nw
::
ut
::
IAllocator
)
14
15
LayoutAllocator
()
16
:
mHeap
(
nullptr
)
17
{
18
}
19
20
// Address: 0x02679708
21
void
*
Alloc
(
size_t
size
,
u32
alignment
)
override
;
22
// Address: 0x0267971C
23
void
Free
(
void
* memory)
override
;
24
25
// Address: 0x02679730
26
void
setHeap
(sead::Heap* heap);
27
28
protected
:
29
sead
::
Heap
*
mHeap
;
30
};
31
static_assert
(
sizeof
(
LayoutAllocator
) == 8);
LayoutAllocator
Definition
LayoutAllocator.h:9
LayoutAllocator::Free
void Free(void *memory) override
LayoutAllocator::mHeap
sead::Heap * mHeap
Definition
LayoutAllocator.h:29
LayoutAllocator::setHeap
void setHeap(sead::Heap *heap)
layout_sys
LayoutAllocator.h
Generated by
1.14.0