benilla-re systems structs docs

SpellHistory::RemoveExpired

function · spell · primitive

Address
0x6e1910 · 230 bytes, up to 0x6e19f5
Signature
void __thiscall (SpellHistory *this, uint32_t now)
Meaning
Frees every unheld record whose recovery and category recovery have ended by now
Confidence
verified, proof one
Finding
spell/cooldowns#expiry-sweep-and-whole-lists

Finding: Expiry sweep and whole lists in spell: cooldowns

0x6e1910(list, now) moves to the free list every unheld record whose recovery has ended (time zero, or now − (start + time) not negative) and whose category recovery has ended likewise. It never reads the global-cooldown fields, so a record with only a global cooldown goes at the first sweep. 0x6e1880(list) moves every record to the free list. 0x6e9700(pet) empties the chosen list and fires the cooldown events, then PET_BAR_UPDATE_COOLDOWN or BAG_UPDATE_COOLDOWN.

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

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