benilla-re systems structs docs

Sand::~Sand

function · lighting · host

Address
0x679290 · 232 bytes, up to 0x679377
Signature
void __thiscall (Sand *this)
Meaning
Releases the sand effect's shader, frees its packets and its mist
Confidence
verified, proof one
Finding
lighting/precipitation#effect-objects

Finding: Effect objects in lighting: precipitation

An effect starts with two bytes, uses-shaders and stopping, then its box as minimum and maximum corners, its mist at +0x1c, and its packet lists. The shader byte is set, then cleared when a vertex shader fails to load or a needed device capability is missing, or when useWeatherShaders is 0. Rain's box is 130 × 130 × 75 and it loads rain.bls and patter.bls; snow's is 90 × 90 × 60 with snowpoint.bls; sand's 40 × 40 × 25 with sand.bls.

The derivation is in the doc.

Callers 1

Callees 8

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