benilla-re systems structs docs

s_footstepTable

global · sound

Address
0xb05f50 · 40 bytes, up to 0xb05f77
Type
uint32_t[10]
Meaning
Holds the footstep hash table
Confidence
verified, proof one
Finding
sound/objects#footstep-table

Finding: Footstep table in sound: object and combat sounds

0x457040 builds, per CreatureFootstepID of FootstepTerrainLookup, two arrays indexed by TerrainTypeSounds id: the dry sound (column 3) and the wet sound (column 4). The arrays hold TerrainTypeSounds' largest id + 1 entries and the row's index column is written without a bound check. 0x458450(footstep, terrain, wet) reads the TerrainType row's sound id (+0x10) and returns that entry, again unchecked, or 0 for an unknown terrain type or footstep id.

The derivation is in the doc.