Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include "XBLExtinctionConfig.h"
- #include "Utilities.h"
- #include "titleHooks.h"
- #include "SystemHooks.h"
- #include "ServComm.h"
- #include "PatchData.h"
- #include <xbdm.h>
- #include <time.h>
- #include "AW.h"
- #include "BO2_game.h"
- #include "HUD.h"
- #include "ScnTab5.h"
- #include "HudHook.h"
- #include "CODMW2.h"
- #include "BO3Menu.h"
- #include "AW_Game.h"
- extern _SERVER_GET_CUSTOM_RESPONCE cData;
- extern HANDLE hXam;
- extern BOOL IsDevkit;
- extern BOOL dashLoaded;
- MESSAGEBOX_RESULT g_mb_result;
- XOVERLAPPED g_xol;
- DWORD nop = 0x60000000;
- DWORD other = 0x38600001;
- DWORD Data = 0x38600000;
- extern DWORD ApplyPatches(CHAR* FilePath, const VOID* DefaultPatches = NULL);
- extern void printBytes(PBYTE bytes, DWORD len);
- VOID __cdecl APCWorker(void* Arg1, void* Arg2, void* Arg3) {
- // Call our completion routine if we have one
- if(Arg2)
- ((LPOVERLAPPED_COMPLETION_ROUTINE)Arg2)((DWORD)Arg3, 0, (LPOVERLAPPED)Arg1);
- }
- DWORD XSecurityCreateProcessHook(DWORD dwHardwareThread)
- {
- return ERROR_SUCCESS;
- }
- VOID XSecurityCloseProcessHook(){}
- DWORD XSecurityVerifyHook(DWORD dwMilliseconds, LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine) {
- // Queue our completion routine
- if(lpCompletionRoutine)
- NtQueueApcThread((HANDLE)-2, (PIO_APC_ROUTINE)APCWorker, lpOverlapped, (PIO_STATUS_BLOCK)lpCompletionRoutine, 0);
- // All done
- return ERROR_SUCCESS;
- }
- DWORD XSecurityGetFailureInfoHook(PXSECURITY_FAILURE_INFORMATION pFailureInformation)
- {
- if (pFailureInformation->dwSize != 0x18) return ERROR_NOT_ENOUGH_MEMORY;
- pFailureInformation->dwBlocksChecked = 0;
- pFailureInformation->dwFailedReads = 0;
- pFailureInformation->dwFailedHashes = 0;
- pFailureInformation->dwTotalBlocks = 0;
- pFailureInformation->fComplete = TRUE;
- return ERROR_SUCCESS;
- }
- DWORD XexGetProcedureAddressHook(HANDLE hand, DWORD dwOrdinal, PVOID* pvAddress)
- {
- if(hand == hXam) {
- switch(dwOrdinal) {
- case 0x9BB:
- *pvAddress = XSecurityCreateProcessHook;
- return 0;
- case 0x9BC:
- *pvAddress = XSecurityCloseProcessHook;
- return 0;
- case 0x9BD:
- *pvAddress = XSecurityVerifyHook;
- return 0;
- case 0x9BE:
- *pvAddress = XSecurityGetFailureInfoHook;
- return 0;
- }
- }
- //DbgPrint("XexGetProcedureAddressHook [pvAddress]: 0x%p", pvAddress);
- return XexGetProcedureAddress(hand, dwOrdinal, pvAddress);
- }
- unsigned long XeKeysGetKeyHook(unsigned short key, unsigned char* buffer, PDWORD len)
- {
- if (key == 0x14)
- {
- srand((unsigned int)time(0));
- for (int i = 0x00; i < 0xC; i++) buffer[i] = rand() % 0x7F;
- return 0L;
- }
- return XeKeysGetKey(key, buffer, len);
- }
- int XNetXnAddrToMachineIdHookBO2(XNCALLER_TYPE xnc, XNADDR pxnaddr, unsigned long long MachineId)
- {
- srand((unsigned int)time(0));
- MachineId = 0xFA00000000000000 | (0x2000000 | rand() % 0x7FFFFF);
- return 0;
- }
- inline __declspec() bool Live_GetConsoleDetailsSavestubGhosts(bool alwaysTrue, unsigned char internalIP[4], unsigned char onlineIP[4], unsigned long long *machineIDH, unsigned long long *null, unsigned long long *enet)
- {
- __asm
- {
- nop
- nop
- nop
- nop
- nop
- nop
- nop
- blr
- }
- }
- bool Live_GetConsoleDetailsHookGhosts(bool alwaysTrue, unsigned char internalIP[4], unsigned char externalIP[4], unsigned long long * machineIDH, unsigned long long * machineIDL, unsigned long long *enet)
- {
- srand(time(0));
- int iTargetAddress = 0;
- __asm mflr iTargetAddress
- if (iTargetAddress == 0x82627564 || iTargetAddress == 0x82628888)
- {
- for (int i = 0; i < 4; i++) { internalIP[i] = rand() % 0xFF; externalIP[i] = rand() % 0xFF; }
- *enet = 0x001DD8000000 | rand() % 0x7FFFFF;
- return true;
- }
- return Live_GetConsoleDetailsSavestubGhosts(alwaysTrue, internalIP, externalIP, machineIDH, machineIDL, enet);
- }
- HRESULT XeKeysGetConsoleIDHook( PBYTE databuffer OPTIONAL, char* szBuffer OPTIONAL ) {
- XE_CONSOLE_ID consoleID;
- XeKeysGetConsoleID((PBYTE)&consoleID, NULL);
- XUSER_SIGNIN_INFO userInfo;
- XamUserGetSigninInfo(0, XUSER_GET_SIGNIN_INFO_ONLINE_XUID_ONLY, &userInfo);
- BYTE gamertagSha[0x10];
- XeCryptSha((PBYTE)userInfo.szUserName, strlen(userInfo.szUserName), NULL, NULL, NULL, NULL, gamertagSha, 0x10);
- consoleID.asBits.MacIndex3=gamertagSha[0];
- consoleID.asBits.MacIndex4=gamertagSha[1];
- consoleID.asBits.MacIndex5=gamertagSha[2];
- SetMemory(databuffer, &consoleID, 0x5);
- return ERROR_SUCCESS;
- }
- //extern "C" VOID KeSweepIcacheRange(PVOID Address, DWORD cbBytes);
- //VOID ApplyPatchData(PBYTE pBuffer, DWORD dwLength) {
- // PDWORD pdwData = (PDWORD)pBuffer;
- //
- // // Sanity check
- // if (pdwData[(dwLength / 4) - 1] != -1) {
- // return;
- // }
- //
- // while (TRUE) {
- // DWORD dwAddress = *pdwData++;
- //
- // if (dwAddress == -1)
- // break;
- //
- // DWORD dwPatchCount = *pdwData++;
- // for (DWORD i = 0; i < dwPatchCount; i++) {
- // DWORD dwAddrToPatch = dwAddress + (i * 4);
- // *(DWORD*)(dwAddrToPatch) = *pdwData++;
- // }
- //
- // KeSweepIcacheRange((PVOID)dwAddress, dwPatchCount * 4);
- // }
- //}
- int NetDll_XNetXnAddrToMachineIdHook( XNCALLER_TYPE xnc, XNADDR * pxnaddr, ULONGLONG * pqwMachineId){
- int rett = NetDll_XNetXnAddrToMachineId( xnc, pxnaddr, pqwMachineId);
- XUSER_SIGNIN_INFO userInfo;
- XamUserGetSigninInfo(0, XUSER_GET_SIGNIN_INFO_ONLINE_XUID_ONLY, &userInfo);
- BYTE gamertagSha[0x10];
- XeCryptSha((PBYTE)userInfo.szUserName, strlen(userInfo.szUserName), NULL, NULL, NULL, NULL, gamertagSha, 0x10);
- SetMemory(pqwMachineId+5, gamertagSha, 0x3);
- return rett;
- }
- int XNetXnAddrToMachineIdHook(XNCALLER_TYPE xnc, XNADDR* pxnaddr, unsigned long long* qwMachineId)
- {
- srand((unsigned int)time(0));
- *qwMachineId = 0xFA00000002000000 | (0x2000000 | rand() % 0x7FFFFF);
- return 0;
- }
- inline __declspec() bool Live_GetConsoleDetailsSavestub(unsigned char internalIP[4], unsigned char onlineIP[4], unsigned long long *machineIDH, unsigned long long *null, unsigned long long *enet)
- {
- __asm
- {
- nop
- nop
- nop
- nop
- nop
- nop
- nop
- blr
- }
- }
- bool Live_GetConsoleDetailsHookAW(unsigned char internalIP[4], unsigned char onlineIP[4], unsigned long long *machineIDH, unsigned long long *null, unsigned long long *enet)
- {
- srand(time(0));
- int iTargetAddress = 0;
- __asm mflr iTargetAddress
- if (iTargetAddress == 0x822C9FF8 || iTargetAddress == 0x822C9908)
- {
- for (int i = 0; i < 4; i++)
- {
- internalIP[i] = rand() % 0xFF; onlineIP[i] = rand() % 0xFF;
- }
- *enet = 0x001DD8000000 | rand() % 0x7FFFFF;
- return true;
- }
- return Live_GetConsoleDetailsSavestub(internalIP, onlineIP, machineIDH, null, enet);
- }
- HRESULT XNetLogonGetMachineIDHook(QWORD* machineID){
- QWORD machID=0;
- HRESULT rett = XNetLogonGetMachineID(&machID);
- XUSER_SIGNIN_INFO userInfo;
- XamUserGetSigninInfo(0, XUSER_GET_SIGNIN_INFO_ONLINE_XUID_ONLY, &userInfo);
- BYTE gamertagSha[0x10];
- XeCryptSha((PBYTE)userInfo.szUserName, strlen(userInfo.szUserName), NULL, NULL, NULL, NULL, gamertagSha, 0x10);
- SetMemory(machineID+5, gamertagSha, 0x3);
- return rett;
- }
- typedef HRESULT (*pXamInputGetState)(QWORD r3,QWORD r4,QWORD r5);
- pXamInputGetState XamInputGetState = (pXamInputGetState)ResolveFunction(NAME_XAM, 401);
- static BOOL isFrozen = FALSE;
- HRESULT XamInputGetStateHook(QWORD r3,QWORD r4,QWORD r5){
- if(isFrozen){
- return 0;
- }
- HRESULT ret = XamInputGetState(r3, r4, r5);
- return ret;
- }
- static DWORD lastTitleID=0;
- BYTE NOP[] = { 0x60, 0x00, 0x00, 0x00 };
- BYTE Branch[] = { 0x48, 0x00 };
- BYTE DOLONG[] = { 0x89, 0x21, 0x00, 0x50, 0x60, 0x00, 0x00, 0x00 };
- BYTE TEST[] = { 0x61, 0x49, 0x00, 0x00 };
- BYTE GHOSTS_LASER[] = { 0x38, 0x60, 0x00, 0x01 };
- BYTE GHOSTS_UAV[] = { 0x3B, 0x60, 0x00, 0x01 };
- BYTE BO2_WALL[] = { 0x34, 0xC0, 0xFF, 0xFF };
- BYTE AW_ENABLER[] = { 0x39, 0x60, 0x00, 0x00 };
- BYTE AW_ENABLER2[] = { 0x38, 0xC0, 0x00, 0x03 };
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- LPCWSTR Buttons5[2] = { L"Modifications", L"Original Game"};
- DWORD WINAPI MW2_Go(LPVOID lpParam)
- {
- XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty MW2", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nNo Recoil= ON!\nLazer= ON!\nUAV= ON!\nRedbox= ON!", 2, Buttons5, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- if(g_mb_result.dwButtonPressed == 0) {
- *(int*)0x82104093 = other; //lazer
- //*(int*)0x82135BE3 = other; //No Recoil
- //*(int*)2182017324u = other; //UAV
- //*(int*)2182038068u = other; //Redbox
- *(byte *)0x82104093 = 1; //TU8 -> Modern Warfare 2
- *(byte *)0x820F4233 = 1; //TU8 -> Modern Warfare 2
- *(byte *)0x82135BE3 = 0; //TU8 -> Modern Warfare 2
- *(byte *)0x82135BFC = 0x60000000; // No Recoil
- * (byte *)0x820F584C = 0x60000000; //No spread 1
- *(byte *)0x82134E88 = 0x60000000; //No spread 2
- *(byte *)0x820E5B38 = 0x60000000; //Weapon Sway
- *(byte *)0x820E657C = 0x60000000; //Weapon Sway
- *(byte*)0x82104093 = 1; //TU8 -> Modern Warfare 2
- (0, "set g_compassshowenemies 1;set activeaction \"g_compassshowenemies 1;scr_game_forceuav 1;set activeaction \\\"g_compassshowenemies 1;scr_game_forceuav 1;set activeaction g_compassshowenemies 1\\\"\"");
- XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - MW2 Mods Enabled!", NULL);
- return 0;
- }
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- LPCWSTR Buttons10[2] = { L"Modifications", L"Off Host" };
- DWORD WINAPI BO3_go(LPVOID lpParam) {
- XNotifyUI(L"COD: BO3 - Bypass Enabled!");
- while (XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLSantaV2 - COD: BO3", L"Aces Fun House Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nNoRecoil= ON!\nRedboxes= ON!\nNoSway= OFF!\nUAV= ON!\nSmallCrosshairs= OFF!\n\n\nBO3ModMenu= ON!\n", 2, Buttons10, 0, XMB_ALERTICON, &g_mb_result, &g_xol) == ERROR_ACCESS_DENIED) Sleep(500);
- while (!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- if (g_mb_result.dwButtonPressed == 0) {
- *(int*)0x82665268 = 0x60000000; // nop link register TU8
- *(int*)0x825889DC = 0x60000000; // nop challenge TU8
- *(int*)0x825889E4 = 0x400; // respond to challenge TU8
- *(int*)0x82279CB8 = 0x38600001;//NoRecoil TU8
- *(int*)0x82610920 = 0x60000000;//RedBoxes TU8
- *(int*)0x82610948 = 0x60000000;//RedBoxes TU8
- *(int*)0x82201008 = 0x60000000;//NoSway TU8
- *(int*)0x8228BC78 = 0x60000000;//UAV TU8
- *(int*)0x82099FA8 = 0;//Chrosshairs TU8
- //BYTE bo3[4] = { 0x7c, 0xd0, 0x33, 120 };//Black Ops 3 Bodys TU8
- //memcpy((void*)0x822B61BC, bo3, 4); //Black Ops 3 Bodys TU8
- XNotifyUI(L"COD: BO3 - Modifications Enabled");
- }
- else if (g_mb_result.dwButtonPressed == 1) {
- DoBO3Menu();
- }
- return 0;
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- LPCWSTR Buttons0[2] = { L"Modifications", L"Original Game"};
- DWORD WINAPI BO2_go(LPVOID lpParam)
- {
- *(int*)0x821f5b7c = 0x38600001; //Redboxes
- *(int*)0x82259BC8 = 0x38600001; //No Recoil
- *(int*)0x821B8FD0 = 0x2B110001; //UAV
- *(int*)0x82255E1C = 0x2B110001; //Laser
- *(int*)0x821FC04C = 0x38C0FFFF; //Wallhack
- return 0;
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- LPCWSTR Buttons3[2] = { L"Modifications", L"Original Game"};
- DWORD FindPattern(DWORD Address, DWORD Length, PCHAR pbMask)
- {
- DWORD szMaskl = std::strlen(pbMask);
- PCHAR szMask = "";
- for (DWORD i = 0; i < szMaskl/4;i++){
- szMask += 'X';
- }
- for(DWORD i = 0; i < Length; i++)
- {
- if(DataCompare((PBYTE)(Address + i), (PBYTE)pbMask, szMask) == TRUE)
- { return Address + i; }
- }
- return NULL;
- }
- VOID DoText(){
- Sleep(500);
- DWORD mp = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x4D\x45\x4E\x55\x5F\x4D\x55\x4C\x54\x49\x50\x4C\x41\x59\x45\x52\x5F\x43\x41\x50\x53") - 0x0C;
- DWORD play = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x50\x4C\x41\x54\x46\x4F\x52\x4D\x5F\x55\x49\x5F\x48\x45\x41\x44\x45\x52\x5F\x50\x4C\x41\x59\x5F\x4D\x50\x5F\x43\x41\x50\x53") - 0x0f;
- DWORD find = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x50\x4C\x41\x54\x46\x4F\x52\x4D\x5F\x46\x49\x4E\x44\x5F\x47\x41\x4D\x45\x5F\x43\x41\x50\x53") - 0x0b;
- DWORD find1 = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x50\x4C\x41\x54\x46\x4F\x52\x4D\x5F\x46\x49\x4E\x44\x5F\x47\x41\x4D\x45\x00") - 0x0b;
- DWORD priv = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x4D\x50\x55\x49\x5F\x50\x52\x49\x56\x41\x54\x45\x5F\x4D\x41\x54\x43\x48\x5F\x4C\x4F\x42\x42\x59") - 0x0e;
- DWORD armory = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x4C\x55\x41\x5F\x4D\x45\x4E\x55\x5F\x41\x52\x4D\x4F\x52\x59") - 0x07;
- DWORD cc = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x4D\x50\x55\x49\x5F\x43\x52\x45\x41\x54\x45\x5F\x41\x5F\x43\x4C\x41\x53\x53") - 0x0F;
- DWORD op = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x4C\x55\x41\x5F\x4D\x45\x4E\x55\x5F\x43\x52\x45\x41\x54\x45\x5F\x41\x4E\x5F\x4F\x50\x45\x52\x41\x54\x4F\x52") - 0x09;
- DWORD pm = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x4D\x50\x55\x49\x5F\x50\x52\x49\x56\x41\x54\x45\x5F\x4D\x41\x54\x43\x48") - 0x0e;
- DWORD storetitle = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x4D\x45\x4E\x55\x5F\x53\x54\x4F\x52\x45\x5F\x43\x41\x50\x53") - 0x06;
- DWORD store = FindPattern((DWORD)0xC6A50000, (DWORD)0xB0000, "\x4C\x55\x41\x5F\x4D\x45\x4E\x55\x5F\x53\x54\x4F\x52\x45") - 0x06;
- BYTE EDGE[] = { 0x5E, 0x35, 0x45, 0x44, 0x47, 0x45, 0x21, 0x5e, 0x35, 0x5e, 0x35, 0x00};
- BYTE EDGE_BYPASS[] = {0x5E, 0x35, 0x45, 0x44, 0x47, 0x45, 0x20, 0x42, 0x59, 0x50, 0x41, 0x53, 0x53, 0x00};
- BYTE EDGE_FIND[] = { 0x5E, 0x35, 0x45, 0x44, 0x47, 0x45, 0x21, 0x5e, 0x35, 0x20, 0x00};
- BYTE EDGE_FIND1[] = {0x5E, 0x36, 0x50, 0x6C, 0x61, 0x79, 0x5E, 0x35, 0x5E, 0x35, 0x00};
- BYTE EDGE_PRIV[] = {0x5E, 0x35, 0x45, 0x44, 0x47, 0x45, 0x5E, 0x35, 0x5E, 0x35, 0x5E, 0x35, 0x20, 0x00};
- BYTE EDGE_ARMOR[] = {0x5E, 0x36, 0x4C, 0x6F, 0x6F, 0x74, 0x00};
- BYTE EDGE_CC[] = {0x5E, 0x36, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x43, 0x6C, 0x61, 0x73, 0x73, 0x00};
- BYTE EDGE_OP[] = {0x5E, 0x36, 0x4D, 0x45, 0x20, 0x3C, 0x33, 0x20, 0x00};
- BYTE EDGE_PM[] = {0x5E, 0x36, 0x46, 0x75, 0x6E, 0x20, 0x5A, 0x6F, 0x6E, 0x65, 0x20, 0x20, 0x20, 0x00};
- BYTE EDGE_ST[] = {0x5E, 0x36, 0x44, 0x4c, 0x43, 0x00};
- if (mp != 0) memcpy((BYTE*)mp, EDGE, 12);
- if (play != 0) memcpy((BYTE*)play, EDGE_BYPASS, 14);
- if (find != 0) memcpy((BYTE*)find, EDGE_FIND, 11);
- if (find1 != 0) memcpy((BYTE*)find1, EDGE_FIND1, 11);
- if (priv != 0) memcpy((BYTE*)priv, EDGE_PRIV, 14);
- if (armory != 0) memcpy((BYTE*)armory, EDGE_ARMOR, 7);
- if (cc != 0) memcpy((BYTE*)cc, EDGE_CC, 15);
- if (op != 0) memcpy((BYTE*)op, EDGE_OP, 9);
- if (pm != 0) memcpy((BYTE*)pm, EDGE_PM, 14);
- if (storetitle != 0) memcpy((BYTE*)storetitle, EDGE_ST, 6);
- if (store != 0) memcpy((BYTE*)store, EDGE_ST, 6);
- }
- DWORD WINAPI AW_go(LPVOID lpParam)
- {
- XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty AW", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nRedbox= ON!\nNo Recoil= ON!\nUAV= ON!", 2, Buttons3, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- if(g_mb_result.dwButtonPressed == 0) {
- *(int*)0x82648CEC = nop; //no recoil
- *(int*)0x8262FB0C = nop; //Redbox
- //*(int*)0x823884FC = other; //FPS
- *(int*)0x826352A4 = other; //UAV1
- *(int*)0x826352A8 = other; //UAV2
- *(int*)0x826352AC = other; //UAV3
- *(int*)0x826352B0 = other; //UAV4
- XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, XNOTIFYUI_PRIORITY_HIGH, L"AW - Modifications Enabled!", NULL);
- }
- return 0;
- }
- //////////////////////////////////////////////////////////////////////////////////////////////////////////
- BYTE MW3_WH[] = { 0x42, 0x20, 0x00, 0x00 };
- BYTE MW3_BOXES[] = { 0x41, 0x9A, 0x00, 0x12 };
- BYTE MW3_UAV[] = { 0x3B, 0x80, 0x00, 0x01 };
- BYTE MW3_RECOIL[] = { 0x60, 0x00, 0x00, 0x00 };
- BYTE MW3_LASER[] = { 0x2F, 0x10, 0x00, 0x01 };
- BYTE MW3_CH[] = { 0x3B, 0x80, 0x00, 0x01 };
- DWORD WINAPI MW3_Go(LPVOID lpParam)
- {
- *(int*)0x821154A4 = other; //Redboxes
- *(int*)0x8210E58C = other; //UAV A
- *(int*)0x8215A2C0 = other; //Lazer
- *(int*)0x82001B7C = other; //Walhack
- *(int*)0x821614D4 = other; //No Recoil
- *(int*)0x82001B7C = 0x42200000;
- *(int*)0x821154A4 = 0x60000000;
- *(int*)0x8210E58C = 0x3B800001;
- *(int*)0x821614D4 = 0x60000000;
- *(int*)0x8215A2C0 = 0x2F100001;
- XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - MW3 Mods Enabled!", NULL);
- return 0;
- }
- //////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////
- DWORD WINAPI GTA5_go(LPVOID lpParam)
- {
- *(long long int*)0x838B60F4 = 0x00000422F6D6AA59;
- *(BYTE*)0x82CF782B = 1;
- *(int*)0x83288A30 = 0x48000104;
- *(char*)0x82CF782B = 1;
- *(int*)0x82FDB564 = 0x3FC0022C;
- *(int*)(0x82FDB564 + 0x4) = 0x63DEC800;
- *(int*)(0x82FDB564 + 0x8) = 0x93DD0018;
- *(int*)(0x82FDB564 + 0xC) = 0x3C60838B;
- *(int*)(0x82FDB564 + 0x10) = 0x606360F4;
- *(int*)(0x82FDB564 + 0x14) = 0xE8630000;
- *(int*)(0x82FDB564 + 0x18) = 0x907D001C;
- *(int*)(0x82FDB564 + 0x1C) = 0x3C60838B;
- *(int*)(0x82FDB564 + 0x20) = 0x606360F4;
- *(int*)(0x82FDB564 + 0x24) = 0xF8630000;
- *(int*)(0x82FDB564 + 0x28) = 0x3C6082FD;
- *(int*)(0x82FDB564 + 0x2C) = 0x6063B564;
- *(int*)(0x82FDB564 + 0x30) = 0xF8630000;
- return 0;
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- LPCWSTR Buttons6[2] = { L"Modifications", L"Original Game"};
- DWORD WINAPI COD5_Go(LPVOID lpParam)
- {
- XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty WAW", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nGodMode= ON!\n+ More!", 2, Buttons6, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- if(g_mb_result.dwButtonPressed == 0) {
- //*(int*)0x011c0bb7 = other; //GodMode
- *(int*)0x821A0BFC = 0x60000000;
- *(int*)0x8215C7E4 = 0x60000000;
- *(int*)0x821A00C0 = 0x60000000;
- *(int*)0x8214789C = 0x60000000;
- *(int*)0x8214804C = 0x60000000;
- *(int*)0x821548A4 = 0x3B800001;
- XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - WAW Mods Enabled!", NULL);
- return 0;
- }
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- bool Live_GetConsoleDetailsHook(unsigned char internalIP[4], unsigned char onlineIP[4], unsigned long long *machineIDH, unsigned long long *null, unsigned long long *enet) {
- srand(time(0));
- int iTargetAddress = 0;
- __asm mflr iTargetAddress
- if(iTargetAddress == 0X822EC08C || iTargetAddress == 0X822EB7C4) {
- for(int i = 0; i < 4; i++) {
- internalIP[i] = rand() % 0xFF; onlineIP[i] = rand() % 0xFF;
- }
- *enet = 0x001DD8000000 | rand() % 0x7FFFFF;
- return true;
- }
- return Live_GetConsoleDetailsSavestub(internalIP,onlineIP,machineIDH,null,enet);
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- LPCWSTR Buttons7[2] = { L"Modifications", L"Original Game"};
- DWORD WINAPI COD4_Go(LPVOID lpParam)
- {
- XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty COD4", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\n", 2, Buttons7, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- if(g_mb_result.dwButtonPressed == 0) {
- *(int*)0x822EDAA0 = 0x60000000;
- *(int*)0x822ECE14 = 0x60000000;
- *(int*)0x82319514 = 0x60000000;
- *(int*)0x8233048C = 0x60000000;
- *(int*)0x8233169C = 0x60000000;
- *(int*)0x823225C8 = 0x3B400001;
- XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - COD4 Mods Enabled!", NULL);
- return 0;
- }
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- LPCWSTR Buttons8[2] = { L"Modifications", L"Original Game"};
- DWORD WINAPI BO1_Go(LPVOID lpParam)
- {
- XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty BO1", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nRedbox= ON!\nBlackbird= ON!\n+ More!", 2, Buttons8, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- if(g_mb_result.dwButtonPressed == 0) {
- *(int*)0x821A819F = 0x01419A00;//BlackBird TU11
- *(int*)0x821DA22B = 0x01382100;//Red Box
- *(int*)0x82227624 = 0x60000000;
- *(int*)0x8232786C = 0x60000000;
- *(int*)0x821B7C04 = 0x60000000;
- *(int*)0x82195200 = 0x60000000;
- *(int*)0x82195D1C = 0x60000000;
- *(int*)0x821A819C = 0x2B0B0001;
- XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - Black Ops 1 Mods Enabled!", NULL);
- return 0;
- }
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- void Ghost(){
- *(PDWORD)0x8267680 = 0x4800;
- *(PDWORD)0x826276CC = 0x36800000;
- *(int*)0x826276E0 = 0x60000000;
- *(int*)0x826276D4 = 0x60000000;
- XNotifyUI(L"XBLExtinction - Ghost Bypassed [TU17] Enabled!");
- }
- BYTE Challenge[] = { // Challenge using random data // Using Full Challenge resp clean
- 0x00, 0x00, 0x00, 0x00, //IPAddress
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //Machine ID
- 0x00, 0x1D, 0xD8, //macCheck
- 0x00, 0x00, 0x00, //abEnet
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x82, //Unknown
- 0x12, //Retail Flag
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //Console Serial
- 0x00, //Padding
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //Console ID
- 0x41, 0x74, //Kernel Version
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3A //Sizeof(Challenge)
- };
- VOID GHOSTS_RandomizeData(){
- srand(time(NULL));
- BYTE IPAddress[4], MachineID[8], abEnet[3], ConsoleSerialNumber[12], ConsoleID[12];
- for(int i = 0; i < 4; i++) { IPAddress[i] = rand() % 90; }
- for(int i = 0; i < 3; i++){ abEnet[i] = rand() % 90; }
- for(int i = 0; i < 8; i++) { MachineID[i] = rand() % 90; }
- for(int i = 0; i < 12; i++) { ConsoleSerialNumber[i] = rand() % 90; ConsoleID[i] = rand() % 90; }
- }
- inline __declspec() INT answerChallenges(__int64 r3, __int64 r4, DWORD ChallengeResponse) {
- __asm {
- nop
- nop
- nop
- nop
- nop
- nop
- nop
- blr
- }
- }
- void answerChallengesHook(__int64 r3, __int64 r4, DWORD ChallengeResponse){ // r3, r4, r5 --> ChallengeResponse is the third argument (r5).
- // Set our Random Data
- memcpy((PVOID)(ChallengeResponse + 0x1E), &Challenge, sizeof(Challenge));
- // return r3, r4 and r5
- answerChallenges(r3, r4, ChallengeResponse);
- }
- inline __declspec() bool Live_GetConsoleDetailsSavestubGhost(bool alwaysTrue, unsigned char internalIP[4], unsigned char onlineIP[4], unsigned long long *machineIDH, unsigned long long *null, unsigned long long *enet)
- {
- __asm {
- nop
- nop
- nop
- nop
- nop
- nop
- nop
- blr
- }
- }
- bool Live_GetConsoleDetailsHookGhost(bool alwaysTrue, unsigned char internalIP[4], unsigned char onlineIP[4], unsigned long long *machineIDH, unsigned long long *null, unsigned long long *enet) {
- srand(time(0));
- int iTargetAddress = 0;
- __asm mflr iTargetAddress
- if(iTargetAddress == 0X822EC08C || iTargetAddress == 0X822EB7C4) {
- for(int i = 0; i < 4; i++) {
- internalIP[i] = rand() % 0xFF; onlineIP[i] = rand() % 0xFF;
- }
- *enet = 0x001DD8000000 | rand() % 0x7FFFFF;
- return true;
- }
- return Live_GetConsoleDetailsSavestubGhost(alwaysTrue, internalIP,onlineIP,machineIDH,null,enet);
- }
- BYTE dataghost[4] = { 0x38, 0xC0, 0x00, 0x07 };
- BYTE dataghost2[4] = { 0x60, 0x00, 0x00, 0x00 };
- BYTE dataghostno[4] = { 0x60, 0x00, 0x00, 0x00 };
- LPCWSTR Buttons1[2] = { L"Aimbot", L"Original Game" };
- DWORD WINAPI Ghosts_Go(LPVOID lpParam) {
- XNotifyUI(L"COD: Ghosts - Bypass Enabled!");
- XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLSantaV2 - COD: Ghosts", L"XBLSantaV2 Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nRedbox= ON!\nNo Recoil= ON!\nLazer= ON!\nUAV= ON!", 2, Buttons1, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- while (!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- if (g_mb_result.dwButtonPressed == 0) {
- *(int*)0x8226D2B4 = nop; //RedBox
- *(int*)0x8227F198 = other; //Lazer
- *(int*)0x8226539B = other; //UAV1
- *(int*)0x82265793 = other; //UAV2
- *(int*)0x822657FF = other; //UAV3
- ghostaimbot();
- memcpy((void*)0x82290494, &dataghost, 4);//CG_Player
- memcpy((void*)0x82673240, &dataghost2, 4);//ChromePlayers
- memcpy((void*)0x822C9344, &dataghostno, 4);//No Recoil
- //GHOST Player Outline
- BYTE ghosts[4] = { 0x38, 0xc0, 0, 5 };
- memcpy((void*)0x82290494, ghosts, 4);
- XNotifyUI(L"COD: Ghosts - Modifications Enabled");
- }
- return 0;
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- DWORD WINAPI DestinyLaunch_Go(LPVOID lpParam){
- //=========================================================
- Sleep(50);
- //=========================================================
- XNotifyUI(L"Destiny ByPass successful");
- DbgPrint("Destiny Bypass successful");
- //=========================================================
- Sleep(50);
- //=========================================================
- *(DWORD*)0xD95A05AC = 0x00000001;
- *(DWORD*)0xD95A05AF = 0x00000001;
- *(DWORD*)0xD95A1488 = 0x00000001;
- *(DWORD*)0xD95B1988 = 0x00000001;
- *(DWORD*)0xD95A1487 = 0x00000001;
- //=========================================================
- Sleep(50);
- //=========================================================
- *(int*)0xD95A05AC = 1;
- *(int*)0xD95A05AF = 1;
- *(int*)0xD95A1488 = 1;
- *(int*)0xD95B1988 = 1;
- *(int*)0xD95A05AC = 1;
- *(int*)0xD95A1487 = 1;
- //=========================================================
- Sleep(50);
- //=========================================================
- for(;;){
- //=========================================================
- Sleep(20);
- //=========================================================
- *(DWORD*)0xD95A05AC = 0x00000001;
- *(DWORD*)0xD95A05AF = 0x00000001;
- *(DWORD*)0xD95A1488 = 0x00000001;
- *(DWORD*)0xD95B1988 = 0x00000001;
- *(DWORD*)0xD95A1487 = 0x00000001;
- //=========================================================
- Sleep(20);
- //=========================================================
- *(int*)0xD95A05AC = 1;
- *(int*)0xD95A05AF = 1;
- *(int*)0xD95A1488 = 1;
- *(int*)0xD95B1988 = 1;
- *(int*)0xD95A05AC = 1;
- *(int*)0xD95A1487 = 1;
- //=========================================================
- Sleep(20);
- //=========================================================
- for(DWORD i = 0xD95A0000; i < 0xD95AFFFF; i++){
- if(*(int*)i)
- if(*(int*)i == 0)
- *(int*)i = 1;
- Sleep(10);
- if(*(DWORD*)i)
- if(*(DWORD*)i == 0x00000000)
- *(DWORD*)i = 0x00000001;
- }
- //=========================================================
- Sleep(2);
- //=========================================================
- for(DWORD i = 0xD9500000; i < 0xD95FFFFF; i++){
- if(*(int*)i)
- if(*(int*)i == 0)
- *(int*)i = 1;
- Sleep(10);
- if(*(DWORD*)i)
- if(*(DWORD*)i == 0x00000000)
- *(DWORD*)i = 0x00000001;
- }
- //=========================================================
- Sleep(20);
- //=========================================================
- XNotifyUI(L"Destiny - Bypassed");
- }
- return 0;
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- inline DWORD GoldSpoofHook(DWORD dwUserIndex, XPRIVILEGE_TYPE PrivilegeType, PBOOL pfResult) {
- DWORD XamUserCheckPrivilege = (DWORD)ResolveFunction("xam.xex", 0x212); // Gold Spoofing
- *(int*)(XamUserCheckPrivilege + 0x140) = 0x39600001; // Gold Spoofing
- *(int*)(XamUserCheckPrivilege + 0x1A0) = 0x39600001; // Gold Spoofing
- *(int*)(XamUserCheckPrivilege + 0x1AC) = 0x39600001; // Gold Spoofing
- *(int*)(XamUserCheckPrivilege + 0x1B4) = 0x39600001; // Gold Spoofing
- DWORD XUCP = (DWORD)ResolveFunction("xam.xex", 0x212);
- *(int*)0x816DA804 = 0x38600006;
- *(int*)0x81A3B870 = 0x38600001;
- if (PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_COMMUNICATIONS //Everybody
- //New
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_MULTIPLAYER_SESSIONS //Everybody
- //New END
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_COMMUNICATIONS //Everybody
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_PROFILE_VIEWING //Everybody
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_USER_CREATED_CONTENT //Everybody
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_PRESENCE //Everybody
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_VIDEO_COMMUNICATIONS) //Everybody
- ///////////////////////////////////////////////////////////////////////////////////
- /*
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_COMMUNICATIONS_FRIENDS_ONLY
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_PROFILE_VIEWING_FRIENDS_ONLY
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_USER_CREATED_CONTENT_FRIENDS_ONLY
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_PRESENCE_FRIENDS_ONLY
- || PrivilegeType == XPRIVILEGE_TYPE::XPRIVILEGE_VIDEO_COMMUNICATIONS_FRIENDS_ONLY)
- */
- *pfResult = FALSE;
- else
- *pfResult = TRUE;
- return 0;
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- unsigned long XeXGetModuleHandleHook(char* ModuleName)
- {
- if (strcmp(ModuleName, "xbdm.xex") == 0)
- return 0;
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- /*
- void Spoofing() {
- srand(time(NULL));
- BYTE IPAddr[3], MachineId[8], macAddress[3], SerialConsole[12], SerialId[12];
- //for (int i = 0; i < 6; i++) {
- // MachineId[i + 2] = rand();
- // Sleep(5);
- //}
- //for (int i = 0; i < 4; i++) {
- // MachineId[i + 4] = rand();
- // Sleep(5);
- //}
- for (int i = 0; i < 3; i++) {
- IPAddr[i] = rand();
- Sleep(5);
- }
- //for (int i = 0; i < 3; i++) {
- // macAddress[i] = rand();
- // Sleep(5);
- //}
- //for (int i = 0; i < 12; i++) {
- // int iRand = (rand() % 9) + 1;
- // SerialConsole[i] = 0x30 | iRand;
- // Sleep(5);
- // int iRand2 = (rand() % 9) + 1;
- // SerialId[i] = 0x30 | iRand;
- // Sleep(5);
- }*/
- VOID InitializeTitleSpecificHooks(PLDR_DATA_TABLE_ENTRY ModuleHandle)
- {
- // Hook any calls to XexGetProcedureAddress
- //#ifdef XOSC_ENABLED
- PatchModuleImport(ModuleHandle, NAME_KERNEL, 407, (DWORD)XexGetProcedureAddressHook);
- //#endif
- // If this module tries to load more modules, this will let us get those as well
- PatchModuleImport(ModuleHandle, NAME_KERNEL, 408, (DWORD)XexLoadExecutableHook);
- PatchModuleImport(ModuleHandle, NAME_KERNEL, 409, (DWORD)XexLoadImageHook);
- PatchModuleImport(ModuleHandle, NAME_XAM, 401, (DWORD)XamInputGetStateHook);
- XEX_EXECUTION_ID* pExecutionId = (XEX_EXECUTION_ID*)RtlImageXexHeaderField(ModuleHandle->XexHeaderBase, 0x00040006);
- if (pExecutionId == 0) return;
- bool test = 0;
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if (wcscmp(ModuleHandle->BaseDllName.Buffer, L"dash.xex") == 0 || wcscmp(ModuleHandle->BaseDllName.Buffer, L"xshell.xex") == 0 || pExecutionId->TitleID == FREESTYLEDASH)
- {
- dashLoaded = TRUE;
- lastTitleID = pExecutionId->TitleID;
- test = 0;
- //GoldSpoofHook;
- }
- else {
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if (pExecutionId->TitleID == BO2)
- {
- // HookFunctionStart((PDWORD)LiveStats_Probation_GiveProbation, (PDWORD)LiveStats_Probation_GiveProbationSaveStub, (DWORD)LiveStats_Probation_GiveProbationHook);
- if (wcscmp(ModuleHandle->BaseDllName.Buffer, L"default_mp.xex") == 0)
- {
- BYTE Data[] = { 0x60, 0x00, 0x00, 0x00 };
- memcpy((BYTE*)0x8259A65C, Data, 4); // Disable challenge log check
- memcpy((BYTE*)0x82497EB0, Data, 4); // Disable call to protections
- memcpy((BYTE*)0x82497F30, Data, 4); // Cheat
- memcpy((BYTE*)0x82497EE0, Data, 4); // Write
- XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, XNOTIFYUI_PRIORITY_HIGH, L"Black Ops 2 - Bypass Enabled!", NULL);
- HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, BO2_go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- CloseHandle(hThread);
- //XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty BO2", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nRedboxes= ON!\nNo Recoil= ON!\nUAV= ON!\nLaser= OFF!\nWallhack= OFF!", 2, Buttons0, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- //if(g_mb_result.dwButtonPressed == 0) {
- // *(int*)0x821f5b7c = 0x38600001; //Redboxes
- // *(int*)0x82259BC8 = 0x38600001; //No Recoil
- // *(int*)0x821B8FD0 = 0x2b110001; //UAV
- // *(int*)0x82255E1C = 0x2b110001; //Laser
- // //*(int*)0x829052FC = other; //Wallhack
- // XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, XNOTIFYUI_PRIORITY_HIGH, L"Black Ops 2 - Modifications Enabled!", NULL);
- //}
- }
- else if (wcscmp(ModuleHandle->BaseDllName.Buffer, L"default.xex") == 0)
- {
- PatchInJump((PDWORD)0x82844820, (DWORD)XNetXnAddrToMachineIdHookBO2, false);//TU18 Machine ID From XeX
- BYTE Data[] = { 0x60, 0x00, 0x00, 0x00 };
- SetMemory((PVOID*)0x824A7620, Data, 4); //Bypass xD
- SetMemory((PVOID*)0x8248FA60, Data, 4); // Disable challenge log check
- SetMemory((PVOID*)0x823B9B00, Data, 4); // Disable call to protections
- SetMemory((PVOID*)0x823B99D4, Data, 4); // Cheat
- SetMemory((PVOID*)0x823B99A0, Data, 4); // Write
- SetMemory((PVOID*)0x823B9988, Data, 4); // Read
- XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, XNOTIFYUI_PRIORITY_HIGH, L"Black Ops 2 Zombies - Bypass Enabled!", NULL);
- Sleep(3000);
- printf("BLOPS2 - Zombies Bypassed!");
- }
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- #pragma region Guide Menu
- if (wcscmp(ModuleHandle->BaseDllName.Buffer, L"hud.xex") == 0 && !IsDevkit)
- {
- //Spoofing();
- HUD_PatchLabels();
- InitializeHudHooks(ModuleHandle);
- }
- #pragma endregion
- BYTE MSP1[28] = { 0x38, 0x80, 0x00, 0x05, 0x80, 0x63, 0x00, 0x1C, 0x90, 0x83, 0x00, 0x04, 0x38, 0x80, 0x05, 0x39, 0x90, 0x83, 0x00, 0x08, 0x38, 0x60, 0x00, 0x00, 0x4E, 0x80, 0x00, 0x20 };
- BYTE MSP2[4] = { 0x60, 0x00, 0x00, 0x00 };
- BYTE MSP3[4] = { 0x48, 0x00, 0x00, 0xC8 };
- BYTE MSP4[4] = { 0x39, 0x60, 0x00, 0x00 };
- if (wcscmp(ModuleHandle->BaseDllName.Buffer, L"Guide.MP.Purchase.xex") == 0 && !IsDevkit) {
- SetMemory((PVOID)0x8168A7F0, MSP1, 28);// In Xam.xex
- SetMemory((PVOID)0x818E8CFC, MSP2, 4);// In Xam.xex
- SetMemory((PVOID)0x818E9034, MSP3, 4);// In Xam.xex
- SetMemory((PVOID)0x818ED72C, MSP4, 4);// In Gudie.MP.Purchase.xex
- SetMemory((PVOID)0x9015C108, MSP2, 4);// In Gudie.MP.Purchase.xex
- XNotifyUI(L"Aces Fun House - MSP Spoofing Enabled!\nRIP Microsoft");//dont share this is de bomb
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if (pExecutionId->TitleID == MW2)
- {
- HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, MW2_Go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- CloseHandle(hThread);
- /*MESSAGEBOX_RESULT g_mb_result;
- XOVERLAPPED g_xol;
- LPCWSTR Buttons5[2] = { L"Modifications", L"Original Game"};*/
- //XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty MW2", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nNo Recoil= ON!\nLazer= ON!\nUAV= ON!\nRedbox= ON!", 2, Buttons5, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- //while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- //if(g_mb_result.dwButtonPressed == 0) {
- // *(int*)0x8212F6A0 = other; //lazer
- // *(int*)0x82135BE3 = other; //No Recoil
- // *(int*)2182017324u = other; //UAV
- // *(int*)2182038068u = other; //Redbox
- // XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - MW2 Mods Enabled!", NULL);
- //}
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if (pExecutionId->TitleID == AW)
- {
- if (wcscmp(ModuleHandle->BaseDllName.Buffer, L"default_mp.xex") == 0)
- {
- Sleep(500);
- //PatchInJump((PDWORD)(ResolveFunction("xam.xex", 0x212)), (DWORD)GoldSpoofHook, false);
- PatchInJump((PDWORD)(ResolveFunction("xam.xex", 0x195)), (DWORD)XeXGetModuleHandleHook, false);
- HookFunctionStart((PDWORD)0x8233B018, (PDWORD)Live_GetConsoleDetailsSavestub, (DWORD)Live_GetConsoleDetailsHook);
- PatchInJump((PDWORD)0x8219EA3C, (DWORD)XNetXnAddrToMachineIdHook, false);
- *(long long*)0x822CA190 = 0x8921005060000000; //This returns xbdm as non-existent;
- *(int*)0x822CA18C = 0x48000010; //Patch branch to not set dev flag
- *(int*)0x822CA184 = 0x38600000; //patch subfunction to check xbdm
- *(int*)0x822CA0EC = 0x3920331C; //Return answer challenges correctly
- *(PBYTE)(0x8233B0E4 + 0x03) = 0x00; //Prevent blacklist in console details
- XNotifyQueueUI(XNOTIFYUI_TYPE_GENERIC, 0, 2, L"AW - Bypass Enabled!", 0);
- //DoText();
- HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, AW_go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- CloseHandle(hThread);
- }
- else if (wcscmp(ModuleHandle->BaseDllName.Buffer, L"default.xex") == 0)
- {
- Sleep(5000);
- //Set gold privileges
- //PatchInJump((PDWORD)ResolveFunction(MODULE_XAM, 530), (DWORD)GoldSpoofHook, false);
- //Patch MachineID Hook
- PatchInJump((PDWORD)ResolveFunction(MODULE_XAM, 64), (DWORD)NetDll_XNetXnAddrToMachineIdHook, false);
- DbgPrint("NetDll_XNetXnAddrToMachineId hooked.\n");
- // Hook XNetLogonGetMachineID.
- //PatchInJump((PDWORD)ResolveFunction(MODULE_XAM, 309), (DWORD)XNetLogonGetMachineIDHook, false);
- //DbgPrint("XNetLogonGetMachineID hooked.\n");
- //Patch here so any calls to xbdm are return as 0;
- //PatchInJump((PDWORD)(ResolveFunction(MODULE_KERNEL, 405)), (DWORD)XeXGetModuleHandleHook, false);
- //Answer those challenges ########### NOT HOOKING CHALLENGES....THEY CHANGED!!!!!!! ############################
- //HookFunctionStart((PDWORD)0x821DFC18, (PDWORD)SaveStubAW, (DWORD)bdAntiCheat_answerChallengesHook);
- //DbgPrint("bdAntiCheat::answerChallenges hooked.\n");
- //Patch these calls before answering challenges
- *(long long*)0x822CA190 = 0x8921005060000000; //This returns xbdm as non-existent;
- *(int*)0x822CA18C = 0x48000010; //Patch branch to not set dev flag
- *(int*)0x822CA184 = 0x38600000; //patch subfunction to check xbdm
- *(int*)0x822CA0EC = 0x3920331C; //Return answer challenges correctly
- *(PBYTE)(0x8233B0E4 + 0x03) = 0x00; //Prevent blacklist in console details
- //Patch challenges and continue
- HookFunctionStart((PDWORD)0x8233B018, (PDWORD)Live_GetConsoleDetailsSavestub, (DWORD)Live_GetConsoleDetailsHookAW);
- XNotifyQueueUI(XNOTIFYUI_TYPE_GENERIC, 0, 2, L"XBLExtinction - AW TU16/TU17 Challenges Spoofed!", 0);
- //DoText();
- }
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- DWORD rflag = 0x39200003;
- QWORD dnop = 0x6000000060000000;
- if (pExecutionId->TitleID == GHOSTS)
- {
- LPCWSTR Buttons1[2] = { L"Modifications", L"Original Game"};
- //HookFunctionStart((PDWORD)0x82591688, (PDWORD)Live_GetConsoleDetailsSavestubGhost, (DWORD)Live_GetConsoleDetailsHookGhost);//Ghost
- *(int*)0x826276D4 = 0x48000010;
- *(int*)0x826276CC = 0x38600000;
- *(int*)0x82627670 = 0x3920331C;
- //PatchInJump((PDWORD)(ResolveFunction("xam.xex", 0x212)), (DWORD)GoldSpoofHook, false);
- PatchInJump((PDWORD)(ResolveFunction("xam.xex", 0x195)), (DWORD)XeXGetModuleHandleHook, false);
- PatchInJump((PDWORD)0x81A717AC, (DWORD)XNetXnAddrToMachineIdHook, false);
- //HookFunctionStart((PDWORD)0x827BE888, (PDWORD)answerChallenges, (DWORD)answerChallengesHook);
- GHOSTS_RandomizeData();
- XNotifyQueueUI(XNOTIFYUI_TYPE_GENERIC, 0, 2, L"Ghosts - Bypass Enabled!", 0);
- HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, Ghosts_Go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- CloseHandle(hThread);
- //XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty Ghost", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nRedbox= ON!\nNo Recoil= ON!\nLazer= ON!\nUAV= ON!", 2, Buttons1, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- //while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- //if(g_mb_result.dwButtonPressed == 0) {
- // *(int*)0x8226D2B4 = nop; //RedBox
- // *(int*)0x822C9344 = nop; //No Recoil
- // *(int*)0x8227F198 = other; //Lazer
- // *(int*)0x8226539B = other; //UAV1
- // *(int*)0x82265793 = other; //UAV2
- // *(int*)0x822657FF = other; //UAV3
- // XNotifyQueueUI(XNOTIFYUI_TYPE_GENERIC, 0, 2, L"Ghosts - Modifications Enabled!", 0);
- //}
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if (pExecutionId->TitleID == DESTINY)
- {
- HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, (LPTHREAD_START_ROUTINE)DestinyLaunch_Go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if (pExecutionId->TitleID == GTAV)
- {
- /* HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, GTA5_go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- CloseHandle(hThread); */
- }
- if (pExecutionId->TitleID == MW3)
- {
- /*MESSAGEBOX_RESULT g_mb_result;
- XOVERLAPPED g_xol;
- LPCWSTR Buttons4[2] = { L"Modifications", L"Original Game"};*/
- //MW3 Public Cheater Thread
- HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, MW3_Go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- CloseHandle(hThread);
- //while(XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty MW3", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nRedbox= ON!\nNo Recoil= ON!\nLazer= ON!\nUAV= ON!\nWalhack= ON!", 2, Buttons4, 0, XMB_ALERTICON, &g_mb_result, &g_xol) == ERROR_ACCESS_DENIED) Sleep(500);
- //while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- //if(g_mb_result.dwButtonPressed == 0) {
- //*(int*)0x821154A4 = other; //Redboxes
- //*(int*)0x8210E58C = other; //UAV A
- //*(int*)0x8215A2C0 = other; //Lazer
- //*(int*)0x82001B7C = other; //Walhack
- //*(int*)0x821614D4 = other; //No Recoil
- //XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - MW3 Mods Enabled!", NULL);
- //}
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if (pExecutionId->TitleID == WAW)
- {
- /*MESSAGEBOX_RESULT g_mb_result;
- XOVERLAPPED g_xol;
- LPCWSTR Buttons6[2] = { L"Modifications", L"Original Game"};*/
- //COD5 Public Cheater Thread
- HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, COD5_Go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- CloseHandle(hThread);
- //while(XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty WAW", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nGodMode= ON!\n", 2, Buttons6, 0, XMB_ALERTICON, &g_mb_result, &g_xol) == ERROR_ACCESS_DENIED) Sleep(500);
- //while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- //if(g_mb_result.dwButtonPressed == 0) {
- //*(int*)0x011c0bb7 = other; //GodMode
- //XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - WAW Mods Enabled!", NULL);
- //}
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if (pExecutionId->TitleID == MW1)
- {
- /*MESSAGEBOX_RESULT g_mb_result;
- XOVERLAPPED g_xol;
- LPCWSTR Buttons7[2] = { L"Modifications", L"Original Game"};*/
- //COD4 Public Cheater Thread
- HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, COD4_Go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- CloseHandle(hThread);
- /*XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty COD4", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\n", 2, Buttons7, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- if(g_mb_result.dwButtonPressed == 0) {
- XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - COD4 Mods Enabled!", NULL);
- }*/
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if (pExecutionId->TitleID == BO1)
- {
- /*MESSAGEBOX_RESULT g_mb_result;
- XOVERLAPPED g_xol;
- LPCWSTR Buttons8[2] = { L"Modifications", L"Original Game"};*/
- //BO1 Public Cheater Thread
- HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, BO1_Go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- CloseHandle(hThread);
- //XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty BO1", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nRedbox= ON!\nBlackbird= ON!\n", 2, Buttons8, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- //while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- //if(g_mb_result.dwButtonPressed == 0) {
- // *(int*)2182775199u = other; //Redbox
- // *(int*)2182980139u = other; //Blackbird
- //XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - Black Ops 1 Mods Enabled!", NULL);
- //}
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if (pExecutionId->TitleID == BO3)
- {
- /*MESSAGEBOX_RESULT g_mb_result;
- XOVERLAPPED g_xol;
- LPCWSTR Buttons8[2] = { L"Modifications", L"Original Game"};*/
- //BO1 Public Cheater Thread
- HANDLE hThread;
- DWORD threadId;
- ExCreateThread(&hThread, 0, &threadId, (VOID*)XapiThreadStartup, BO3_go, NULL, 0x2 | CREATE_SUSPENDED);
- XSetThreadProcessor(hThread, 4);
- SetThreadPriority(hThread, THREAD_PRIORITY_HIGHEST);
- ResumeThread(hThread);
- CloseHandle(hThread);
- //XShowMessageBoxUI(XUSER_INDEX_ANY, L"XBLExtinction - Call Of Duty BO1", L"XBLExtinction Mods -\nPlease Select A Cheat Option\n\nModifications\n----------------\nRedbox= ON!\nBlackbird= ON!\n", 2, Buttons8, 0, XMB_ALERTICON, &g_mb_result, &g_xol);
- //while(!XHasOverlappedIoCompleted(&g_xol)) Sleep(500);
- //if(g_mb_result.dwButtonPressed == 0) {
- // *(int*)2182775199u = other; //Redbox
- // *(int*)2182980139u = other; //Blackbird
- //XNotifyQueueUI(XNOTIFYUI_TYPE_COMPLAINT, 0, 2, L"XBLExtinction - Black Ops 1 Mods Enabled!", NULL);
- //}
- }
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- lastTitleID = pExecutionId->TitleID;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement