ClientConnection::LeaveWorld
function · net · orchestration
- Address
0x5aaf40· 32 bytes, up to0x5aaf5f- Signature
void __thiscall (ClientConnection *this)- Meaning
- Calls 0x5aae70 with 0 when in world, and clears the login-sent flag
- Confidence
- verified, proof two
- Finding
- net/connection#character-login
Finding: Character login in net: connection
0x5aae20(guid) begins operation 8 and sends CMSG_PLAYER_LOGIN (0x3d) with the guid through 0x5b4700, then stores 1 at +0x1b04; without a link it fails with code 4. The reply that refuses is SMSG_CHARACTER_LOGIN_FAILED (0x41): 0x5b45f0 reads one byte and calls slot 19, 0x5aad70. That function clears +0x1b04, leaves the world through 0x401ee0(1, 1, 1) when it is the current connection, and completes the operation as failed with a code chosen by the byte: 1 CHAR_LOGIN_NO_WORLD (0x3e), 2 CHAR_LOGIN_DUPLICATE_CHARACTER (0x3f), 3 CHAR_LOGIN_NO_INSTANCES (0x40), 4 CHAR_LOGIN_DISABLED (0x42), 5 CHAR_LOGIN_NO_CHARACTER (0x43), 6 CHAR_LOGIN_LOCKED_FOR_TRANSFER (0x44), and CHAR_LOGIN_FAILED (0x41) for 0 and every byte from 7 up. The connection stays open.
The derivation is in the doc.
Callers 3
- ClientConnection::FailCharacterLogin net
- ClientConnection::HandleLogoutComplete net
- ClientConnection::Logout net
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.