I've looked into the dumps.
I know what algorithm I'd use, I just need to find out the detour and stuff.
Are the parameters for this function related to the detour? If it is, I'll have to find its address of this function. May take me some time.
Code:
Function : static, [0x0005f870][0x0001:0x0005e870], len = 0000043c, protected: void __thiscall MMatchServer::OnMatchLogin(struct MUID,char const *,char const *,int,unsigned long)
FuncDebugStart : static, [0x0005f89d][0x0001:0x0005e89d]
FuncDebugEnd : static, [0x0005fc85][0x0001:0x0005ec85]
Data : enregistered edx, Object Ptr, Type: class MMatchServer * const, this
Data : ebp Relative, [0x00000004], Param, Type: struct MUID, CommUID
Data : ebp Relative, [0x0000000c], Param, Type: const char *, szUserID
Data : ebp Relative, [0x00000010], Param, Type: const char *, szPassword
Data : ebp Relative, [0x00000014], Param, Type: int, nCommandVersion
Data : ebp Relative, [0x00000018], Param, Type: unsigned long, nChecksumPack
Data : ebp Relative, [0xffffff70], Local, Type: unsigned int, nAID
Data : ebp Relative, [0xffffff6c], Local, Type: class MCommObject *, pCommObj
Data : ebp Relative, [0xffffff88], Local, Type: class std::basic_string<char,std::char_traits<char>,std::allocator<char> >, strCountryCode3
Data : ebp Relative, [0xffffff78], Local, Type: struct MUID, AllocUID
Data : ebp Relative, [0xffffffc4], Local, Type: struct MMatchAccountInfo, accountInfo
Data : ebp Relative, [0xffffffa4], Local, Type: char[0x20], szDBPassword
Data : ebp Relative, [0xffffff6b], Local, Type: bool, bFreeLoginIP
Data : ebp Relative, [0xffffff6c], Local, Type: bool, bIsPremiumIP