benilla-re systems structs docs

PlaySoundLoop2D

function · sound · primitive

Address
0x458900 · 143 bytes, up to 0x45898e
Meaning
Opens a sound id as a 2D loop on bus 0 with the ambience and no-category flags
Confidence
verified, proof one
Finding
sound/entries#looped-plays

Finding: Looped plays in sound: sound entries and plays

0x458900(id, ambience, noCategory) opens a definition's file as a 2D loop on bus 0, with flag 0x8 for ambience and 0x10 for noCategory, sets the volume and pitch, and unpauses. 0x4588f0 is the ambience form; 0x458990 is the cinematic sequence's sound. 0x4589a0(id, pos) opens a 3D loop at a position. 0x458ab0(object, id, seconds, index) opens a 3D loop at the object, fades it in from 0 to level 255 over seconds, and makes it follow the object; the fade ends at volume 1.0 whatever the definition says. The dynamic object code passes 2.0 s.

The derivation is in the doc.

Callers 2

Callees 7

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