bhduong Posted May 14, 2008 Share Posted May 14, 2008 Hi every body. I want to use ASM code in autoIT but I don't know how to use. Please help me Link to comment Share on other sites More sharing options...
weaponx Posted May 14, 2008 Share Posted May 14, 2008 This one is by LazyCat:http://www.autoitscript.com/forum/index.ph...amp;hl=assembly Link to comment Share on other sites More sharing options...
bhduong Posted May 21, 2008 Author Share Posted May 21, 2008 This is my code in C++. How it is in AutoIT? static DWORD WINAPI Run(LPCVOID lpParam) { DWORD *Param = (DWORD*) lpParam; DWORD x = *Param; DWORD y = *(Param+1); DWORD z = *(Param+2); DWORD fly = 0; __try { _asm { pushad; mov edx, W2I_BASE_ADD; mov esi, dword ptr[edx+20h]; mov ecx, dword ptr[esi+0BB8h]; mov eax,dword ptr [esi+0x5dc+4]; cmp eax,2; jnz next; mov fly,1; next: push 1; mov edx,45DA60h; call edx; mov edi, eax; push Param; push fly; mov ecx,edi; mov edx, 461500h; call edx; push 0; push 1; push edi; push 1; mov ecx, dword ptr[esi+0BB8h]; mov edx, 45DE60h; call edx; popad; } } __except(1) { } return 0; } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now