s_gameUiReady
global · ui
- Address
0xb4e36c· 4 bytes, up to0xb4e36f- Type
uint32_t- Meaning
- Holds 1 once the game interface is built, cleared at shutdown
- 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.