[C++] Internal EndScene Menu Source

Posts 110 of 10 · Page 1 of 1
[C++] Internal EndScene Menu Source
Hello everybody! This menu is from my crossfire and combat arms hacks... They work for CS GO too, but when you change resolution, the game freezes. I will try to fix this problem.. I am only releasing the EndScene hook required to make the menu (since the menu part is easy) If you need the whole project, add me on skype. (The features don't work XD, they are for a different game so if they are called they do nothing.)

Here is the menu:


ASM Patching:

Windows 8/8.1/10
Code:
__asm
{
POPFD
POPAD
MOV EDI,DWORD PTR SS:[EBP+0x8]
XOR ESI,ESI
}
Windows Vista/7
Code:
__asm
{
MOV ESI, DWORD PTR SS : [EBP+0x8]
XOR EBX, EBX
MOV pDevice, ESI
PUSHAD
}
Windows XP (Thanks to friend, I don't own WinXP)
Code:
__asm
{
MOV DWORD PTR SS : [EBP - 0x1C], EDI
MOV DWORD PTR SS : [EBP - 0x18], EBX
MOV pDevice, ESI
PUSHAD
}
Oh yeah POPAD + POPFD (If pushed) after you call your functions

CodeCaveJMPAddresses:

Code:
DWORD pDevice = FindPattern(hD3D, 0x128000, (PBYTE)"\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", "00????00????00");
I used vTable[42], which is EndScene in d3d9.dll.

Windows 8/8.1/10

Code:
Endscenehook = vTable[42] + 0xC;
EndsceneRet = Endscenehook + 0x5;
PlaceJMP((PBYTE)Endscenehook, (DWORD)Endscene_Detour, 5);
Windows Vista/7
Code:
Endscenehook = vTable[42] + 0x2D;
EndsceneRet = Endscenehook + 0x5;
PlaceJMP((PBYTE)Endscenehook, (DWORD)Endscene_Detour, 5);
Windows XP (Friend used 6 bytes)
Code:
Endscenehook = vTable[42] + 0x36;
EndsceneRet = Endscenehook + 0x6;
PlaceJMP((PBYTE)Endscenehook, (DWORD)Endscene_Detour, 6);
If anyone needs ANYTHING, add me on skype and ill help. Skype: Lucasheer715
is there going to be a download for this?? it looks amazing and i would love to have a look at the source code
Quote Originally Posted by ImWhacky View Post
is there going to be a download for this?? it looks amazing and i would love to have a look at the source code
None of the features work though If the menu didn't freeze, I would have already imported Aimbot and ESP (BoxESP, BoneESP, HPESP) I'll have to find a fix soon. If you would like the project to be public you can always add me on skype then release it yourself for others XD
Quote Originally Posted by lucasheer1 View Post
None of the features work though If the menu didn't freeze, I would have already imported Aimbot and ESP (BoxESP, BoneESP, HPESP) I'll have to find a fix soon. If you would like the project to be public you can always add me on skype then release it yourself for others XD
I might have to take you up on that offer, fine sir
Quote Originally Posted by _PuRe.LucK* View Post
plx credit flux
For what? The hooking itself is mine, because hooking is easy.. And that is all i posted.. soo?
Quote Originally Posted by lucasheer1 View Post
For what? The hooking itself is mine, because hooking is easy.. And that is all i posted.. soo?
the menu is clearly from flux
and the resolution problem, hook reset..
Quote Originally Posted by _PuRe.LucK* View Post


the menu is clearly from flux
and the resolution problem, hook reset..
i didn't post the menu, only a picture of it. Reset hook not detected?
Quote Originally Posted by lucasheer1 View Post
i didn't post the menu, only a picture of it. Reset hook not detected?
i dont know if it is detected, but reset solved that problem for me.
just hook with hwbp, vmt, veh whatever


lol, this is some funny codes
Posts 110 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?