benilla-re systems structs docs

CGGameObject_C::ApplyArtKit

function · objectlayer · primitive

Address
0x5f7b00 · 279 bytes, up to 0x5f7c16
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

Callees 10

Calls and jumps by a bare address, from tables/calls.tsv.