benilla-re systems structs docs

GetSpellCooldown

function · spell · orchestration

Address
0x6e2ea0 · 37 bytes, up to 0x6e2ec4
Signature
uint32_t __fastcall (uint32_t spellId, uint32_t pet, int32_t *duration, int32_t *start, uint32_t *enabled)
Meaning
Queries the player or pet history through 0x6e13e0 for a spell with item 0
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 9

Callees 1

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