benilla-re systems structs docs

s_castFailureCleanupJumpTable

global · spell

Address
0x6e225c · 12 bytes, up to 0x6e2267
Type
void *[3]
Meaning
Holds the failure reporter's three cleanup cases for reasons 0x2f to 0x7c
Confidence
verified, proof one
Finding
spell/failures#player-unit-cleanup

Finding: Player unit cleanup in spell: failures

When the active player exists, the reporter first, if the spell equals its unit's +0xc8c, calls 0x60d040(spell, 1, 1), 0x614150(spell, 0) and 0x5fd9e0(−1) on the unit. Then, whatever +0xc8c holds, reason 0x2f calls 0x4b5390(0x2c, 0) and 0x60f530; 0x30, 0x31, 0x59, 0x76 and 0x7c call 0x60f530 alone; other reasons call neither. When the spell is the auto-repeat spell, reason 0x17 DONT_REPORT returns at once and every other reason calls 0x6ea080 (cast). After this, reason 0x17 returns in every case: no text, message, log line or event.

The derivation is in the doc.