benilla-re systems structs docs

BuildCreateClassList

function · glue · primitive

Address
0x4706b0 · 238 bytes, up to 0x47079d
Signature
void __fastcall (uint32_t race)
Meaning
Lists a race's ChrClasses records in CharBaseInfo order, skipping race 3 with class 8
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 2

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