benilla-re systems structs docs

s_sheatheTable

global · sound

Address
0xb061e0 · 40 bytes, up to 0xb06207
Type
uint32_t[10]
Meaning
Holds the sheathe sound hash table
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.