benilla-re systems structs docs

ServerLink::CmdGruntAuthVerify

function · net · primitive

Address
0x5b9630 · 163 bytes, up to 0x5b96d2
Signature
uint32_t __thiscall (ServerLink *this, CDataStore *msg)
Meaning
Reads and drops a name under 0x20 bytes, 16 and 20 bytes for the server; 0 short, 1 for a long name, else 2
Confidence
verified, proof one
Finding
net/logonlink#server-link-commands
Test
net::grunt_auth_verify

Finding: Server link commands in net: logon link

The start-up initializer 0x5b88a0 fills the server's command table 0x85e2e8: seven 16-byte entries of a command byte, a name, a handler and an offset added to this, like the client's 0x85e278; entry 0's byte and name come from the file. Its one reader, ServerLink::OnData (0x5b9b50), is unreached (layout). 0x5b9630, command 2 (CMD_GRUNT_AUTH_VERIFY), reads and drops a name under 0x20 bytes and 16 and 20 bytes: 0 while the store lacks them, 1 for a long name, else 2. 0x5b8c40, command 0x20 (CMD_GRUNT_HELLO), stores a u32 at +0x74 and, by the mode +0x104, replies 20 00 (mode 1) or 20 0e, a u16 length and the record its realm source gives (mode 0), then sets the state +0x90 to 3.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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