benilla-re systems structs docs

SndInterfaceAssociateSoundWithObject

function · sound · orchestration

Address
0x458b90 · 80 bytes, up to 0x458bdf
Meaning
Places a sound at an object and hands the engine the object's GUID
Confidence
verified, proof one
Name from
the community database (idb)
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 2

Callees 2

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