ProfileGetInt
function · unassigned · orchestration
- Address
0x445410· 82 bytes, up to0x445461- Signature
int __fastcall (void *profile, const char *section, const char *key, int32_t *out, uint32_t index)- Meaning
- Stores 0, then a value read as an integer, and returns whether the value exists; error 0x57 for null input
- Confidence
- verified, proof two
- Finding
- dbc#wowini-values
Finding: Wow.ini values in dbc
0x4452c0(section, key, index) returns the key's value at index, or null when the section, the key
or the index is missing; 0x4452f0 finds the key. 0x4455d0 empties its buffer, then copies the value
with SStrCopy to the buffer's size and returns 1, or returns 0 with no value. 0x445410 stores 0,
then the value as an integer and returns 1: a value opening with ' packs the up to four characters
that follow, up to a ' or the end, unsigned and first character highest; any other is SStrToInt.
Start-up reads value 0 of Region in [WoW Config] into 0x882730, which keeps 0 without the file
or the key, and 0x6c91a0 copies it to 0x86c9e0, the name charsets' region.
The derivation is in the doc.
Callers 1
- InitializeGlobal client
Callees 3
- ProfileGetValue unassigned
- ProfileParseInt unassigned
- SErrSetLastError storm
Calls and jumps by a bare address, from tables/calls.tsv.