benilla-re systems structs docs

UnregisterFadeEvents

function · ui · orchestration

Address
0x4c0ee0 · 105 bytes, up to 0x4c0f48
Meaning
Unregisters the no-op handler from event categories 1, 8, 10, 9, 11, 14 and 12
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 1

Callees 1

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