NetClient::Initialize
function · net · primitive
- Address
0x537600· 194 bytes, up to0x5376c1- Signature
uint32_t __thiscall (NetClient *this)- Meaning
- Starts the OS network on first use, then creates the queue, clears both handler tables, creates the connection, state 2
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- net/dispatch#handler-tables
- Test
net::netclient_initialize
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 1
Callees 6
- PropGetSelectedContext base
- OsGetAsyncTimeMs core
- NETEVENTQUEUE::NETEVENTQUEUE net
- WowConnection::WowConnection net
- WowConnection::InitOsNet net
- SMemAlloc storm
Calls and jumps by a bare address, from tables/calls.tsv.