s_groupLiquidTypeArms
global · models
- Address
0x6ba16c· 4 bytes, up to0x6ba16f- Type
uint8_t[4]- Meaning
- Holds the dispatch arm of each liquid type 0 to 3 of a group's liquid query: 0, 2, 1, 1
- Confidence
- verified, proof one
- Finding
- terrain/camstate#camera-liquid-state
Finding: Camera liquid state in terrain: camera state
0x672470(depth out) returns the liquid type at the camera, 0xf when dry, and stores the depth in
the out argument when it is nonnull. Two writers set the state: 0x6806d3 once at start-up (0xf) and
0x680b81 every frame in 0x6809c0. Nine calls and seven direct reads use it, and
nothing else: the order of the two model transparent passes around the water (0x4836d1), the sky
dome and the clear colour (0x6812a4, 0x68123f), the drift cloud (0x66feec, 0x6701ec), the
light selection (0x6d226e), the magma fog snap (0x6ceec1), the glare fade (0x6cf810), the sound
reverb (0x511a8b) and the effect passes (0x6cb16d, 0x6cb5c6, 0x6cc5c2, 0x6cc63f).
The derivation is in the doc.