benilla-re systems structs docs

ProfileReadFile

function · unassigned · orchestration

Address
0x444480 · 183 bytes, up to 0x444536
Signature
int __fastcall (void *profile, const char *name)
Meaning
Loads a named file with trailing spaces cut from the name and parses it; 0 when it does not load
Confidence
verified, proof two
Finding
dbc#reading-wowini

Finding: Reading Wow.ini in dbc

Start-up loads Wow.ini into a profile (0x4442c0, 0x444460), read to its first NUL by lines. // opens a comment. [name] makes name the section, ignoring what follows ]; with no ] the section stays. Any other line is a key, ending at the first = after its first character, then the value, nothing trimmed. A line with no =, or before any section, adds nothing. Names compare ignoring case. Each line appends its value's pieces to its key: a , ends a piece, so a,,b gives an empty middle one; a piece opening with " runs to the next ", a , right after it skipped, and any other text there starts the next piece. An empty value appends nothing.

The derivation is in the doc.

Callers 1

Callees 6

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