CM2Model::WaitForShared
function · models · host
- Address
0x710520· 54 bytes, up to0x710555- Meaning
- Blocks until the shared model's file read finishes, logging a stall with the caller's name
- 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 41
- CM2Model::IsLoaded models
- CM2Model::IsReady models
- CM2Model::GetModelName models
- CM2Model::GetFileName models
- CM2Model::GetHeader models
- CM2Model::GetReplaceableTexture models
- CM2Model::HasGeoset models
- CM2Model::HasAnimation models
- CM2Model::CountVariations models
- CM2Model::GetSequenceInfo models
- CM2Model::HasKeyBone models
- CM2Model::GetKeyBonePivot models
- CM2Model::GetKeyBonePosition models
- CM2Model::GetKeyBoneMatrix models
- CM2Model::GetKeyBoneFlags models
- CM2Model::GetKeyBoneAnimState models
- CM2Model::GetKeyBoneAnimId models
- CM2Model::GetKeyBoneAnimTime models
- CM2Model::GetKeyBoneAnimSpeed models
- CM2Model::GetKeyBoneOverride models
- CM2Model::HasAttachment models
- CM2Model::GetAttachmentOffset models
- CM2Model::GetAttachmentPosition models
- CM2Model::GetAttachmentMatrix models
- CM2Model::HasEvent models
- CM2Model::GetEventOffset models
- CM2Model::GetEventPosition models
- CM2Model::GetEventMatrix models
- CM2Model::GetLightCount models
- CM2Model::GetLightEnabled models
- CM2Model::GetCameraCount models
- CM2Model::HasCamera models
- CM2Model::GetCameraById models
- CM2Model::GetCamera models
- CM2Model::GetParticleEmitterCount models
- CM2Model::GetParticleEmitter models
- CM2Model::GetBoundingBox models
- CM2Model::GetBoundingSphere models
- CM2Model::GetCollisionBox models
- CM2Model::GetCollisionSphere models
- CM2Model::GatherCollisionFacets models
Callees 2
- DebugPrintStub unassigned
- AsyncFileReadWait client
Calls and jumps by a bare address, from tables/calls.tsv.