benilla-re systems structs docs

Sand::Render

function · lighting · orchestration

Address
0x67a520 · 54 bytes, up to 0x67a555
Signature
void __thiscall (Sand *this)
Meaning
Updates the sand, then draws its grains and mist when weather is visible
Confidence
verified, proof one
Finding
lighting/weather#weather-visibility

Finding: Weather visibility in lighting: weather

Weather draws only when the frame's visibility byte is set. The map object frame clears it; the world sets it when the camera is outside every map object group, and the portal walk sets it on reaching a group whose flags hold 0x148, or 0x40000 with a set byte in its record. Each effect's packet update runs before the test, so drops keep falling unseen indoors; the mist spawns and moves only in its draw, after the test, so it stops while unseen.

The derivation is in the doc.

Callers 1

Callees 4

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