CVarDeleteConfigFile
function · cvar · host
- Address
0x63d910· 107 bytes, up to0x63d97a- Signature
uint32_t __fastcall (const char *name)- Meaning
- Deletes a file by name, or under WTF, and returns whether one was deleted
- Confidence
- verified, proof two
- Finding
- cvar/config#shutdown
Finding: Shutdown in cvar: config
The client's shutdown deletes RunOnce.wtf, runs the registry's shutdown and clears the command registry. The registry's shutdown saves
the file, unregisters its four commands, empties the all-records list and frees every record through the table's slot 0. A DeleteConfigFile that finds the name deletes it,
and otherwise tries WTF\<name>; it returns 1 when it deleted a file.
The derivation is in the doc.
Callers 1
- DestroyGlobal client
Callees 3
- OsFileExists os
- OsDeleteFile os
- SStrPrintf storm
Calls and jumps by a bare address, from tables/calls.tsv.