benilla-re systems structs docs

s_raceClassInfoTable

global · spell

Address
0xceab3c · 40 bytes, up to 0xceab63
Type
uint32_t[10]
Meaning
Holds the race-class index; zero by default, built by 0x6dd2c0 and filled by 0x6dda50
Confidence
verified, proof one
Finding
spell/tables#hash-table-layout

Finding: Hash table layout in spell: tables

Each table is 0x28 bytes: +0x00 vtable; +0x04 the node list's link offset (0x0c), +0x08 and +0x0c its end link; +0x10 the fullness counter; +0x14 the slot array's capacity, +0x18 its count, +0x1c its data, +0x20 its step; +0x24 the slot mask, -1 with no slots. A slot is a 12-byte list: offset 4, then an end link. A link holds the previous link and the next node; the last node's next is the end link's address with bit 0 set, and walks stop there or at null. Nodes carry the hash at +0x00, the slot link at +0x04 and the list link at +0x0c. The ability table's constructor ends with its derived vtable 0x811838.

The derivation is in the doc.