benilla-re systems structs docs

SErrDisplayAppFatal

function · storm · orchestration

Address
0x64d0e0 · 22 bytes, up to 0x64d0f5
Signature
void __cdecl (const char *format, ...)
Meaning
Passes the code 0x85100086 with its format and variadic arguments to 0x64cfa0, which ends the process
Confidence
verified, proof one
Name from
the community database (idb)
Finding
storm/errorlog#fatal-error-display

Finding: Fatal error display in storm: error logs and crash dumps

SErrDisplayAppFatal(fmt, ...) (0x64d0e0) and SErrDisplayAppFatal2(code, fmt, ...) (0x64cf80) both call 0x64cfa0(code, fmt, args), the first with the code 0x85100086. It takes the error lock, collects the file and line recorded for this thread, formats the message into 2048 bytes with _vsnprintf, hands the code, file, message and line to 0x64d100, which reports the error as error <code & 0xffff>, 134 for the first, and then calls StormExitProcess(1): the process ends. The recorded file and line are null and 0, since only the unreached setter 0x64e5c0 writes them. A base archive that does not open reaches it from MountArchives (storm/mount), and so does any archive that fails with error 0x26, 0x8510006c or 0x85100083, through 0x64cf80.

The derivation is in the doc.

Callers 156

Callees 1

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