benilla-re systems structs docs

ClientLink::SendReconnectChallenge

function · net · orchestration

Address
0x5bb6d0 · 321 bytes, up to 0x5bb810
Signature
void __thiscall (ClientLink *this, const void *info)
Meaning
Sets state 3, keeps the upper-cased account and the 40-byte session key, and sends the reconnect challenge
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 1

Callees 6

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