benilla-re systems structs docs

SpellVisualsInitialize

function · spell · orchestration

Address
0x6ec0e0 · 77 bytes, up to 0x6ec12c
Signature
void __cdecl (void)
Meaning
Creates the lightning renderer 0xcee948 and stores the spellEffectLevel CVar record in 0xcee9a8
Confidence
verified, proof one
Finding
spell/visuals#startup-and-shutdown

Finding: Startup and shutdown in spell: visuals

At startup 0x6ec0e0 allocates the 32-byte lightning renderer, constructs it with 0x7b0760 and stores it in 0xcee948 (0 when the allocation fails), then stores the spellEffectLevel CVar's record in 0xcee9a8. At context stop 0x6ec130, in order: destroys and frees every LightningObject whatever its reference count; destroys and frees the renderer; sets the last-update time 0x870e20 to -1; destroys every BlizzardObject and returns it to its pool; frees both pools' blocks; clears 0xcee9a8. It leaves 0xcee948 holding the freed pointer.

The derivation is in the doc.

Callers 1

Callees 3

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