CVar::Initialize
function · cvar · orchestration
- Address
0x63d380· 183 bytes, up to0x63d436- Signature
void __thiscall (CVar *this)- Meaning
- Makes the WTF directory, registers the four registry commands and reads the config file
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- cvar/config#start-up
Finding: Start-up in cvar: config
Initialize(file) runs once at start-up, before any setting is registered, with Config.wtf. It keeps the file name, makes the
directory WTF beside the executable and creates every missing parent, registers the four registry commands, and reads the file. The
start-up wiring then reads RunOnce.wtf the same way; the file is deleted at shutdown, and realmlist.wtf is read by the same routine
when the realm list address is first asked for, and again on each ask whose argument (ecx) is nonzero (0x5ab689).
The derivation is in the doc.
Callers 1
- InitializeGlobal client
Callees 5
- s_CreatePathDirectories cvar
- CVarLoadFile cvar
- ConsoleCommandRegister console
- SFile::GetBasePath storm
- SStrPrintf storm
Calls and jumps by a bare address, from tables/calls.tsv.