DetailDoodadModelLoaded
function · terrain · orchestration
- Address
0x6b24e0· 7 bytes, up to0x6b24e6- Signature
void __fastcall (uint32_t unused, void *record)- Meaning
- Jumps to 0x6b24f0 with the record; the detail model's loaded callback
- Confidence
- verified, proof one
- Finding
- terrain/detail#detail-doodad-model-load
Finding: Detail doodad model load in terrain: detail doodads
A detail model record is three dwords: +0 the GroundEffectDoodad row's model path, +4 the
model, +8 its texture. 0x6b1f80(id) takes the record at [0xcafffc][id]: none gives 0; a record
without a model starts the load and gives 0; one with a model gives CM2Model::IsLoaded(model, 0, 0). The load 0x6b2460 builds World\NoDXT\Detail\ followed by the path as written in a
0x104-byte buffer, creates the model through 0x707350 with flags 0, stores it at +4, and
registers 0x6b24e0 as its loaded callback with the record; it returns 1, or 0 when no model is
made. The callback stores at +8 what 0x6c4c20 returns for a name the model's header holds.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
- CreateDetailDoodadTexture terrain
Calls and jumps by a bare address, from tables/calls.tsv.