Advertisement
ChaosHacks

Untitled

Mar 14th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. newmem:
  2. push edi
  3. mov edi,[esi+74]
  4. mov edi,[edi+4]
  5. cmp [edi+84],1
  6. pop edi
  7. je code
  8. //fst dword ptr [esi+30] remove this line or quote out with // like I have here
  9. mov dword ptr [esi+30],(float)1000 //You only need this if you are writing a direct value to the float this is one way to do it
  10. je EMPIRESX.EXE+26FD5
  11. jmp return
  12. code:
  13. fst dword ptr [esi+30]
  14. je EMPIRESX.EXE+26FD5
  15. jmp return
  16.  
  17.  
  18. //or do it the following way
  19.  
  20.  
  21.  
  22.  
  23. newmem:
  24. push edi
  25. mov edi,[esi+74]
  26. mov edi,[edi+4]
  27. cmp [edi+84],1
  28. pop edi
  29. je code
  30. fld dword ptr [esi+30]
  31. fstp dword ptr [esi+30]
  32. je EMPIRESX.EXE+26FD5
  33. jmp return
  34. code:
  35. fst dword ptr [esi+30]
  36. je EMPIRESX.EXE+26FD5
  37. jmp return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement