BuildSheatheSounds
function · sound · primitive
- Address
0x45c490· 439 bytes, up to0x45c646- Meaning
- Builds the sheathe sound arrays per SheatheSoundLookups row by Material id
- Confidence
- verified, proof one
- Finding
- sound/objects#material-and-sheathe-sounds
Finding: Material and sheathe sounds in sound: object and combat sounds
0x4584e0(material, pos) plays a Material row's sound (column 2) 2.0 yards above the position, on
bus 0. 0x45c490 builds, per SheatheSoundLookups column 1, two arrays indexed by Material id from
columns 5 and 6; a row whose column 4 is 0 fills every material, else the one in column 3.
0x458530(item, first, pos) plays, when MasterSoundEffects is on, the entry for the item's first
and third bytes 2.0 yards above the position, on bus 0, from column 5's array when first is set.
Column 2 is not read.
The derivation is in the doc.
Callers 1
- BuildSoundDefTables sound
Callees 4
- ReallocUint32Array core
- DwordArrayDeletingDtor sound
- SheatheNodeLink sound
- NewSheatheTableNode sound
Calls and jumps by a bare address, from tables/calls.tsv.