benilla-re systems structs docs

s_spellIconStore

global · dbc

Address
0xc0d7e4 · 20 bytes, up to 0xc0d7f7
Type
uint32_t[5]
Meaning
Holds the SpellIcon.dbc store: its record table by id at +0x08 and the highest id at +0x0c
Confidence
verified, proof one
Finding
ui/auradisplay#texture-dispel-type-stacks-and-time

Finding: Texture, dispel type, stacks and time in ui: the buff display functions

GetPlayerBuffTexture(position) pushes the icon path of the record's spell (Spell.dbc icon id at +0x1d4, then the SpellIcon row's path at +4), or nil. GetPlayerBuffApplications(position) pushes the stack count of +0x9, or the number 1 for no record. GetPlayerBuffDispelType(position) pushes the string in column 11 of the SpellDispelType row of the spell's dispel id (+0x10), or nil for an id of 0, a missing row or a row whose word +0x28 is 0. GetPlayerBuffTimeLeft(position) pushes the time left in seconds (0x4e4450 times 0.001), 0 for no record.

The derivation is in the doc.