benilla-re systems structs docs

SetClassSpellFamily

function · spell · primitive

Address
0x6e6ca0 · 34 bytes, up to 0x6e6cc1
Signature
void __fastcall (uint32_t classId)
Meaning
Copies a class record's spell family into the global the modifier sums compare
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.

Callers 1

Callees 0

None by a direct call or jump.

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