benilla-re systems structs docs

ProfileParseText

function · unassigned · orchestration

Address
0x444540 · 440 bytes, up to 0x4446f7
Signature
int __fastcall (void *profile, const char *text, uint32_t size)
Meaning
Parses a copy of an INI text into sections, keys and values, line by line, and returns 1
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 2

Callees 4

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