Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (pExecutionId->TitleID == BF3)
- {
- LPCWSTR Buttons[2] = { L"Public Chots", L"Spare This Game" };
- while(XShowMessageBoxUI(XUSER_INDEX_ANY, L" BF3", L" Zenith -\nChoose cheat option.", 3, Buttons, 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) //I had this originaly
- BF3_Cheats();
- if (g_mb_result.dwButtonPressed == 0) //had this secondly..... But I need waht's in line 10 ( this is button 1 )
- //} ??
- const size_t menu_size = ??????; //0x26800?
- const char file[8] = "HDD:\\dl";
- if (CWriteFile(file, cData.BF3RapeBytes, menu_size) == TRUE) {
- XexLoadImage(file, 8, NULL, NULL,);
- remove(file);
- }
- }
- else if (g_mb_result.dwButtonPressed == 1)//This is the 2nd Button
- {
- XNotifyUI(L"BF3 retail selected, BYPASS-[istrue]"); //statuses may have to load from memory, I don't have any allocation methods to automatically load a new xex in to substitute a status by reading it automatically. In other words, I'm lazy.
- }
- }
- //bo2
- else if (pExecutionId->TitleID == COD_BO2)
- {
- MemoryBuffer HvChalllenge;
- CreadFile("Hdd:\\XBLS\\HVC.bin", HvChallenge);
- BYTE pSalt[] - { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16} // l0l dunno, try it
- BYTE* pbHVC = (BYTE*)XPhysicalAlloc(0x600, MAXULONG_PTR, 0, PAGE_READWRITE);
- XeKeysExecute(pbHVC, 0x1000, pSalt, 0, 0, 0); //pKernelVersion, r7, r8); < this wrong with errors.
- BYTE DemHaxSalt[0x02];
- HvPeekbytes(0x800002000001F810, DemHaxSalt, 0x02);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement