UpdateCharacterComponent
function · charactermodel · orchestration
- Address
0x477860· 516 bytes, up to0x477a63- Signature
bool __thiscall (void *this, bool force)- Meaning
- Updates a character component's model from its state; glue passes 1
- Confidence
- verified, proof one
- Finding
- charactermodel/component#update-driver
Finding: Update driver in charactermodel: component
0x477860(force) brings a component up to date and returns whether the model may draw. A component with a baked skin only picks geosets. Otherwise, with no dirty mask and no
full rebuild it picks geosets; with a mask and no rebuild it loads the sections and, when they are all ready, composites the dirty groups; a full rebuild needs, unless force, a load counter under 0x100, and
returns 0 when any section is not ready. A composite creates the target on first use, runs the handler of every set bit, and uploads each handled tile on an incremental pass or the whole target on a full one.
The derivation is in the doc.
Callers 13
- BuildCreateCharacter glue
- UpdateCreateScene glue
- UpdateCharSelectScene glue
- EnterWorldUI ui
- DressUpModelUpdateTransform ui
- CGCharacterModelBase::AttachUnitModel ui
- DrainPortraitList ui
- BakePortrait ui
- CGCorpse_C::IsDrawn objectlayer
- CGCorpse_C::FadeOutNode objectlayer
- CGPlayer_C::RefreshCharacterComponent objectlayer
- CGUnit_C::ReleaseWorldNode objectlayer
- CGUnit_C::OnModelUpdate objectlayer
Callees 11
- TextureCreateNamedBlank gx
- GetTextureDeviceObject gx
- LoadSkinSections charactermodel
- LoadEquipmentSections charactermodel
- SelectGeosets charactermodel
- ReleaseEquipmentCells charactermodel
- 0x47b200 gx
- CGxTexFlags::CGxTexFlags gx
- GxTexUpdateRect gx
- GxTexSetCallback gx
- CM2Model::SetReplaceableTexture models
Calls and jumps by a bare address, from tables/calls.tsv.