SetSoundGhost
function · sound · orchestration
- Address
0x458680· 33 bytes, up to0x4586a0- Meaning
- Stores the ghost state and on a change restarts the zone music and refreshes the ambience
- Confidence
- verified, proof one
- Finding
- sound/interface#state-the-other-files-read
Finding: State the other files read in sound: the interface
0x458650(submerged) and 0x458680(ghost) store a boolean at 0x835a44 and 0x835a48 when it
changes. A submerged change swaps the ambience at once, tells the water sounds and reselects the
reverb; a ghost change restarts the zone music within 3 s and refreshes the ambience with a fade.
0x4586b0(sound) keeps the weather message's sound and refreshes the ambience when it changes; the
world load and unload pass 0.
The derivation is in the doc.
Callers 1
- CGPlayer_C::UpdateGhostState objectlayer
Callees 2
- RestartZoneMusicForGhost sound
- RefreshAmbienceForGhost sound
Calls and jumps by a bare address, from tables/calls.tsv.