benilla-re systems structs docs

s_spellEffectLevelCVar

global · spell

Address
0xcee9a8 · 4 bytes, up to 0xcee9ab
Type
void *
Meaning
Holds the spellEffectLevel CVar record; written by 0x6ec0e0 and cleared by 0x6ec130
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.