benilla-re systems structs docs

LightningRendererDestroyBolt

function · gx · orchestration

Address
0x7b0ac0 · 263 bytes, up to 0x7b0bc6
Signature
void __thiscall (void *this, uint32_t handle)
Meaning
Destroys a lightning bolt by handle
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 2

Callees 3

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