benilla-re systems structs docs

ProfileParseInt

function · unassigned · primitive

Address
0x445470 · 51 bytes, up to 0x4454a2
Signature
int32_t __fastcall (const char *value)
Meaning
Packs up to four quoted characters first byte highest, or reads a decimal through SStrToInt
Confidence
verified, proof two
Finding
dbc#wowini-values
Test
dbc::wow_ini_value_int_difftest

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

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.