benilla-re systems structs docs

ReportLoginStatus

function · net · orchestration

Address
0x5b2920 · 734 bytes, up to 0x5b2bfd
Signature
void __thiscall (void *this, uint32_t state, uint32_t result, uint32_t extra)
Meaning
Passes a login state, result and extra value with their log names to the owner's status slot
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.

Callers 2

Callees 2

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