benilla-re systems structs docs

LightningIndexArrayDelete

function · gx · orchestration

Address
0x7b0d90 · 56 bytes, up to 0x7b0dc7
Signature
void * __thiscall (void *this, uint32_t flags)
Meaning
Frees an index array's data and the array itself when bit 0 of flags is set
Confidence
verified, proof one
Finding
gx/lightning#bolt-update

Finding: Bolt update in gx: lightning

0x7af9b0(dt) runs when flag bit 1 is set. With a non-zero period the clock +0x60 becomes fmod(dt + clock, period), otherwise 0. With the rebuild bit set it rebuilds the centre line, sizes the ribbon arrays for 2 * points vertices, writes texture coordinates (the pair at vertex k gets u = k / (2 * points - 2), v 0 and 1; the first two vertices (0, 0.5), the last two (1, 0.5)) and the indices 0, 1, 2, ..., and clears the bit. Every update then builds a second centre line and sets each interior point to 0.75 * old + 0.25 * new.

The derivation is in the doc.

Callers 1

Callees 1

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