CM2Model::SetLoadedCallback
function · models · orchestration
- Address
0x7105a0· 24 bytes, up to0x7105b7- Meaning
- Stores an instance's loaded callback and runs it at once when the instance is loaded
- Confidence
- verified, proof one
- Finding
- models/model#load-state
Finding: Load state in models: the instance
IsLoaded(wait, recursive) returns whether the shared model is loaded, waiting for it first when
asked, and with recursive also whether every child is; the first success latches a flag.
IsReady also requires every texture of the instance and its children to be loaded. The loaded
callback runs once the instance is loaded, then the instance's parent's, up the chain.
The derivation is in the doc.
Callers 7
- CGObject_C::~CGObject_C objectlayer
- CGObject_C::SetModel objectlayer
- CGObject_C::SetModel2 objectlayer
- CEffect::Stop objectlayer
- LoadDetailDoodadModel terrain
- SimpleModelSetModel ui
- CParticleEmitter2::LoadChildModel models
Callees 1
- CM2Model::RunLoadedCallbacks models
Calls and jumps by a bare address, from tables/calls.tsv.