benilla-re systems structs docs

CM2Model::InitializeLoaded

function · models · primitive

Address
0x70ebd0 · 5885 bytes, up to 0x7102cc
Meaning
Builds an instance's animation state once its shared model is loaded, then replays its deferred calls
Confidence
verified, proof one
Finding
models/model#deferred-calls
Test
models::part_span_deltas_difftest

Finding: Deferred calls in models: the instance

A call that changes animation state while the shared model is loading appends an 80-byte record: its kind, the scene clock at the time, and its arguments. When the load ends, the instance builds its state, plays its default animation, and replays the queue in order with the scene clock set back to each record's time.

kindcall
0SetReplaceableTexture
1SetGeosetRange
2BuildBatches
3SetKeyBoneFlags
4PlayAnimation
5, 6SetKeyBoneAnimTime, SetKeyBoneAnimSpeed
7SetKeyBoneOverride
8SetLightEnabled
9Update

The derivation is in the doc.

Callers 2

Callees 79

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