benilla-re systems structs docs

RepaintLoadingScreen

function · loadingscreen · orchestration

Address
0x406900 · 28 bytes, up to 0x40691b
Signature
void __cdecl (void)
Meaning
Recomputes the fraction, calls the paint callback directly and calls device slot +0x68 with 3
Confidence
verified, proof one
Finding
loadingscreen/screen#progress-fraction

Finding: Progress fraction in loadingscreen: screen

The bar's fill is 0x882be4. With the interface progress P (0x882894) zero it is 0.7·A + 0.3·B; otherwise 0.5·P + 0.35·A + 0.15·B, where A is the asynchronous load fraction (0x882bd0) and B the map load fraction (0x882df4). A sum below 0 gives 0, and 1 or above, or a NaN, gives 1. Each input has a setter that stores a new value only when it is greater than the stored one (or a NaN) and then repaints; the loaders call them as progress callbacks.

The derivation is in the doc.

Callers 4

Callees 3

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