CGCorpse_C::Rebuild
function · objectlayer · orchestration
- Address
0x5d6d60· 125 bytes, up to0x5d6ddc- Signature
void __thiscall (CGCorpse_C *this, uint32_t old)- Meaning
- Replaces the corpse's component, model and node after its flags change
- Confidence
- verified, proof one
- Finding
- objectlayer/corpses#field-watchers
Finding: Field watchers in objectlayer: corpses
Two watchers are put on every corpse's flags at start-up. A change of the flags (offset 0x74)
rebuilds the body; a change of the dynamic flags (offset 0x78) adds or removes the loot sparkle.
Bit 0 of the flags marks a skeleton, bits 3 and 4 hide the helm and the cloak, bit 5 admits the
spell click below; bit 0 of the dynamic flags marks loot.
The derivation is in the doc.
Callers 1
- OnCorpseFlagsChanged objectlayer
Callees 9
- DeleteCharacterComponent charactermodel
- CGCorpse_C::FadeOutNode objectlayer
- CGCorpse_C::IsLootable objectlayer
- CGCorpse_C::AddLootSparkle objectlayer
- CGCorpse_C::RemoveLootSparkle objectlayer
- CGObject_C::SetModel objectlayer
- CGObject_C::CreateNode objectlayer
- CreateModelFromPath models
- HandleClose2 models
Calls and jumps by a bare address, from tables/calls.tsv.