benilla-re systems structs docs

ClientLink::OnTimer

function · net · orchestration

Address
0x5bb3d0 · 92 bytes, up to 0x5bb42b
Signature
void __thiscall (ClientLink *this)
Meaning
Expires stale pending requests, then polls the link's owner in state 2 and drops the link in state 6 when told to
Confidence
verified, proof one
Finding
net/logonlink#pending-request-expiry

Finding: Pending request expiry in net: logon link

ClientLink::ClientLink builds a Grunt::Pending (0x5b8490): a timeout at +4 and a list of 24-byte requests linked at their first bytes, each with a time at +0x10, 0 for none. ClientLink::OnTimer (0x5bb3d0) calls 0x5b8650(0) each tick. The walk skips a time of 0, stops at the first request younger than the timeout, and moves the first older one to a local list; its link then ends the walk, so one request expires per call, going to slot 0 of the owner and then freed. With force the first request goes whatever its time. The only adder, 0x5b84e0, is called from the unreached ServerLink::ProveSession, so the client's list stays empty.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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