benilla-re systems structs docs

CGlueMgr::EnterWorld

function · glue · primitive

Address
0x46b500 · 544 bytes, up to 0x46b71f
Signature
void __cdecl (void)
Meaning
Checks the selected character, saves lastCharacterIndex, picks the game tip and enters screen state 8
Confidence
verified, proof one
Name from
the community database (idb)
Finding
glue/flow#enter-world

Finding: Enter World in glue: the screen flow

CGlueMgr::EnterWorld (0x46b500) returns when no realm is selected (0x5ab9a0). It points 0xb41df4 at the selected record, [0xb42144] + 0x120·i for the index i in 0x83856c when 0 ≤ i < [0xb42140], else null, and returns on null. It sets the record's byte +0x118, returns unless the session is connected, then tests the record's flags +0xfc: bit 2 opens OKAY with CHAR_LOGIN_LOCKED_FOR_TRANSFER (0x44), bit 14 fires FORCE_RENAME_CHARACTER with CHAR_RENAME_DESCRIPTION; either returns. Otherwise it sets lastCharacterIndex to i in decimal, hands the session the account and record, picks the game tip, starts the loading screen for the map +0x38, saves the configuration, empties the texture caches, cancels the logon and enters state 8.

The derivation is in the doc.

Callers 1

Callees 17

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