Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- newmem:
- push edi
- mov edi,[esi+74]
- mov edi,[edi+4]
- cmp [edi+84],1
- pop edi
- je code
- //fst dword ptr [esi+30] remove this line or quote out with // like I have here
- 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
- je EMPIRESX.EXE+26FD5
- jmp return
- code:
- fst dword ptr [esi+30]
- je EMPIRESX.EXE+26FD5
- jmp return
- //or do it the following way
- newmem:
- push edi
- mov edi,[esi+74]
- mov edi,[edi+4]
- cmp [edi+84],1
- pop edi
- je code
- fld dword ptr [esi+30]
- fstp dword ptr [esi+30]
- je EMPIRESX.EXE+26FD5
- jmp return
- code:
- fst dword ptr [esi+30]
- je EMPIRESX.EXE+26FD5
- jmp return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement