benilla-re systems structs docs

Grunt::Pending::Pending

function · net · orchestration

Address
0x5b8490 · 71 bytes, up to 0x5b84d6
Signature
Grunt::Pending * __thiscall (Grunt::Pending *this, uint32_t timeoutMs)
Meaning
Constructs a pending-request list: timeout, id counter 0, lock and empty list
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 2

Callees 1

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