benilla-re systems structs docs

s_loginSession

global · net

Address
0xc28120 · 4 bytes, up to 0xc28123
Type
void *
Meaning
Holds the login session, null until 0x5ab4b0 creates it
Confidence
verified, proof one
Finding
net/login#survey-id

Finding: Survey id in net: login

The dword after M2 in a proof reply with result 0 is the survey id: the link stores it at +0x78 when M2 verifies, before it enters state 6. GetSurveyId (0x5ab620) returns it from the login session 0xc28120 through the session's link at +0x1ec; its one caller, the survey runner 0x473f10, puts it in the block it passes Survey.dll (glue/downloads, Running the survey). Neither function tests for a null pointer, and before a verified proof the read is of +0x78 as the allocation left it: the constructor 0x5bc410 does not write it.

The derivation is in the doc.