benilla-re systems structs docs

OnItemCooldownRecord

function · spell · orchestration

Address
0x6e2f70 · 39 bytes, up to 0x6e2f96
Signature
void __fastcall (uint32_t itemId, uint32_t unused, uint32_t argument, uint8_t found)
Meaning
Queries an item cooldown again when its record arrives and signals the cooldown events while one runs
Confidence
verified, proof one
Finding
spell/records#cooldown-queries

Finding: Cooldown queries in spell: records

0x6e2ea0(spellId, pet, &duration, &start, &enabled) returns 0x6e13e0 on the selected history for the id and item 0. 0x6e2ed0(itemId, &duration, &start, &enabled) fetches the item record from the item cache, naming 0x6e2f70 as the callback for a record not yet cached, and queries the player's history for the first of its five spells with an id above 0 and trigger 0, with the item id; it returns 0 otherwise. 0x6e2f70, given a found record, re-queries with null outputs and, on a running cooldown, calls 0x4b31b0 and 0x4f93d0. 0x6e2fa0(spell, pet) returns 0x6e1690 for the record's id and item 0.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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