benilla-re systems structs docs

LightningObject::InitBolts

function · spell · primitive

Address
0x6ec980 · 158 bytes, up to 0x6eca1d
Signature
void __thiscall (LightningObject *this, void *caster, const uint64_t *targets, uint32_t count, const void *chainRecord)
Meaning
Stores the targets' GUIDs reversed after the caster and gives hop i its endpoints and staggered start and end
Confidence
verified, proof one
Finding
spell/visuals#chain-hop-table

Finding: Chain hop table in spell: visuals

0x6ec980 fills the GUID array as [caster, t[n−1], …, t[0]], reversing the target list, and gives hop i (0 to n − 1) the endpoints i and i + 1, the start now + i·stagger, the end start + life and no renderer handle (-1); stagger is the chain record's +0x18 and life its +0x14, as 32-bit integers.

The derivation is in the doc.

Callers 1

Callees 1

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