
Originally Posted by
Rezand
Hi, I just had a quick question. I wanted to try to understand how to use IDA so I thought I would try to find the ping/pong packets. I look at all the methods in CLogin, but I didn't find anything about ping. Is it not located there?
CClientSocket::ProcessPacket
CClientSocket::OnAliveReq < Will be the send packet
Inside that is the recv COutPacket::COutPacket_0(a1, 0x10u, 0);
handler recv = 0x10 ( this is an example of my old IDB, but the same method to get it is in any)
An example of from the kmst leak
Code:
case 0x12:
CClientSocket::OnAliveReq(v2, v4);
break;
Code:
COutPacket::COutPacket(&oPacket, 0x94);
v16 = 0;
v3 = TSingleton<CSecurityClient>::GetInstance();
v4 = CSecurityClient::_ZtlSecureGet_m_usSeq(v3);
COutPacket::Encode2(&oPacket, v4);
v5 = TSingleton<CSecurityClient>::GetInstance();
v6 = CSecurityClient::_ZtlSecureGet_m_dwPos(v5);
COutPacket::Encode4(&oPacket, v6);
(v2->vfptr->InspectGetCrc32Function)(v2);
(v2->vfptr->EncodeEncryptedMRCA)(v2);
CClientSocket::SendPacket(v2, &oPacket);
This is the handler, 0x94 and has a short and int