benilla-re systems structs docs

CreateLoadingScreen

function · loadingscreen · orchestration

Address
0x406800 · 248 bytes, up to 0x4068f7
Signature
void __cdecl (void)
Meaning
Creates the layer, bar textures and input veto when absent, resets the inputs and repaints
Confidence
verified, proof one
Finding
loadingscreen/screen#raising-the-screen

Finding: Raising the screen in loadingscreen: screen

0x406800 clears bit 0 of the layer's flags (0x4083c0 with cl = 0), zeroes the three progress inputs, and, when no screen exists, loads the two bar textures into 0x882da8 and creates the layer: rectangle (0, 0, 1, 1), flags 6, priority 9.0, parameter 0, paint callback 0x406a60, the handle stored at 0x882be0. It then installs the input veto. Every call ends by repainting at once (0x406900), so a raise while a screen is up resets the inputs and repaints. An arrival aboard a transport sets bit 0 instead; the layer walk skips a call to 0x65bd90 for a layer that has it.

The derivation is in the doc.

Callers 3

Callees 7

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