benilla-re systems structs docs

HandleClose

function · base

Address
0x41aed0 · 19 bytes, up to 0x41aee2
Meaning
Closes a handle
Confidence
inferred
Name from
the community database (idb)
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 101

Callees 1

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