benilla-re systems structs docs

s_kitCharProcIndexTable

global · objectlayer

Address
0x60dc20 · 16 bytes, up to 0x60dc2f
Type
uint8_t[16]
Meaning
Maps kit procedure kinds 0 to 15 to the cases of 0x60d7c0's switch
Confidence
verified, proof one
Finding
spell/visuals#chain-effect-creation

Finding: Chain effect creation in spell: visuals

Kit procedure kinds 0 and 12 call 0x6ecb90 with the chain id, strand count and persistent flag from params 0, 1 and 2 (each low byte of bits(f32(p + 512.0)) >> 14, the flag that byte's being nonzero), the targets and the spell. For each strand up to 3, 0x6ecbd0 allocates a 0x50-byte LightningObject with one reference, links it at the tail, and stores the GUIDs, the end now + n·life, the record's fields 1 to 4, life·0.001f, its texture, spell and flag. A persistent object gains a reference and fills the owner's next slot. It returns at once for a null caster or targets, no targets, spell 0, no strands, or a chain id with no record.

The derivation is in the doc.