ClientServices::SetMessageHandler
function · net · orchestration
- Address
0x5ab650· 25 bytes, up to0x5ab668- Signature
void __fastcall (uint32_t opcode, void *handler, void *param)- Meaning
- Registers an opcode handler and context on the current connection through 0x537a60
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- net/dispatch#handler-tables
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 35
- ClientInitializeGame client
- CGlueMgr::Resume glue
- CGGameUI::InitializeGame ui
- CGChat::InitializeGame ui
- CGBattlefieldInfo::InitializeGame ui
- CGMailInfo::InitializeGame ui
- InitTutorials ui
- CGRaidInfo::InitializeGame ui
- CGPetInfo::InitializeGame ui
- InitLotteryHandlers ui
- InitMiniGameHandlers ui
- InitInspectHonorHandlers ui
- InitMeetingStoneHandlers ui
- InitStableHandlers ui
- CGAuctionHouse::InitializeGame ui
- InitGuildRoster ui
- CGDuelInfo::InitializeGame ui
- CGReputationInfo::InitializeGame ui
- InitQuestLog ui
- InitGossipHandlers ui
- CGPartyInfo::InitializeGame ui
- DBCache::RegisterHandlers dbcache
- FriendList::Initialize net
- InitializeAccountData net
- Trade_C::Initialize objectlayer
- RegisterPlayerHandlers objectlayer
- RegisterGameObjectWatchers objectlayer
- CGUnit_C::Initialize objectlayer
- RegisterUnitCombatMessages objectlayer
- RegisterCombatLogMessages objectlayer
- RegisterIgnoredMessage objectlayer
- RegisterXpLogMessage objectlayer
- ClientInitializeGameTime unassigned
- InitWardenHandler warden
- Spell_C::SystemInitialize spell
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.