benilla-re systems structs docs

UpdateOutdoorArea

function · terrain · orchestration

Address
0x67e7f0 · 325 bytes, up to 0x67e934
Signature
uint8_t __fastcall (uint32_t zoneId, uint32_t leafId, uint32_t mapId)
Meaning
Applies the audio of an outdoor area and sends the zone update when the zone, leaf or map changes
Confidence
verified, proof one
Finding
terrain/zones#outdoor-area-change

Finding: Outdoor area change in terrain: zones

0x67e7f0 compares the zone id, the leaf id and the map id with the cache when the last update was outdoors and returns 0 when all three match. Otherwise it stores them and applies the leaf's audio fields, each from the zone row where the leaf's value is 0: reverb from +0x14 and +0x18, music from +0x20 and +0x24, ambience from +0x1c with the override flag 0. It then sends the zone update and returns 1.

The derivation is in the doc.

Callers 1

Callees 4

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