benilla-re systems structs docs

ClientConnection::CancelLogout

function · net · orchestration

Address
0x5aaf80 · 108 bytes, up to 0x5aafeb
Signature
void __thiscall (ClientConnection *this)
Meaning
Sends opcode 0x4e with no body and clears logout-pending
Confidence
verified, proof two
Finding
net/connection#logout

Finding: Logout in net: connection

0x5ab000(quit, instant) sends CMSG_PLAYER_LOGOUT (0x4a) when instant is set and CMSG_LOGOUT_REQUEST (0x4b) otherwise, only while a world handle is held at +0x1b18 and the connection is the current one; it stores quit at +0x1b1c, and for a non-instant request sets the pending byte +0x1b1d. It returns without sending when a logout is already pending and instant is clear. 0x5aaff0 is 0x5ab000(0, 1). 0x5aaf80 sends CMSG_LOGOUT_CANCEL (0x4e, no body) and clears the pending byte. 0x5ab0d0 returns the pending byte.

The derivation is in the doc.

Callers 1

Callees 2

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