benilla-re systems structs docs

CancelLogonOnLoginScreen

function · glue · orchestration

Address
0x46b810 · 37 bytes, up to 0x46b834
Signature
void __cdecl (void)
Meaning
Cancels the logon when the current glue screen is login
Confidence
verified, proof one
Finding
glue/connect#realm-list-cancel

Finding: Realm list cancel in glue: connect paths

RealmListDialogCancelled compares the current screen name 0xb41478 with login and does nothing else on any other screen, so cancelling the list on character select is a no-op. On the login screen it cancels the logon object (0x5b3320), which closes the realmd socket asynchronously: it moves the link state 5 to 7, the net thread's poll turns state 7 into a flag that runs 0x5b53a0 (deregister, close, state 6) and the disconnect reaches the logon object, which reports DISCONNECTED. That report opens a dialog only in state 1, and the list is open only in states 0 and 4, so the player sees nothing.

The derivation is in the doc.

Callers 1

Callees 3

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