benilla-re systems structs docs

SendErrorLogsCallback

function · client

Address
0x404000 · 52 bytes, up to 0x404033
Signature
uint32_t __stdcall (uint32_t unused1, uint32_t unused2, uint32_t unused3, uint32_t unused4, uint32_t unused5)
Meaning
Runs WowError.exe on the last error log written, when there is one, and returns 1
Confidence
verified, proof one
Finding
storm/errorlog#client-registration

Finding: Client registration in storm: error logs and crash dumps

ClientMain reads SendErrorLogs under World of Warcraft\Client, and when the value is missing writes it as 1. It sets the log title to World of WarCraft (build 5875) and the header callback to 0x403ca0, and, when the value is not 0, adds 0x404000 to Storm's error callbacks. That callback takes the path of the last log written and runs WowError.exe with the command line WowError.exe <path>; it ignores its five arguments and returns 1, and with no log written it runs nothing.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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