Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. float GetInaccuracy()
  2. {
  3. typedef float(__thiscall* oInaccuracy)(PVOID);
  4. return call_vfunc< oInaccuracy >(this, 470)
  5. (this);
  6. }
  7.  
  8. CSWeaponInfo* GetCSWpnData()
  9. {
  10. if (!this)
  11. return nullptr;
  12.  
  13. typedef CSWeaponInfo*(__thiscall* OriginalFn)(void*);
  14. return call_vfunc< OriginalFn >(this, 447)(this);
  15. return nullptr;
  16. }
  17.  
  18. void UpdateAccuracyPenalty()
  19. {
  20. typedef void(__thiscall* oUpdateAccuracy)(PVOID);
  21. return call_vfunc<oUpdateAccuracy>(this, 471)(this);
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement