DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
CDataAlloc< 1, 6000 > Class Reference

Public Member Functions

u_char * Alloc (int quads)
 
u_char * Alloc64 (int quads)
 
void Align64 ()
 

Public Attributes

u_long128 block [6000]
 
int used
 

Detailed Description

Definition at line 77 of file dataalloc.hpp.

Constructor & Destructor Documentation

◆ CDataAlloc()

CDataAlloc< 1, 6000 >::CDataAlloc ( )

Definition at line 21 of file dataalloc.cpp.

Member Function Documentation

◆ Alloc()

u_char * CDataAlloc< 1, 6000 >::Alloc ( int  quads)

Takes a run of quadwords out of the six-thousand-quadword arena.

Mangled name:
Alloc__18CDataAlloc_1_6000_Fi
Address:
0x143720
Size:
0x68

Definition at line 1871 of file main.cpp.

◆ Align64()

void CDataAlloc< 1, 6000 >::Align64 ( )

Rounds the six-thousand-quadword arena's cursor up to sixty-four bytes.

Mangled name:
Align64__18CDataAlloc_1_6000_Fv
Address:
0x143790
Size:
0x90

Definition at line 1893 of file main.cpp.

Member Data Documentation

◆ block

u_long128 CDataAlloc< 1, 6000 >::block[6000]

Embedded allocation storage.

Definition at line 79 of file dataalloc.hpp.

◆ used

int CDataAlloc< 1, 6000 >::used

Number of occupied quadwords in the embedded arena.

Definition at line 80 of file dataalloc.hpp.