CopyFogSubrecords
function · terrain · orchestration
- Address
0x69e240· 55 bytes, up to0x69e276- Signature
void __thiscall (void *this, const void *src)- Meaning
- Copies two 12-byte fog sub-records
- Confidence
- verified, proof one
- Finding
- terrain/lights#camera-interior-fog
Finding: Camera interior fog in terrain: map lights
0x69de20(record, instance, byte, container) evaluates the fog of the map object holding the camera.
With no claim 0xc7b748, no model or exactly one MFOG record (the count at model +0x190) it returns
0 and writes nothing. Otherwise byte is 1 when at least one group of the camera set 0xc7cd88 is
flagged without 0x48, and with byte set the claim goes to instance and 0xc7cd80 to container.
Either way the 0x30-byte record then starts as MFOG[0] (flags, position, radii +0x10 and +0x14,
and the sub-records of end, start fraction and colour at +0x18 dry and +0x24 underwater) and
the result is 1 (Fog record blend).
The derivation is in the doc.
Callers 1
- GetCameraInteriorFog terrain
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.