s_characterCount
global · glue
- Address
0xb42140· 4 bytes, up to0xb42143- Type
uint32_t- Meaning
- Holds the number of records in the character list; read by 0x46b500
- Confidence
- verified, proof one
- 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.