NetClient::Deinitialize
function · net · primitive
- Address
0x5376f0· 176 bytes, up to0x53779f- Signature
void __thiscall (NetClient *this)- Meaning
- Tears a NetClient down: disconnects, frees its connection and queue, zeroes its tables, stops the platform last
- Confidence
- verified, proof two
- Finding
- net/dispatch#handler-tables
- Test
net::netclient_deinitialize
Finding: Handler tables in net: dispatch
Each NetClient holds a handler table at +0x74 and a context table at +0xd64, 828 dwords
each, so opcodes 0x000 to 0x33b. NetClient::Initialize zeroes both. Registering stores the
handler and the context at the opcode's index; clearing stores zeros. Neither checks the
opcode. ClientServices::SetMessageHandler and ClearMessageHandler do the same on the client
0x5ab490 returns, taking the opcode in ecx, the handler in edx and the context on the
stack.
The derivation is in the doc.
Callers 2
Callees 8
- OsSleep os
- LogClientNetStats net
- NetClient::Disconnect net
- NETEVENTQUEUE::~NETEVENTQUEUE net
- WowConnection::Release net
- DestroyOsNet net
- WowConnection::SetConsumer net
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.