benilla-re systems structs docs

SndInterfacePlayInterfaceSound

function · sound · primitive

Address
0x458030 · 187 bytes, up to 0x4580ea
Meaning
Plays the interface sound of a name unless suppressed or sound effects are off
Confidence
verified, proof one
Name from
the community database (idb)
Finding
sound/interface#interface-sounds-by-name

Finding: Interface sounds by name in sound: the interface

0x458030(name) plays the interface sound of that name: nothing for a null or empty name, while the suppression count is above 0, or while MasterSoundEffects is 0. The name is looked up, case-insensitively, among SoundEntries rows of type 2 (entries#interface-sound-names) and the row's id is played with 0x458850. The suppression count is raised by 0x458f50 and lowered by 0x458f60; the UI load and the enter and leave world paths bracket themselves with the pair, so a PlaySound during them is dropped.

The derivation is in the doc.

Callers 26

Callees 4

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