benilla-re systems structs docs

CGlueMgr::DefaultServerLogin

function · glue · orchestration

Address
0x46afb0 · 262 bytes, up to 0x46b0b5
Signature
void __fastcall (const char *account, char *password)
Meaning
Starts the logon in state 1 after the agreement and idle checks, or opens OKAY for an empty account or password
Confidence
verified, proof one
Name from
the community database (idb)
Finding
glue/flow#login-entry

Finding: Login entry in glue: the screen flow

CGlueMgr::DefaultServerLogin (0x46afb0) returns unless the TOS and EULA are accepted (0xb41dfc, 0xb41e04) and the state is 0. An empty account, then an empty password, opens OKAY with LOGIN_ENTER_NAME or LOGIN_ENTER_PASSWORD. Otherwise it sets 0x836b24 to 0x836b30 to −1, clears the latch 0xb41e18, enters state 1, copies the account into the 64-byte 0xb41db0 and upper-cases it, opens CANCEL with no text, starts the logon (0x5ab4b0), zeroes the password's characters in the caller's buffer, and tail-calls 0x51c740, the add-on list's load, with the account. 0x46aef0, 0x46af20, 0x46af50 and 0x46af80, the Accept* bodies, set an agreement's accepted flag to 1, its notice flag to 0 and its CVar to "1".

The derivation is in the doc.

Callers 1

Callees 6

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