benilla-re systems structs docs

LightningObject::AddRef

function · spell · primitive

Address
0x6ed020 · 4 bytes, up to 0x6ed023
Signature
void __thiscall (LightningObject *this)
Meaning
Increments the reference count +0x4c
Confidence
verified, proof one
Finding
spell/visuals#chain-lifetime

Finding: Chain lifetime in spell: visuals

A LightningObject starts with one reference, the list's; a persistent one gains a second for its owner. The update's zero unlinks it and drops the list's. The owner's teardown calls 0x6ece10 on each of its three slots and clears them: the chain becomes non-persistent with its end set to now, and drops the owner's reference. At zero references 0x6ecf40 destroys every bolt, frees both arrays, closes the texture and unlinks, and the memory is freed.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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