benilla-re systems structs docs

OnScreenshotDone

function · ui · orchestration

Address
0x4930b0 · 29 bytes, up to 0x4930cc
Signature
void __fastcall (uint32_t succeeded)
Meaning
Signals SCREENSHOT_SUCCEEDED or SCREENSHOT_FAILED once the interface is up
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.

Callers 0

None by a direct call or jump.

Callees 1

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