benilla-re systems structs docs

CM2Shared::FinishLoad

function · models · primitive

Address
0x71d640 · 116 bytes, up to 0x71d6b3
Meaning
Fixes up the header, selects a view, marks the model loaded and initializes the queued instances
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

Callees 3

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