benilla-re systems structs docs

GetBookSpellIconPath

function · ui · orchestration

Address
0x4b3f50 · 134 bytes, up to 0x4b3fd5
Signature
const char * __fastcall (uint32_t index, uint32_t pet)
Meaning
Returns the icon path of a book slot's spell, the attack or ranged helper's for those spells
Confidence
verified, proof one
Finding
ui/spellbook#book-icons

Finding: Book icons in ui: the spell book

GetSpellTexture (0x4b3e50) returns the SpellIcon path of the slot's spell through 0x4b3f50, always from SpellIconID (+0x1d4) and never from the active icon. A spell whose first effect is 78 or that repeats with the ranged slot returns the attack or ranged weapon icon instead (ui/actionbar#attack-and-ranged-icons). A slot of no spell, or an icon id outside the SpellIcon table, gives nil.

The derivation is in the doc.

Callers 1

Callees 2

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