M2AllocBuffer
function · models · primitive
- Address
0x71f9a0· 41 bytes, up to0x71f9c8- Meaning
- Allocates a buffer of a byte count for a model
- 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 3
- CM2Model::InitializeLoaded models
- CM2Model::SetKeyBoneOverride models
- CM2Shared::Load models
Callees 1
- SMemAlloc storm
Calls and jumps by a bare address, from tables/calls.tsv.