benilla-re systems structs docs

ClientConnection::FailOperation

function · net · orchestration

Address
0x5aaa50 · 18 bytes, up to 0x5aaa61
Signature
void __thiscall (ClientConnection *this, uint32_t code)
Meaning
Completes the operation as failed with the given status
Confidence
verified, proof two
Finding
net/connection#operations

Finding: Operations in net: connection

0x5aa400(op, code, callback) begins an operation: it stores the callback at +0x1b20, the operation at +0x1b10 and the code at +0x1b14, clears the done flag +0x1b08 and logs "Initiating". The operations are 0 COP_NONE, 1 COP_INIT, 2 COP_CONNECT, 3 COP_AUTHENTICATE, 4 COP_CREATE_ACCOUNT, 5 COP_CREATE_CHARACTER, 6 COP_GET_CHARACTERS, 7 COP_DELETE_CHARACTER, 8 COP_LOGIN_CHARACTER, 9 COP_GET_REALMS and 10 COP_WAIT_QUEUE. 0x5aaa50(code) fails the operation: 0x5aa920(0, code). The completions of the character operations call 0x5aa920(flag, code); three of them pass the reply byte as the code (see below), and the others pass constants.

beginoperationcode at beginsuccess code
0x5aab2027 CSTATUS_CONNECTING5 RESPONSE_CONNECTED
0x5aaba030x0b CSTATUS_AUTHENTICATING0x0c AUTH_OK
0x5aabb060x2a CHAR_LIST_RETRIEVING0x2b
0x5aac5050x2d CHAR_CREATE_IN_PROGRESS0x2e
0x5ab10070x38 CHAR_DELETE_IN_PROGRESS0x39
0x5aae2080x3c CHAR_LOGIN_IN_PROGRESS0x3d
0x5ab84090x22 REALM_LIST_IN_PROGRESS0x23

The derivation is in the doc.

Callers 7

Callees 1

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