benilla-re systems structs docs

s_logonVftable

global · net

Address
0x80a5d4 · 56 bytes, up to 0x80a60b
Type
void *[14]
Meaning
Holds the logon object's vtable: the link's callbacks, slot 10 the logon result
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.