benilla-re systems structs docs

BeginWorldConnect

function · glue · orchestration

Address
0x46b1f0 · 32 bytes, up to 0x46b20f
Signature
void __cdecl (void)
Meaning
Enters screen state 2 and connects the session, when the screen state is 0
Confidence
verified, proof one
Finding
glue/connect#launch-auto-connect

Finding: Launch auto-connect in glue: connect paths

On launch the client connects to the realm named by the persisted realmName CVar without showing the realm list. The logon state 4 sets the latch 0xb41e18; state 1's arm of Idle clears the screen state and calls 0x46b1f0, which sets state 2, opens no dialog and begins operation 2 (0x5aab20), whose first act is the realm list request. On the reply the operation arm calls 0x5ab800, which finds the realm by name and dials it, or reports REALM_LIST_REALM_NOT_FOUND (0x26). Success reports nothing, so the operation stays incomplete and 0x46e510 never runs: the realm list appears only on a failed lookup, a failed list query or a request from the player.

The derivation is in the doc.

Callers 1

Callees 2

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