benilla-re systems structs docs

CGObject_C::SetHold

function · objectlayer · primitive

Address
0x614f10 · 42 bytes, up to 0x614f39
Signature
void __thiscall (CGObject_C *this, uint32_t take)
Meaning
Increments the hold count +0xe8 for a nonzero argument, else decrements it when nonzero
Confidence
verified, proof one
Finding
objectlayer/manager#holding-an-object

Finding: Holding an object in objectlayer: manager

A hold keeps a live object from being released while some code still points at it. Taking a hold increments the object's hold count; dropping one decrements it, and when the count reaches zero with the release-pending bit set, the object is released then.

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.