By the way, I noticed a little problem with your original asm code:
Isn't it a tad unusual for a __fastcall function with only 1 param to be returning 8 bytes to the stack?
~Death_Ryder
Quote from: iago on March 14, 2004, 06:23 PMCode Select
--snip--
mov eax, 1
retn 8
bottom:
xor eax, eax
retn 8
Isn't it a tad unusual for a __fastcall function with only 1 param to be returning 8 bytes to the stack?
~Death_Ryder