benilla-re systems structs docs

CGUnit_C::Release

function · objectlayer · primitive

Address
0x5fbb60 · 498 bytes, up to 0x5fbd51
Meaning
Tears a leaving unit's client state down: plate, name, mover, tokens, effects, node, sounds (slot 1)
Confidence
verified, proof one
Finding
objectlayer/units#lifecycle

Finding: Lifecycle in objectlayer: units

0x5fb880(time, a, spawned) runs after creation: it resolves the display, gives the body its callbacks, textures and sounds, sizes the mover, finds the race's sound race, sets up mount, death time and loot sparkle, picks the first animation, and refreshes markers, tokens, name, breath, auras and channel. Slot 1 tears a unit's client state down when it leaves; slot 2 rebuilds its name and facings when it returns; slot 3 refreshes what an update may have changed.

The derivation is in the doc.

Callers 1

Callees 30

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