benilla-re systems structs docs

ReverseScreenFade

function · ui · orchestration

Address
0x4c1280 · 64 bytes, up to 0x4c12bf
Meaning
Turns an active fade around to lighten the screen over the given seconds and then call a callback
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 3

Callees 0

None by a direct call or jump.

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