benilla-re systems structs docs

ClientConnection::FailCharacterLogin

function · net · orchestration

Address
0x5aad70 · 149 bytes, up to 0x5aae04
Signature
void __thiscall (ClientConnection *this, uint8_t result)
Meaning
Leaves the world, tears the game down when current, and fails the login with the status the reason byte maps to
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.