benilla-re systems structs docs

StartGlobalCooldown

function · spell · primitive

Address
0x6e2de0 · 186 bytes, up to 0x6e2e99
Signature
void __fastcall (uint32_t spellId, uint32_t pet)
Meaning
Adds a global-cooldown entry to the player or pet history, then signals the cooldown events
Confidence
verified, proof one
Finding
spell/records#global-cooldown-start

Finding: Global cooldown start in spell: records

0x6e2de0(spellId, pet) does nothing without a record, or when its +0x274 and +0x278 are both 0, or when +0x278 after the integer applier with op 21 is 0. Otherwise it adds an entry to the player's history (pet 0) or the pet's: the id, item 0, the clock as both start times, 0 for both cooldowns, Attributes bit 25 as the held flag, +0x274 as category and the modified time. Then it calls 0x4b31b0, 0x4b31c0 when +0x18 has bit 25, and 0x4bce90 when pet is set.

The derivation is in the doc.

Callers 2

Callees 6

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