Guest User

MW3 Elite unlocker

a guest
Dec 8th, 2011
843
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.14 KB | None | 0 0
  1. #include <windows.h>
  2. #include <iostream>
  3. using namespace std;
  4. int main()
  5. {
  6.     SetConsoleTitle("Elite emblem unlocker 1.4.364 OrangePL");
  7.     BYTE newdata[]={0x5F, 0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x30, 0x00, 0x00};
  8.     DWORD newdatasize = sizeof(newdata);
  9.     HWND hwnd;
  10.     HANDLE phandle;
  11.     DWORD pid;
  12.     hwnd = FindWindow(NULL, "Call of Dutyยฎ: Modern Warfareยฎ 3 Multiplayer");
  13.     if (hwnd != 0) {
  14.         GetWindowThreadProcessId(hwnd, &pid);
  15.         phandle = OpenProcess(PROCESS_ALL_ACCESS, 0, pid);
  16.     } else {
  17.         cout << "You really want to patch something in non-existing process ?";
  18.         cin.get();
  19.         return 0;
  20.     }
  21.     if (phandle != 0) {
  22.         WriteProcessMemory(phandle, (LPVOID)0x33B1F019,  &newdata, newdatasize, NULL);
  23.         cout << "Elite emblem unlocked. Now, close this program and play one match to let it save." <<endl;
  24.         cout << "Credits : Orange & Etheross" <<endl;
  25.         cout << "UC & ITSMODS ONLY RELEASE !" <<endl;
  26.         cout << "Subscribe to www.youtube.com/TheOrangePL :D";
  27.         cin.get();
  28.     } else {
  29.         cout << "Dude, error.";
  30.         cin.get();
  31.     }
  32. }
  33.  
  34.    
  35.  
  36.  
Advertisement
Add Comment
Please, Sign In to add comment