benilla-re systems structs docs

NetClient::HandleDisconnect

function · net · orchestration

Address
0x537d00 · 51 bytes, up to 0x537d32
Signature
uint32_t __thiscall (NetClient *this)
Meaning
Sets state 2, logs "NetClient::HandleDisconnect()", and runs the glue disconnect handler; returns 1
Confidence
verified, proof one
Finding
net/session#disconnecting

Finding: Disconnecting in net: session

NetClient::Disconnect in state 6 enters state 7 and closes the socket; a network worker thread then reports the disconnect, and the session sets state 2. In any other state it tears the connection down at once and builds a fresh one in state 2. On the disconnect event the session marks the status done, clears its connected flag and calls the login screen's disconnect handler.

The derivation is in the doc.

Callers 2

Callees 4

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