ClearItemCooldownTable
function · spell · orchestration
- Address
0x6ea640· 189 bytes, up to0x6ea6fc- Signature
void __thiscall (void *this)- Meaning
- Unlinks every item-cooldown node, sets the mask to -1 and frees the slot array; vtable slot 3
- Confidence
- verified, proof one
- Finding
- spell/cooldowns#item-cooldown-table
Finding: Item cooldown table in spell: cooldowns
0xceca60 is a hash table with the vtable 0x811904: a list of every node (link offset 0x0c),
a counter, an array of 12-byte slot lists (count +0x18, data +0x1c), and a mask at +0x24, −1
with no slots. A node's slot is its key, +0x00, AND the mask; its slot link is at
+0x04. Slot 0 of the vtable unlinks a node from both lists and frees it; slot 1 allocates a node
of 0x24 bytes plus extra at a slot list's head; slot 2 destroys the table, freeing it on flag bit
0; slot 3 unlinks every node and frees the slot array. 0x6e9ad0 frees every node and empties
both history lists.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 3
- SMemFree storm
- DestroyItemCooldownSlotList spell
- UnlinkItemCooldownLink spell
Calls and jumps by a bare address, from tables/calls.tsv.