benilla-re systems structs docs

ForEachChunkDef

function · terrain · orchestration

Address
0x69dd70 · 165 bytes, up to 0x69de14
Signature
uint32_t __thiscall (void *this, void *b, void *c, uint32_t arg4, uint32_t arg5)
Meaning
Runs the group liquid search over each of an indoor entity's map object groups
Confidence
verified, proof one
Finding
terrain/world#nearest-liquid

Finding: Nearest liquid in terrain: world

0x6723f0 returns 1 after filling an out array of 12 dwords with the nearest liquid per type around a point. The local search state starts as 12 dwords of 0x7f7fffff and the caller's array as zero. An indoor entity first runs 0x69dd70 over its map object groups with a counter of 9999; when the counter stays below 2 or the entity is outdoors, the terrain search 0x68af10 runs.

The derivation is in the doc.

Callers 1

Callees 2

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