Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <windows.h>
- #include <iostream>
- using namespace std;
- int main()
- {
- SetConsoleTitle("Elite emblem unlocker 1.4.364 OrangePL");
- BYTE newdata[]={0x5F, 0x65, 0x6C, 0x69, 0x74, 0x65, 0x31, 0x30, 0x00, 0x00};
- DWORD newdatasize = sizeof(newdata);
- HWND hwnd;
- HANDLE phandle;
- DWORD pid;
- hwnd = FindWindow(NULL, "Call of Dutyยฎ: Modern Warfareยฎ 3 Multiplayer");
- if (hwnd != 0) {
- GetWindowThreadProcessId(hwnd, &pid);
- phandle = OpenProcess(PROCESS_ALL_ACCESS, 0, pid);
- } else {
- cout << "You really want to patch something in non-existing process ?";
- cin.get();
- return 0;
- }
- if (phandle != 0) {
- WriteProcessMemory(phandle, (LPVOID)0x33B1F019, &newdata, newdatasize, NULL);
- cout << "Elite emblem unlocked. Now, close this program and play one match to let it save." <<endl;
- cout << "Credits : Orange & Etheross" <<endl;
- cout << "UC & ITSMODS ONLY RELEASE !" <<endl;
- cout << "Subscribe to www.youtube.com/TheOrangePL :D";
- cin.get();
- } else {
- cout << "Dude, error.";
- cin.get();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment