benilla-re systems structs docs

s_stuckSpellId

global · ui

Address
0xb70098 · 4 bytes, up to 0xb7009b
Type
uint32_t
Meaning
Holds the spell id Stuck casts, stored when a learned spell record has +0xf4 equal 0x54
Confidence
verified, proof one
Finding
ui/cvarverbs#performance-display-and-screenshots

Finding: Performance display and screenshots in ui: CVar, option and engine information verbs

TogglePerformanceDisplay() flips the performance display switch; TogglePerformanceValues() and ResetPerformanceValues() call functions that return at once. Screenshot() installs the one-shot hook 0x4930b0; the frame loop takes the capture after drawing, calls the hook with its result and clears it. The hook signals SCREENSHOT_SUCCEEDED (208) for a nonzero result and SCREENSHOT_FAILED (209) for 0, and only after the interface is up. Stuck() casts the spell remembered for it with no item and no target.

The derivation is in the doc.