benilla-re systems structs docs

s_pendingCast

global · spell

Address
0xceac48 · 256 bytes, up to 0xcead47
Type
PendingSpellCast
Meaning
Holds the pending cast: item or caster guid, caster guid +0x08, spell +0x10, mask +0x14, targets, text +0x70
Confidence
verified, proof one
Finding
spell/cast#the-pending-cast-record

Finding: The pending cast record in spell: cast

0xceac48 is a 256-byte record the attempt zeroes and fills before targeting: +0x00 the guid of the item cast with, else the caster's; +0x08 the caster's guid; +0x10 the spell id. The binder (targeting) adds the target mask at +0x14 (16 bits), an object guid at +0x18, an item guid at +0x20, two positions at +0x30 and +0x3c, and the arm a 128-byte text at +0x70. The send reads the whole record. +0x08 gates the cancel's events, which clear it.

The derivation is in the doc.