CM2Shared::ReadSync
function · models · host
- Address
0x71d610· 39 bytes, up to0x71d636- Meaning
- Reads the whole file into the shared model's buffer, then finishes loading
- Confidence
- verified, proof one
- Finding
- models/shared#loading
Finding: Loading in models: the shared model
Load(file, loose) records loose != 0 as flag 2, allocates a buffer of the file's size and queues
a read request whose completion closes the file and finishes the load, whatever the flag (0x71d590). Finishing fixes up the header, initializes the view, sets the loaded flag and initializes
every instance that was waiting. An instance added after the load initializes at once.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- SFile::Read storm
- CM2Shared::OnReadDone models
Calls and jumps by a bare address, from tables/calls.tsv.