Sound::Destructor
function · sound · primitive
- Address
0x7a4200· 303 bytes, up to0x7a432e- Meaning
- Stops a sound and unlinks all six of its list links
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 9
- Sound::Shutdown sound
- Sound::ProcessStopList sound
- Sound::ProcessFadeList sound
- Sound::ProcessCutoffList sound
- Sound::Play sound
- Sound::PlayLooped sound
- Sound::Stop sound
- Sound::Stop2 sound
- ApplySoundEffectsOff sound
Callees 2
- Sound::Stop3 sound
- TSLink_Sound::NextLink sound
Calls and jumps by a bare address, from tables/calls.tsv.