benilla-re systems structs docs

CGCorpse_C::OnDynamicFlagsChanged

function · objectlayer · orchestration

Address
0x5d6de0 · 58 bytes, up to 0x5d6e19
Signature
void __thiscall (CGCorpse_C *this, uint32_t old)
Meaning
Adds or removes the loot sparkle when the lootable bit changed
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

Callees 3

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