ApplyCreatureDisplay
function · charactermodel · orchestration
- Address
0x4797b0· 263 bytes, up to0x4798b6- Signature
void __fastcall (void *model, void *display, void *modelData)- Meaning
- Applies a CreatureDisplayInfo row's textures to a model, given its CreatureModelData row
- Confidence
- verified, proof one
- Finding
- charactermodel/equipment#creature-skins
Finding: Creature skins in charactermodel: equipment
0x4797b0(model, display record, model data) binds up to three skin textures of a creature display. The directory is the part of the model data's path (+8) up to its last backslash; each non-empty texture name at display +0x18, +0x1c, +0x20 is joined to it, loaded, and bound to replaceable type 11, 12 or 13. It does nothing when any of the three
arguments is null.
The derivation is in the doc.
Callers 5
- BuildCharSelectModel glue
- CGCharacterModelBase::AttachDisplayModel ui
- CGUnit_C::PostInit objectlayer
- CGUnit_C::Mount objectlayer
- CGUnit_C::OnDisplayChanged objectlayer
Callees 8
- CStatus::~CStatus client
- HandleClose base
- TextureCreate gx
- CGxTexFlags::CGxTexFlags gx
- SStrChrRCopy storm
- SStrCopy storm
- SStrPrintf storm
- CM2Model::SetReplaceableTexture models
Calls and jumps by a bare address, from tables/calls.tsv.