benilla-re systems structs docs

ClientLink::CmdAuthReconnectProof

function · net · orchestration

Address
0x5baec0 · 162 bytes, up to 0x5baf61
Signature
uint32_t __thiscall (ClientLink *this, CDataStore *message)
Meaning
Parses a reconnect proof reply and reports the result, with the kept session key on success, to the link's owner
Confidence
verified, proof one
Finding
net/login#reconnect

Finding: Reconnect in net: login

With a kept session key the logon object sends the reconnect challenge instead of a logon: 0x02, 0x02, then the logon challenge body. The reply is a result byte, a 16-byte seed and a 16-byte checksum salt; a non-zero result, or a reply that does not hold the two values, is malformed and the link disconnects. The link keeps the seed, enters state 5 and gives the salt to the logon object, which answers with the proof below. The reply to the proof is a result byte: non-zero, as 0xff from 16 up, enters state 2 and reports it; zero enters state 6 and hands the key back.

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.