English
Open Unpacked WarRock , I'm using Ida Pro , and search for
text string ( %.1f, %.1f, %.1f ) , and it will appear in sub like
this below , I added commands what is what ,
PHP Code:
push esi
call sub_4E6430
add esp, 4
test eax, eax
jz short loc_4A1641
mov ecx, dword_B19D98 ; << Server Pointer (0xB19D98 )
cmp esi, [ecx+0E0AACh]
mov ecx, offset asc_983EC0 ; "*"
jz short loc_4A1606
mov ecx, offset byte_97F6A4
fld dword ptr [eax+2C4h] ; << Offset Z (0x2C4)
sub esp, 18h
fstp qword ptr [esp+10h]
lea edx, [esi+4]
fld dword ptr [eax+2C0h] ; << Offset Y (super jump) (0x2C0)
fstp qword ptr [esp+8]
fld dword ptr [eax+2BCh] ; << Offset X(0x2BC)
mov eax, dword_AD5CD0
fstp qword ptr [esp]
push esi
push ecx
push offset aS2dSPos_1f_1f_ ; "%s%2d's Pos : ( %.1f, %.1f, %.1f )"
push edx
push eax
call sub_7C1310
add esp, 2Ch
jmp short loc_4A1659
Deutsch
push esi
call sub_4E6430
add esp, 4
test eax, eax
jz short loc_4A1641
mov ecx, dword_B19D98 ; << Server Pointer (0xB19D98 )
cmp esi, [ecx+0E0AACh]
mov ecx, offset asc_983EC0 ; "*"
jz short loc_4A1606
mov ecx, offset byte_97F6A4
fld dword ptr [eax+2C4h] ; << Offset Z (0x2C4)
sub esp, 18h
fstp qword ptr [esp+10h]
lea edx, [esi+4]
fld dword ptr [eax+2C0h] ; << Offset Y (super jump) (0x2C0)
fstp qword ptr [esp+8]
fld dword ptr [eax+2BCh] ; << Offset X(0x2BC)
mov eax, dword_AD5CD0
fstp qword ptr [esp]
push esi
push ecx
push offset aS2dSPos_1f_1f_ ; "%s%2d's Pos : ( %.1f, %.1f, %.1f )"
push edx
push eax
call sub_7C1310
add esp, 2Ch
jmp short loc_4A1659
Deutsch
Kleines Beispiel zum Finden der X Y und Z offsets und des Serverpointers
öffne die unpacked Warrock.exe mit einem Debugger wie Ida Pro, und suche nach
"text string ( %.1f, %.1f, %.1f )" und es wird dir etwas in der Art angezeigt, ich habe noch die Funktionen hinzugefügt was was ist:
Code:
push esi
call sub_4E6430
add esp, 4
test eax, eax
jz short loc_4A1641
mov ecx, dword_B19D98 ; << Server Pointer (0xB19D98 )
cmp esi, [ecx+0E0AACh]
mov ecx, offset asc_983EC0 ; "*"
jz short loc_4A1606
mov ecx, offset byte_97F6A4
fld dword ptr [eax+2C4h] ; << Offset Z (0x2C4)
sub esp, 18h
fstp qword ptr [esp+10h]
lea edx, [esi+4]
fld dword ptr [eax+2C0h] ; << Offset Y (super jump) (0x2C0)
fstp qword ptr [esp+8]
fld dword ptr [eax+2BCh] ; << Offset X(0x2BC)
mov eax, dword_AD5CD0
fstp qword ptr [esp]
push esi
push ecx
push offset aS2dSPos_1f_1f_ ; "%s%2d's Pos : ( %.1f, %.1f, %.1f )"
push edx
push eax
call sub_7C1310
add esp, 2Ch
jmp short loc_4A1659
Special Thanks to Vistaxxxl