s_reactiveSpells
global · ui
- Address
0xb71148· 16 bytes, up to0xb71157- Type
uint32_t[4]- Meaning
- Holds the capacity, count, data pointer and growth quantum of the reactive list of 8-byte spell id and usable entries
- Confidence
- verified, proof one
- Finding
- ui/reactivespells#reactive-spell-list
Finding: Reactive spell list in ui: reactive spells and the book reset
The reactive list at 0xb71148 holds 8-byte entries {spell id, usable}, one per name among the
learned spells whose record has AttributesEx4 (+0x28) bit 0x200. AddSpellToBook tests the bit for
every learned spell, before its Attributes and CastUI gates. An entry with the same name (SStrCmp
of the locale name, case counted) takes the new id only when ParseSpellRank of the new record is
strictly higher, keeping its usable word; a new name is appended as {id, 0}. Outside AddSpellToBook,
only FireUsableEvents reads its entries (Usable refresh). No code removes an entry: unlearning
(0x4b2c50) leaves it, and the reset (Resetting the book) and the exit callback 0x4b2190 free the
whole list.
The derivation is in the doc.