Hi,
I registered a message handler, then the function is called when the client receive the matching opcode. But I fail to extract packet data. Does someone ever done it? Is there some usefull functions to extract this data? Im working with wow 1.12.1.5875
Edit : Ok, I didn't know about the CDataStore_GetInt functions, for 1.12.1.5875 I have this address, can someone confirm it?
0x00418E30 => CDataStore_GetInt
0x00418CB0 => CDataStore_GetByte
0x004190B0 => CDataStore_GetUInt64
0x00C28168 => ClientConnection
else, I dont understand how result are returned, are they on the stack?
here is my own message handler :
push ebp
mov ebp, esp
mov eax, [ebp+0xC0]
mov ecx, dword_C28168
push eax
call sub_418E30
mov eax, 1
mov esp, ebp
pop ebp
retn