benilla-re systems structs docs

StopScreenFade

function · ui · orchestration

Address
0x4c0eb0 · 40 bytes, up to 0x4c0ed7
Meaning
Closes the fade layer, destroys its texture, unregisters its handlers and clears the active bytes
Confidence
verified, proof one
Finding
ui/screenfade#ending-a-fade

Finding: Ending a fade in ui: the screen fade

0x4c1280(callback, argument, seconds) turns an active fade around: it sets the mode to 1, the new duration and callback, clears the clock and the finished byte, and does nothing without a fade. The cinematic calls it when it plays a shot and when it ends, and CGGameUI::Shutdown calls it. 0x4c0eb0 closes the layer handle, destroys the texture, unregisters the event handlers (0x4c0ee0) and clears the active and clock bytes.

The derivation is in the doc.

Callers 2

Callees 3

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