Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #include <Windows.h>
  2.  
  3. // macros
  4.  
  5. // vector class
  6.  
  7. // Ent class
  8.  
  9. // offsets
  10.  
  11. // hack settings
  12.  
  13. int WINAPI HackThread(HMODULE hModule) {
  14. // get our data
  15.  
  16. while (!exit) {
  17. if (firing) {
  18. // do calc
  19. // normalize
  20. // set angles
  21. }
  22. // fix up
  23. }
  24.  
  25. // uninject
  26. return 0;
  27. }
  28.  
  29. BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved){
  30. if (ul_reason_for_call == DLL_PROCESS_ATTACH)
  31. CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, hModule, 0, 0);
  32. return TRUE;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement