benilla-re systems structs docs

GetNextLightningObjectLink

function · spell · orchestration

Address
0x6ed410 · 41 bytes, up to 0x6ed438
Signature
uint32_t * __thiscall (uint32_t *this, int32_t linkOffset)
Meaning
Returns the link after a chain link, or the untagged terminator
Confidence
verified, proof one
Finding
spell/visuals#list-and-array-helpers

Finding: List and array helpers in spell: visuals

A link is two dwords at the node's start: the previous link's address, and the next node or the terminator's address with bit 0 set. Unlinking repairs both neighbours and zeroes the pair. A chain's GUID and hop arrays hold capacity, count, data and a growth quantum. Growing to m with rounding rounds m up to the quantum: the stored one, or for 0 the largest power of two not above m when m is below 32 (16 for hops), else 32 (16), which is stored. The data is reallocated in place, or allocated, copied and the old block 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.