benilla-re systems structs docs

FreeBoltArray

function · spell · host

Address
0x6ed060 · 23 bytes, up to 0x6ed076
Signature
void __thiscall (uint32_t *this)
Meaning
Frees a bolt array's data when present, tagged with the Bolt type name
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 1

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