benilla-re systems structs docs

Sound::Sound

function · sound · primitive

Address
0x7a4180 · 123 bytes, up to 0x7a41fa
Meaning
Zeroes a sound record, sets channel and hash -1, volume and gain 1.0 and frequency 22050
Confidence
verified, proof one
Finding
sound/engine#the-sound-object

Finding: The sound object in sound: the engine

A Sound is a 0x90-byte record from a pool of 40-record blocks. It holds six list links (+0x00 every sound, +0x08 fades, +0x10 objects that move, +0x18 panning, +0x20 distance cutoff, +0x28 ended), the FMOD channel (+0x30, −1 when none) and stream (+0x34), the flags (+0x38), the fade state (+0x40 start, +0x44 level, +0x48 rate per ms), the position (+0x50) and velocity (+0x5c), the object GUID it follows (+0x68), the cutoff distance (+0x70), the volume (+0x74, 1.0), the distance gain (+0x78, 1.0), the frequency (+0x7c, 22050), the name hash (+0x80), the bus (+0x84) and the pause reasons (+0x88).

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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