benilla-re systems structs docs

s_logonResultIndexTable

global · net

Address
0x5b2ea4 · 253 bytes, up to 0x5b2fa0
Type
uint8_t[253]
Meaning
Maps a logon server result less 3 to its case in the eleven-entry switch
Confidence
verified, proof one
Finding
net/login#logon-results

Finding: Logon results in net: login

Outside a reconnect, the logon object's slot 10 (0x5b2c90) keeps the key, up to 40 bytes, at +0x54 for result 0 or 0x0e, and moves to LOGIN_STATE_AUTHENTICATED (4), or to state 12 when the link kept a non-zero dword from the proof. Other results become LOGIN_STATE_FAILED (5) with a code:

resultcodename
313LOGIN_BANNED
4, 57, 8 or 9LOGIN_UNKNOWN_ACCOUNT, …_PIN, …_CALL
615LOGIN_ALREADYONLINE
716LOGIN_NOTIME
817LOGIN_DBBUSY
914LOGIN_BADVERSION
0x0c, 0x0f, 0xff18, 19, 20unnamed in the log table
other11LOGIN_FAILED

Result 0x0a moves to LOGIN_STATE_DOWNLOADFILE (6).

The derivation is in the doc.