BuildFootstepTable
function · sound · primitive
- Address
0x457040· 363 bytes, up to0x4571aa- Meaning
- Builds the footstep table: per footstep id, the dry and wet sound of each terrain sound id
- 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.
Callers 1
- SndInterfaceInitialize sound
Callees 4
- AddUint32ArrayCount core
- ClearFootstepTable sound
- NewFootstepTableNode sound
- FootstepNodeLink sound
Calls and jumps by a bare address, from tables/calls.tsv.