benilla-re systems structs docs

Spell_C::Destroy

function · spell · orchestration

Address
0x6e99e0 · 225 bytes, up to 0x6e9ac0
Signature
void __cdecl (void)
Meaning
Clears the 22 spell message handlers and tail-calls 0x6e9ad0
Confidence
verified, proof one
Name from
the community database (idb)
Finding
spell/handlers#system-initialization-and-teardown

Finding: System initialization and teardown in spell: handlers

0x6e7150 registers 22 opcodes with context 0, each pair in the table's order. It zeroes both 1856-entry spell modifier tables, the flag word, the in-flight and saved slots with their guids, the auto-repeat spell, the class family and one more spell id, and registers the CVar autoSelfCast (default "0"). It registers no Lua function. 0x6e99e0 clears the same 22 opcodes and tail-jumps to 0x6e9ad0.

opcodeshandlerstopic
0x1300x6e7330handlers
0x131, 0x1320x6e7640 for bothhandlers, go
0x1e20x6e74f0handlers
0x139, 0x13a0x6e7550, 0x6e75f0handlers
0x1f3, 0x29c, 0x2a7, 0x2b4, 0x3300x6e98d0, 0x6e99d0, 0x6e9790, 0x6e9800, 0x6e9820handlers
0x133, 0x138, 0x173, 0x2a60x6e8d80, 0x6e8eb0, 0x6e97e0, 0x6e8e40failures
0x134, 0xb0, 0x1e10x6e9460, 0x6e95d0, 0x6e9730cooldowns
0x135, 0x1de0x6e9670 for bothcooldowns
0x266, 0x2670x6e9950 for bothrecords

The derivation is in the doc.

Callers 1

Callees 2

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