SetSoundDefFiles
function · sound · primitive
- Address
0x45be10· 590 bytes, up to0x45c05d- Meaning
- Fills a definition's file slots from a SoundEntries row, sharing equal names in the string block
- Confidence
- verified, proof one
- Finding
- sound/entries#file-paths
Finding: File paths in sound: sound entries and plays
Each file slot's name is DirectoryBase, a separator and File[i], formatted by SStrPrintf with
"%s%s%s" into 260 bytes. The separator is \ unless the directory is null, empty, or ends in \.
Nothing else is normalized. Slots are filled in order and stop at the first empty file name. A
weight below 1 counts as 1. Equal names share one copy in a string block, matched case-insensitively,
and the slot keeps a pointer into the block.
The derivation is in the doc.
Callers 1
- LoadSoundEntries sound
Callees 11
- ReserveStringBlock sound
- NewStringTableNode sound
- StringNodeLink sound
- SMemFree storm
- SStrChrR storm
- SStrCmpI storm
- SStrCopy storm
- SStrDupA storm
- SStrLen storm
- SStrPrintf storm
- SStrHashHT storm
Calls and jumps by a bare address, from tables/calls.tsv.