benilla-re systems structs docs

CGObject_C::IsHeld

function · objectlayer · primitive

Address
0x614f00 · 15 bytes, up to 0x614f0e
Signature
uint32_t __thiscall (CGObject_C *this)
Meaning
Returns 1 when the object's hold count +0xe8 is nonzero
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.