Guest User

Untitled

a guest
May 17th, 2025
425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. #include <iostream>
  2. #include <conio.h> // for _getch
  3. #include "Debugger.h"
  4. #include "Disassembler.h"
  5. #include "PatternScanner.h"
  6.  
  7. enum Game
  8. {
  9. none,
  10. ModernWarfare,
  11. Vanguard,
  12. ModernWarfare2steam,
  13. ModernWarfare2bnet,
  14. };
  15.  
  16. int main()
  17. {
  18. Debugger debug = Debugger();
  19.  
  20.  
  21. printf("Press return to dump BO6\n");
  22. std::cin.get();
  23.  
  24. printf("Dumping BO6.\n");
  25. debug.Init("C:\\Users\\user\\source\\repos\\DecryptionDumper\\x64\\Release\\cod.exe"); //paste a dump of BO6 to a folder of your choice, and copy all of the dlls from the game path to that folder also.
  26.  
  27. //debug.Dump_Process();
  28.  
  29. system("cls");
  30. Disassembler dis = Disassembler(&debug);
  31.  
  32. dis.Dump_ClientBase(debug.scanner->Find_Pattern("4C 8B 83 ? ? ? ? 90 C6 44 24 ? ? 0F B6 44 24"));
  33. dis.Dump_ClientInfo_MW(debug.scanner->Find_Pattern("48 8B 4C 24 ? BA ? ? ? ? 0F B7"));
  34. dis.Dump_Cbuff(debug.scanner->Find_Pattern("48 8B 0D ? ? ? ? 48 8B F0 C6"));
  35. dis.Dump_Client_Active(debug.scanner->Find_Pattern("48 8B 84 C2 ?? ?? ?? ?? 90 C6 45 20 ?? 0F B6 4D 20 83 E9 ?? 0F B6 C9 65 48 8B 19"));
  36. dis.Dump_BoneBase(debug.scanner->Find_Pattern("42 0F BF B4 39 ?? ?? ?? ?? 89 ?? 24 ?? 85 F6 0F ?? ?? ?? ?? ?? 48 8B 15 ?? ?? ?? ?? 90") + 0x1);
  37. dis.Dump_BoneIndex(debug.scanner->Find_Pattern("84 ?? 0F 84 ?? ?? ?? ?? 48 ?? ?? C8 13 00 00"));
  38. dis.Dump_Offsets_MW();
  39.  
  40. printf("Press return to exit\n");
  41. std::cin.get();
  42. return 0;
  43. }
Advertisement
Add Comment
Please, Sign In to add comment