benilla-re systems structs docs

LogConnectionOperation

function · net · orchestration

Address
0x5aa440 · 1042 bytes, up to 0x5aa851
Signature
void __fastcall (uint32_t initiating, uint32_t op, uint32_t code, uint32_t result)
Meaning
Logs "ClientConnection <Initiating|Completed>: <COP_ name> code=<status name> <result>" to the script log
Confidence
inferred
Finding
net/session#session-status

Finding: Session status in net: session

The session reports progress as a status: an operation, a code, a result flag and a done flag. Setting a status stores the code and the result and marks it done; the screens poll it and get the code's text from the localized string whose key is the code's name in an 83-entry table, from RESPONSE_SUCCESS (0) through CHAR_NAME_SUCCESS (0x52). The codes used here are RESPONSE_FAILED_TO_CONNECT (4), RESPONSE_CONNECTED (5), AUTH_OK (0x0c), AUTH_WAIT_QUEUE (0x1b) and REALM_LIST_REALM_NOT_FOUND (0x26).

The derivation is in the doc.

Callers 2

Callees 3

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