benilla-re systems structs docs

FormatErrorLogObject

function · client

Address
0x403f70 · 139 bytes, up to 0x403ffa
Signature
void __fastcall (const char *label, void *object, char *buffer, uint32_t size)
Meaning
Appends a labelled line with an object's name, guid and position to an error log buffer
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 1

Callees 3

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