benilla-re systems structs docs

CGUnit_C::DeletingDestructor

function · objectlayer · orchestration

Address
0x5fb1d0 · 43 bytes, up to 0x5fb1fa
Meaning
Destroys a unit and frees it when bit 0 of the argument is set (vtable slot 0)
Confidence
verified, proof one
Finding
objectlayer/units#the-unit-object

Finding: The unit object in objectlayer: units

0x5fad50(a, block) builds the object part, points +0x118 at the CMovement it builds at +0x9a8, empties the 182 watcher lists from +0x11c, sets the unit members and the vtable, and reads the update's movement block (0x5ff070). 0x5fb5e0 tears it down in the reverse order. Vtable slots 0 to 3 are the deleting destructor, release, reactivation and the post-update pass.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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