benilla-re systems structs docs

CGObject_C::~CGObject_C

function · objectlayer · orchestration

Address
0x613b40 · 429 bytes, up to 0x613cec
Signature
void __thiscall (CGObject_C *this)
Meaning
Releases the node, models, missiles, effects and watcher lists and unlinks from the manager
Confidence
verified, proof one
Finding
objectlayer/objectbase#destruction

Finding: Destruction in objectlayer: the base object

0x613b40 runs when an object is freed. It restores the base vtable, releases the world node (0x6140a0), clears the loaded, done and event callbacks of both models and closes them, frees every missile on +0xac and +0xb0 (0x6140c0, 0x6140f0), unlinks and releases every effect on +0xb4 (0x614120), empties the six watcher lists, and unlinks the manager links +0x40, +0x38, +0x24 and +0x1c.

The derivation is in the doc.

Callers 6

Callees 11

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