Func SearchWay($X,$Y)
pushad();pushad
Mov_eax($JiZhi);mov eax,BaseAddress
Mov_EAX_DWORD_Ptr_EAX();mov eax,[eax]
Mov_EAX_DWORD_Ptr_EAX_Add(0x1c);mov eax,[eax+$1C]
Mov_ECX_DWORD_Ptr_EAX_Add(0x24);mov ecx,[eax+$24]
Lea_ecx_DWORD_Ptr_ECX_Add(0x3c);lea ecx,[ecx+$3C]
MOV_EAX_DWORD_PTR_EAX_ADD(0x08);mov eax,[eax+$8]
MOV_EAX_DWORD_PTR_EAX_ADD(0x88);mov eax,[eax+$88]
PUSH_EAX();push eax
MOV_EAX($X);mov eax,-76
Mov_DWORD_Ptr_EAX(0x00961AE0);mov ds:[$961AE0],eax
Mov_eax(0);mov eax, 0
Mov_DWORD_Ptr_EAX(0x00961AE0+0x4);mov ds:[$961AE0 +$4], eax
Mov_Eax($Y);mov eax, -38
Mov_DWORD_Ptr_EAX(0x00961AE0+0x8);mov ds:[$961AE0+$8], eax
Push(0x00961AE0);push $961AE0
Push_Ecx();push ecx
Mov_Ecx(0x0095BDB0);mov ecx,$0095BDB0
Mov_Eax(0x0042A140);mov eax,$0042A140
Call_Eax();call eax
Popad();popad
ret()
Run_ASM($Hawd)
EndFunc
以上是代码,我需要传入变量$X和$Y,一旦传入的参数中出现负数,就会出错
[ 本帖最后由 gamehero 于 2009-4-6 21:55 编辑 ] |