benilla-re systems structs docs

GetSoundObjectPosition

function · sound · orchestration

Address
0x458bf0 · 86 bytes, up to 0x458c45
Meaning
Finds an object by GUID and returns its position; returns whether it exists
Confidence
verified, proof one
Finding
sound/entries#sounds-that-follow-objects

Finding: Sounds that follow objects in sound: sound entries and plays

SndInterfaceAssociateSoundWithObject(sound, object) places a sound at the object and gives the engine its GUID; a null object clears the GUID. The unit sound code installs 0x458bf0 as the engine's position callback through 0x458be0 and removes it through 0x458c50; the callback finds the object by GUID and returns its position.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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