benilla-re systems structs docs

s_knownSpellBits

global · unassigned

Address
0xb710fc · 4 bytes, up to 0xb710ff
Type
uint32_t *
Meaning
Points at the bitset of every known spell id
Confidence
verified, proof one
Finding
ui/spellbook#spell-book-lists

Finding: Spell book lists in ui: the spell book

The player's book is the list 0xb700f0 of spell ids by slot, 1024 slots, its count at 0xb7116c. The pet's is 0xb6f098, count 0xb71174. Tabs are a list of 8-byte nodes {tab key, spell count} (0xb71160, count 0xb71170); the key is a SkillLine id and 0 is the General tab. 0xb710fc is a bitset of every known spell id. A Lua book function takes a 1-based slot and a book type; the type selects the pet list only when it equals pet (without case), and any other value, spell included, selects the player's.

The derivation is in the doc.