fld dword [ecx+000000AC] // fld, fadd and fstp doesn't seems like can
fadd dword [multi]//fmull // be used in c++ inline asm.
fstp dword [ecx+000000AC] //
mov eax,dword [ecx+000000AC]
// [ecx+000000AC] -> AC gives a error in c++
mov [ecx+000000AC],eax
exit:
jmp returnhere
aobi:
jump2:
jmp newmem
nop
returnhere:
[DISABLE]
dealloc(newmem)
jump2:
db 8B 81 AC 00 00 00
unregistersymbol(jump2)
So here is what I'm trying to do, after I already nopped the address:
I think you should start by coding some very simple examples of inline ASM to get the hang of the conventions - which instructions are available vs those that are exclusive to CE, whether or not to end statements w/ semicolons, etc. That is, if inline ASM is even what you really need...
I can't think of too many valid reasons to declare a function to have naked calling convention. Especially when your function takes no arguments.
Are you compiling this into a DLL to be injected into the target process, or is it intended to be a conventional trainer? Either way, I don't think you're on the right path. Could you maybe explain what your algorithm is or the steps your program intends to take? _________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum