AsyncFileReadWaitAll
function · client
- Address
0x443d30· 225 bytes, up to0x443e10- Signature
void __cdecl (void)- Meaning
- Services the asynchronous reader until nothing is pending, reporting progress to the wait callback
- Confidence
- verified, proof one
- Finding
- glue/enterworld#waiting-for-every-read
Finding: Waiting for every read in glue: entering and leaving the world
0x443d30 blocks until the asynchronous reader is idle. It first adds up the pending counts the
registered counters of the array 0x885658 report into a total, then, while a load is pending, services the
reader, reports progress through the callback 0x885668 when one is set, as
(total − c) / total clamped to [0, 1], c being the dword 0x88567c at that moment, which starts at
the total, and sleeps 1 ms. It clears the callback when done.
Its two diagnostic lines go to the empty print.
The derivation is in the doc.
Callers 8
- LoadNewWorld client
- ClientContextStop client
- Script::SetCurrentScreen glue
- PlayCinematicShot ui
- EndCinematic ui
- CGGameUI::Shutdown ui
- CMap::Load terrain
- CMap::Unload terrain
Callees 4
- OsSleep os
- DebugPrintStub unassigned
- IsAsyncLoadPending client
- 0x443e70 client
Calls and jumps by a bare address, from tables/calls.tsv.