benilla-re systems structs docs

NetClient::NetClient

function · net · orchestration

Address
0x537410 · 217 bytes, up to 0x5374e8
Signature
NetClient * __thiscall (NetClient *this)
Meaning
Sets the base and NetClient vtables, builds the lock, zeroes state, queue, ping and byte counts, and links a list node
Confidence
verified, proof one
Name from
the community database (idb)
Finding
net/session#netclient-construction

Finding: NetClient construction in net: session

NetClient::NetClient (0x537410), which RealmConnection's constructor 0x5b3a80 calls first, sets the abstract base vtable 0x8090b4, builds the statistics lock at +0x1ac0, sets the NetClient vtable 0x809070 and zeroes the state +0x70, the event queue +0x1a54, the connection +0x1a58, the reference count +0x1a5c, the byte +0x1a60, the ping time +0x1a64 and sequence +0x1a68, the byte counts +0x1ab4 and +0x1ab8, the connect time +0x1abc and the object manager +0x1ad8. It then allocates a 12-byte NETCLIENTNODE, zeroes its two link words, links it at the tail of the list 0xc0d488 and stores the client at its +8. Only the ping writes the sequence after this (Ping sequence and statistics).

The derivation is in the doc.

Callers 1

Callees 2

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