benilla-re systems structs docs

FormatErrorLogHeader

function · client

Address
0x403ca0 · 555 bytes, up to 0x403eca
Signature
uint32_t __stdcall (char *buffer, uint32_t size)
Meaning
Formats the error log header: the build, the zone, the player and target objects and the loaded add-ons
Confidence
verified, proof one
Finding
storm/errorlog#the-log-file

Finding: The log file in storm: error logs and crash dumps

0x64daa0 creates a .txt log named from the local time, writes the title, then the error text. A header callback, when set, gets a 5200-byte buffer with its first byte 0, and any text it leaves is written. It records the file's path for 0x64e8d0 and returns the file. The client's header is WoWBuild: 5875; then, when the object manager is valid and the active player can be read, Local Zone: <area>, a line <label>: <name>, <guid>, (<x>,<y>,<z>) for each of Local Player, Attacking Target, Current Object Track, Interact Target, Locked Target, Last Enemy Target and Cursor Item that exists, and, with any add-on listed, Add Ons: and each loaded add-on's name followed by a space.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 14

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