Guest User

Untitled

a guest
Jul 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. unsigned short AC_Check()
  2. {
  3. // checks for hook point of wieter20
  4. const char* shouldBe = "\x51\xA1\xBC\x1A\x7E";
  5. if (memcmp(shouldBe, (void*)0x586E00, 5))
  6. {
  7. return 6;
  8. }
  9.  
  10. // lazy comparison checks for kidebr main hook point
  11. shouldBe = "\x51\x83\x3D\xD8\x57";
  12. if (memcmp(shouldBe, (void*)0x5B02E0, 5))
  13. {
  14. return 5;
  15. }
  16.  
  17. // comparison class 1: native ESP forcing (lolyeah)
  18. shouldBe = "\x75\x23";
  19. if (memcmp(shouldBe, (void*)0x4F3A20, 2))
  20. {
  21. return 1;
  22. }
  23.  
  24. shouldBe = "\x74\x09";
  25. if (memcmp(shouldBe, (void*)0x4F3A28, 2))
  26. {
  27. return 1;
  28. }
  29.  
  30. shouldBe = "\x74\x09";
  31. if (memcmp(shouldBe, (void*)0x4F3A3A, 2))
  32. {
  33. return 1;
  34. }
  35.  
  36. // comparison class 2: nametag code (lolyeah)
  37. shouldBe = "\x0F\x85\xA3\x00\x00\x00\x8B\x15";
  38. if (memcmp(shouldBe, (void*)0x58845C, 8))
  39. {
  40. return 3;
  41. }
  42.  
  43. shouldBe = "\x74\x06";
  44. if (memcmp(shouldBe, (void*)0x5881EC, 2))
  45. {
  46. return 3;
  47. }
  48.  
  49. // crosshairs, NOPing makes simple ones
  50. shouldBe = "\x75\x13";
  51. if (memcmp(shouldBe, (void*)0x47690F, 2))
  52. {
  53. return 4;
  54. }
  55.  
  56. return 0xCA3E;
  57. }
Add Comment
Please, Sign In to add comment