StartScreenFade
function · ui · orchestration
- Address
0x4c0d10· 226 bytes, up to0x4c0df1- Meaning
- Replaces any fade with one that darkens the screen over the given seconds and then calls a callback
- Confidence
- verified, proof one
- Finding
- ui/screenfade#starting-a-fade
Finding: Starting a fade in ui: the screen fade
0x4c0d10(callback, argument, seconds) replaces any fade (0x4c0eb0), creates an 8 by 8 texture, a screen layer of the unit square at priority 10.0 with 0x4c0f50 as its draw, registers the no-op event handlers (0x4c0e00) and sets the mode to 2. The layer flags are 6 for a duration of 0 and 7 otherwise. The cinematic start calls it with the callback 0x48edd0 and 0.25 seconds, and so does EnterWorldUI when a cinematic is running.
The derivation is in the doc.
Callers 4
Callees 5
- ScrnLayerCreate unassigned
- RegisterFadeEvents ui
- StopScreenFade ui
- CGxTexFlags::CGxTexFlags gx
- GxTexCreate2D gx
Calls and jumps by a bare address, from tables/calls.tsv.