benilla-re systems structs docs

HandleSpellGo

function · spell · primitive

Address
0x6e7a70 · 3048 bytes, up to 0x6e8657
Signature
void __fastcall (const uint64_t *source, const uint64_t *caster, uint32_t spellId, void *msg)
Meaning
Decodes a spell go, reports misses, plays the cast and impacts or missiles, and starts the cast's cooldowns
Confidence
verified, proof one
Finding
spell/go#spell-go-packet

Finding: Spell go packet in spell: go

After the common fields come a 16-bit cast flags word; a hit count byte and that many 64-bit guids; a miss count byte and that many entries of a 64-bit guid and a reason byte, with one more byte when the reason is 11; the target block; and two dwords, ammo display id and ammo inventory type, when the flags have 0x20, else zeros. With no Spell record the handler returns after decoding. The combat log source is the first guid when an object of it is a unit or a game object (type bits 3 or 5), else the second guid.

The derivation is in the doc.

Callers 1

Callees 49

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