benilla-re systems structs docs

s_trackingSpell

global · ui

Address
0xbc6378 · 4 bytes, up to 0xbc637b
Type
uint32_t
Meaning
Holds the spell id of the last tracking aura the cache rebuild met
Confidence
verified, proof one
Finding
ui/auradisplay#rebuilding-the-cache

Finding: Rebuilding the cache in ui: the buff display functions

0x4e4170 runs when the aura fields change. First it walks the records from the front and ends at the first one with no spell. A record whose slot holds another spell id, or whose flag nibble has no bit of 0xe, is removed: the later records shift down one place and the last record is emptied. Then it walks slots 0 to 47 and, for each with a spell and a nibble bit of 0xe, appends a record at the first empty place, or refreshes the stack count of the record that already has that spell and slot. It then signals PLAYER_AURAS_CHANGED (event 192).

The derivation is in the doc.