CGCorpse_C::AddLootSparkle
function · objectlayer · orchestration
- Address
0x5d6e30· 75 bytes, up to0x5d6e7a- Signature
void __thiscall (CGCorpse_C *this)- Meaning
- Makes the Loot Art model once and attaches it at attachment 19
- Confidence
- verified, proof one
- Finding
- objectlayer/corpses#the-loot-sparkle
Finding: The loot sparkle in objectlayer: corpses
A corpse with loot carries an extra model, the Loot Art effect model (hard-coded effect 4),
attached to attachment 19 of the body. 0x5d6e30 makes it once, 0x5d6e80 detaches and frees
it. It exists from creation and reactivation while bit 0 of the dynamic flags is set, and follows
that bit through the watcher.
The derivation is in the doc.
Callers 4
- CGCorpse_C::OnCreate objectlayer
- CGCorpse_C::Reactivate objectlayer
- CGCorpse_C::Rebuild objectlayer
- CGCorpse_C::OnDynamicFlagsChanged objectlayer
Callees 4
- GetHardcodedEffectRecord objectlayer
- CreateModelFromPath models
- CM2Model::GetScene models
- CM2Model::Attach models
Calls and jumps by a bare address, from tables/calls.tsv.