CM2Shared::AddInstance
function · models · orchestration
- Address
0x71d5a0· 62 bytes, up to0x71d5dd- Meaning
- Initializes an instance at once when the shared model is loaded, else queues it until the load ends
- 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 1
- CM2Model::Initialize models
Callees 1
- CM2Model::InitializeLoaded models
Calls and jumps by a bare address, from tables/calls.tsv.