Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h> // for _getch
- #include "Debugger.h"
- #include "Disassembler.h"
- #include "PatternScanner.h"
- enum Game
- {
- none,
- ModernWarfare,
- Vanguard,
- ModernWarfare2steam,
- ModernWarfare2bnet,
- };
- int main()
- {
- Debugger debug = Debugger();
- printf("Press return to dump BO6\n");
- std::cin.get();
- printf("Dumping BO6.\n");
- 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.
- //debug.Dump_Process();
- system("cls");
- Disassembler dis = Disassembler(&debug);
- dis.Dump_ClientBase(debug.scanner->Find_Pattern("4C 8B 83 ? ? ? ? 90 C6 44 24 ? ? 0F B6 44 24"));
- dis.Dump_ClientInfo_MW(debug.scanner->Find_Pattern("48 8B 4C 24 ? BA ? ? ? ? 0F B7"));
- dis.Dump_Cbuff(debug.scanner->Find_Pattern("48 8B 0D ? ? ? ? 48 8B F0 C6"));
- 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"));
- dis.Dump_BoneBase(debug.scanner->Find_Pattern("42 0F BF B4 39 ?? ?? ?? ?? 89 ?? 24 ?? 85 F6 0F ?? ?? ?? ?? ?? 48 8B 15 ?? ?? ?? ?? 90") + 0x1);
- dis.Dump_BoneIndex(debug.scanner->Find_Pattern("84 ?? 0F 84 ?? ?? ?? ?? 48 ?? ?? C8 13 00 00"));
- dis.Dump_Offsets_MW();
- printf("Press return to exit\n");
- std::cin.get();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment