benilla-re systems structs docs

LightningBolt::~LightningBolt

function · gx · orchestration

Address
0x7af660 · 105 bytes, up to 0x7af6c8
Signature
void __thiscall (LightningBolt *this)
Meaning
Releases a bolt's texture handle and frees its four arrays
Confidence
verified, proof one
Finding
gx/lightning#renderer-and-bolt-objects

Finding: Renderer and bolt objects in gx: lightning

The renderer is 32 bytes: a bolt-pointer array (+4 count, +8 data) and a free-handle array (+0x14 count, +0x18 data). A bolt is 0x74 bytes: +0 start, +0xc end, +0x18 segment length, +0x1c width, +0x20 colour (alpha at +0x23), +0x24 jitter scale, +0x28 period in seconds, +0x2c a float nothing reads, +0x30, +0x3c, +0x48 and +0x54 four arrays (below), +0x60 the clock, +0x64 the texture handle, +0x68 and +0x6c a callback and its argument, +0x70 flags: bit 0 rebuild, bit 1 active. A new bolt has width 1.0 and flags 1, so it is drawn only after ShowBolt.

The derivation is in the doc.

Callers 1

Callees 2

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