benilla-re systems structs docs

RegisterCorpseWatchers

function · objectlayer · orchestration

Address
0x5d5f60 · 53 bytes, up to 0x5d5f94
Signature
void __cdecl ()
Meaning
Puts the flags and dynamic flags watchers on every corpse
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 1

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