s_lastSentSpellId
global · spell
- Address
0xcead5c· 4 bytes, up to0xcead5f- Type
uint32_t- Meaning
- Holds the spell the last request sent; 0 at load, zeroed by 0x6e4b60 and set by 0x6e54f0
- Confidence
- verified, proof one
- Finding
- spell/cast#cast-attempt-commit
Finding: Cast attempt commit in spell: cast
A passing attempt plays the item's use sound (0x457fb0(2, item)), else GAMEABILITYACTIVATE
for Attributes 0x10 and GAMESPELLACTIVATE otherwise. It fills the record, sets 0xcecaa4 to
"no item or item flag 0x40, and the caster is the active player", zeroes 0xcead5c, and pushes the
spell as in flight when the caster's slot +0xb4 returns at least 0 or the spell has
Attributes 0x404, and there is no item or the item has flag 0x40. Then the arm runs. When it
returns 1 the attempt finishes; when it returns 0 the attempt refuses or raises the cursor
(Targeting refusal or cursor). It finishes by starting a melee attack when the spell was sent,
0x6e5200 holds and 0x6e5230 does not, and calls 0x4b3250.
The derivation is in the doc.