Показать сообщение отдельно
Старый 18.09.2009, 01:09   #4
Пользователь
 
Регистрация: 03.11.2008
Сообщений: 60
Сказал Спасибо: 3
Имеет 107 спасибок в 21 сообщенях
GoldFinch пока неопределено
По умолчанию

xkor, после старшей части xor-ключа

Код:
	struct RequestAuthLogin
	{
		static const unsigned char id = 0x2B;

		std::wstring Login;
		__int64 GameKey;
		__int64 SessionKey;
		int XorKey_hi_dw;
		__int64 mac_addr;
выглядит это так

Код:
push    offset aReceiveVersioncheck ; "(Receive)VersionCheck"
push    edx
call    edi ; FOutputDevice::Logf(ushort const *,...)
mov     eax, g_UNetworkHandler
mov     ecx, g_UGameEngine
mov     esi, [eax+48h]
mov     edx, [ecx]
mov     eax, [edx+0D4h]
mov     ebx, [esi]
add     esp, 8
call    eax             ;************* Engine.UGameEngine::GetMacAddress ***********
                        ; returns eax:edx
mov     ecx, ds:int GLanguageType
push    edx
mov     edx, [ecx]
----------------------------------
mov     ecx, SessionKeyLo
push    eax
mov     eax, SessionKeyHi
push    edx
mov     edx, GameKeyHi
push    eax
mov     eax, GameKeyLo
push    ecx
mov     ecx, [ebx+68h]
push    edx
push    eax
push    offset Login
push    2Bh
push    offset aCsdddddq ; "cSdddddQ"
push    esi
call    ecx
add     esp, 2Ch
push    offset aSendC_loginPacket ; "(Send)C_LOGIN Packet"
mov     edx, ds:FOutputDevice * GNetworkLog
mov     eax, [edx]
push    eax
call    edi ; FOutputDevice::Logf(ushort const *,...)

Последний раз редактировалось GoldFinch, 18.09.2009 в 01:17.
GoldFinch вне форума   Ответить с цитированием
За это сообщение GoldFinch нажился 3 спасибками от: