benilla-re systems structs docs

CGObject_C::SetReleasePending

function · objectlayer · primitive

Address
0x614f50 · 42 bytes, up to 0x614f79
Signature
void __thiscall (CGObject_C *this, uint32_t pending)
Meaning
Sets or clears bit 0x10 of +0xe4, the release-pending flag
Confidence
verified, proof one
Finding
objectlayer/manager#releasing-an-object

Finding: Releasing an object in objectlayer: manager

Releasing takes a live object out of the world without freeing it. An object with a nonzero hold count (+0xe8) only gets its release-pending bit, 0x10 of +0xe4, and stays live. Otherwise the bit is cleared, its per-GUID record is forgotten, its vtable slot 1 runs, its watchers are freed, and it moves from the live table and the object list into the released table and onto the reuse list of its type. The out-of-range list and the destroy message release this way (update).

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

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