benilla-re systems structs docs

ClientConnection::HandleLogoutComplete

function · net · orchestration

Address
0x5aaeb0 · 57 bytes, up to 0x5aaee8
Signature
void __thiscall (ClientConnection *this)
Meaning
Leaves the world, tears the game down when current, clears logout-pending, and quits the client after a quit request
Confidence
verified, proof one
Finding
glue/enterworld#return-to-character-select

Finding: Return to character select in glue: entering and leaving the world

A logout and a refused character login both return to character select on the same world link and send CMSG_CHAR_ENUM there, on direct-call evidence with no realmd logon and no new world authentication. The logout reply handler 0x5aaeb0 calls 0x401ee0(1, 1, 0), which unregisters ten world handlers, shuts the world down, rebuilds the glue on a fresh Lua state (0x46a7b0(1)) and signals SET_GLUE_SCREEN "charselect"; CharacterSelect_OnShow then asks for the list. The refusal handler 0x5aad70 does the same with stack argument 1, which stores state 9 first, so the list request waits for the OKAY dialog's own click.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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