InitUnitSounds
function · objectlayer · primitive
- Address
0x623110· 140 bytes, up to0x62319b- Signature
void __cdecl (void)- Meaning
- Builds the death thud tables, registers FootstepSounds, starts the alert clock and finds the spirit wolf sound
- Confidence
- verified, proof one
- Finding
- objectlayer/sounds#start-up-and-shutdown
Finding: Start-up and shutdown in objectlayer: unit sounds
0x623110 builds the death thud tables, registers the FootstepSounds CVar (default 1), starts the
alert clock and finds the SoundEntries row named SpiritWolf (DONOTRENAME). 0x6230c0 frees the
tables at shutdown.
The derivation is in the doc.
Callers 1
- CGUnit_C::Initialize objectlayer
Callees 5
- OsGetAsyncTimeMs core
- InstallSoundPositionCallback sound
- BuildDeathThudTables objectlayer
- CVar::Register cvar
- SStrCmp storm
Calls and jumps by a bare address, from tables/calls.tsv.