benilla-re systems structs docs

s_classSpellFamily

global · spell

Address
0xcecaac · 4 bytes, up to 0xcecaaf
Type
uint32_t
Meaning
Holds the player class's spell family, 0 until 0x6e6ca0 sets it; zeroed by 0x6e7150
Confidence
verified, proof one
Finding
spell/records#talent-modifier-tables

Finding: Talent modifier tables in spell: records

HandleSetSpellModifierPacket (0x6e9950) reads a byte b, a byte op and an int32_t v, and stores v at index b·29 + op of the percent table 0xcecb30 for opcode 0x267, of the flat table 0xcead60 for any other, replacing what was there; then it calls 0x4d7d40 and returns 1. Neither byte is checked: an index past 1855 writes beyond the table, up to 255·29 + 255. A short packet leaves the unread fields as they were on the stack. 0x6e6ca0(class) copies the ChrClasses record's +0x3c to the class family 0xcecaac and leaves it unchanged for no record.

The derivation is in the doc.