benilla-re systems structs docs

FailPatch

function · glue · orchestration

Address
0x474ab0 · 151 bytes, up to 0x474b46
Signature
void __fastcall (uint32_t code, uint32_t value)
Meaning
Logs off, shows the login screen and opens an OKAY dialog with the disk-full or the failure text
Confidence
verified, proof one
Finding
glue/downloads#patch-failure-dialog

Finding: Patch failure dialog in glue: survey and patch downloads

A failed download or apply logs off the logon server, returns to the login screen in state 0, and raises OPEN_STATUS_DIALOG with OKAY and a text: for failure code 2, PATCH_FAILED_DISK_FULL formatted with the second value raised to at least 2; for any other code, PATCH_FAILED_MESSAGE. A failed download passes the file's error code and a second value from the file; a failed apply passes code 4, 5 or 6 with 0, so it always shows the message.

The derivation is in the doc.

Callers 2

Callees 6

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