Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ENABLE]
- aobscan(Get_Speed_AOB,D9 47 28 DD 5D F0 D9) // should be unique
- alloc(newmem,$1000)
- label(code)
- label(return)
- //label(Multiplier)
- label(inthelist)
- label(endoflist)
- label(looper)
- alloc(Multiplier,4)
- alloc(array,2048)
- Multiplier:
- dd (float)5
- newmem:
- code:
- push eax
- mov eax,0
- looper:
- cmp [eax],#512
- jae inthelist
- cmp [array+eax*4],edi
- je inthelist
- cmp [array+eax*4],0
- je endoflist
- inc eax
- jmp looper
- endoflist:
- mov [array+eax*4],edi
- fld dword [edi+20]
- fmul dword [Multiplier]
- fstp dword [edi+20]
- fld dword [edi+24]
- fmul dword [Multiplier]
- fstp dword [edi+24]
- fld dword [edi+28]
- fmul dword [Multiplier]
- fstp dword [edi+28]
- fld dword ptr [edi+28]
- fstp qword ptr [ebp-10]
- jmp return
- inthelist:
- pop eax
- fld dword ptr [edi+28]
- fstp qword ptr [ebp-10]
- jmp return
- Get_Speed_AOB:
- jmp newmem
- nop
- return:
- registersymbol(Get_Speed_AOB)
- [DISABLE]
- Get_Speed_AOB:
- db D9 47 28 DD 5D F0
- dealloc(array)
- unregistersymbol(Get_Speed_AOB)
- dealloc(newmem)
- dealloc(Multiplier)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement