benilla-re systems structs docs

FreeClassPointerArray

function · glue · host

Address
0x471a70 · 23 bytes, up to 0x471a86
Signature
void __thiscall (void *this)
Meaning
Frees a class pointer array's data when it has any
Confidence
verified, proof one
Finding
glue/create#class-list-for-a-race

Finding: Class list for a race in glue: character create

The list holds, in CharBaseInfo file order, a ChrClasses record pointer for each row of the race, except race 3 with class 8, which both passes skip; a class id past the store's maximum or without a row gives a null pointer. The first pass counts: an unchanged count keeps the array, 0 frees it, any other resizes it.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.