benilla-re systems structs docs

Script::TogglePerformanceDisplay

function · ui · primitive

Address
0x489400 · 20 bytes, up to 0x489413
Signature
int __fastcall (lua_State *L)
Meaning
Flips the performance display switch
Confidence
verified, proof one
Name from
the community database (idb)
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.

Callers 0

None by a direct call or jump.

Callees 2

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