AbrasiveZealot Newbie cheater Reputation: 0
Joined: 02 Jan 2011 Posts: 21
|
Posted: Tue Nov 26, 2013 11:49 pm Post subject: Multiply SP FP With AA |
|
|
I've found a few things about multiplying floating points with asm, but nothing I've tried has worked so far. Working on an 'anti-recoil' script, I have no-recoil working (it was quite simple after reading code injection guides) but I want to be able to dynamically change the recoil not just cancel it out. For instance if 50% recoil was desired then just multiply the SP FP by 0.5 before continuing execution. Anyone know how to do this?
Script so far:
Code: | [enable]
alloc(norecoil,1024)
norecoil:
pop edi
jmp 439BC3
439BBE:
jmp norecoil
[disable]
dealloc(norecoil)
439BBE:
movss [edi],xmm0
pop edi |
|
|