CGGameObject_C::ApplyArtKit
function · objectlayer · primitive
- Address
0x5f7b00· 279 bytes, up to0x5f7c16- Signature
void __fastcall (CM2Model *model, uint32_t artKit)- Meaning
- Puts an art kit on a model: detaches points 0 to 3, then its textures and attached models
- Confidence
- verified, proof one
- Finding
- objectlayer/gameobjecttypes#art-kits
Finding: Art kits in objectlayer: game object types
GAMEOBJECT_ARTKIT names a GameObjectArtKit row: its three textures replace the model's
textures 11 to 13 and its four models attach at points 0 to 3. The model's four attachments go
first; an art kit of 0 or without a row leaves none.
The derivation is in the doc.
Callers 2
- CGGameObject_C::OnModelLoaded objectlayer
- OnGameObjectArtKitChanged objectlayer
Callees 10
- CStatus::~CStatus client
- HandleClose base
- TextureCreate gx
- CGxTexFlags::CGxTexFlags gx
- CreateModelFromPath models
- HandleClose2 models
- CM2Model::GetScene models
- CM2Model::SetReplaceableTexture models
- CM2Model::Attach models
- CM2Model::DetachAt models
Calls and jumps by a bare address, from tables/calls.tsv.