benilla-re systems structs docs

ProfileGetString

function · unassigned · orchestration

Address
0x4455d0 · 81 bytes, up to 0x445620
Signature
int __fastcall (void *profile, const char *section, const char *key, char *out, uint32_t size, uint32_t index)
Meaning
Empties a buffer, then copies a value into it 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

Callees 3

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