Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › CrossFire Hacks & Cheats › CrossFire Hack Coding / Programming / Source Code › Present Hooks Win 7/8 .. 8.1/10

Present Hooks Win 7/8 .. 8.1/10

Posts 1–15 of 20 · Page 1 of 2
mamo007
mamo007
Present Hooks Win 7/8 .. 8.1/10
Well, as i left cf hacks. Here's my hooks i used.

Code:
DWORD retPRESENT10;
__declspec(naked) void Present10()
{

	static LPDIRECT3DDEVICE9 pDevice;

	__asm
	{
		MOV EDI,EDI
			PUSH EBP
			MOV EBP,ESP
			MOV ESI,DWORD PTR SS:[EBP + 0x8]
		MOV pDevice,ESI
	}
	if(pDevice)
	{
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	    //..
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
	}
	__asm
	{
		JMP retPRESENT10
	}
}
DWORD retPRESENT7;
__declspec(naked) void Present7()
{

	static LPDIRECT3DDEVICE9 pDevice;

	__asm
	{
		MOV EDI,EDI
        PUSH EBP
        MOV EBP,ESP
		PUSH ESI
		PUSH EDI
		MOV EDI,DWORD PTR SS:[EBP+8]
		MOV pDevice,EDI
	}
	if(pDevice)
	{
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	    //..
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
	}
	__asm
	{
		JMP retPRESENT7
	}
}

DWORD retPRESENT8;
__declspec(naked) void Present8()
{

	static LPDIRECT3DDEVICE9 pDevice;

	__asm
	{
		MOV EDI, EDI
		PUSH EBP
		MOV EBP, ESP
		MOV EAX, DWORD PTR SS : [EBP + 0x8]
		MOV pDevice, EAX
	}
	if(pDevice)
	{
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	    //...
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
	}
	__asm
	{
		JMP retPRESENT8
	}
}

void Mamo()
{
	DWORD hD3D = (DWORD)LoadLibraryA(ed3d9);
	GetAddressP10 = FindPattern(hD3D, 0x128000, (PBYTE)"\x8B\xFF\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x0C\x56\x8B\x75\x08\x85\xF6\x74\x05\x8D\x46\x04\xEB\x02\x33\xC0\x6A\x00\x50\x8D\x4C\x24\x10\xE8\x00\x00\x00\x00\xF7\x46\x00\x00\x00\x00\x00\x74\x07\xBE\x00\x00\x00\x00\xEB\x17", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx????xx?????xxx????xx");
	if(GetAddressP10)
	{
		retPRESENT10 = GetAddressP10 + 0xC;
		DetourFunction((PBYTE)GetAddressP10,(PBYTE)Present10);
	}
    GetAddressP7 = FindPattern(hD3D, 0x128000, (PBYTE)"\x8B\xFF\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x85\xFF\x74\x44\x8D\x77\x04\x83\x7E\x18\x00\x0F\x85\x00\x00\x00\x00\xF6\x47\x2C\x02", "xxxxxxxxxxxxxxxxxxxxxxx????xxxx");
	if(GetAddressP7)
	{
		retPRESENT7 = GetAddressP7 + 0x7;
		DetourFunction((PBYTE)GetAddressP7,(PBYTE)Present7);
	}
	GetAddressP8 = FindPattern(hD3D, 0x128000, (PBYTE)"\x8B\xFF\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x0C\x56\x8B\x75\x08\x85\xF6\x74\x48\x8D\x46\x04\x83\x64\x24\x0C\x00\x83\x78\x18\x00\x89\x44\x24\x08\x75\x3A\xF7\x46\x00\x00\x00\x00\x00\x0F\x85\x00\x00\x00\x00\x6A\x00\xFF\x75\x18\x8B\xCE\xFF\x75\x14\xFF\x75\x10\xFF\x75\x0C\xE8\x00\x00\x00\x00\x8B\xF0\x8D\x4C\x24\x08\xE8\x00\x00\x00\x00", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?????xx????xxxxxxxxxxxxxxxxx????xxxxxxx????");
	if(GetAddressP8)
	{
		retPRESENT8 = GetAddressP8 + 0xC;
		DetourFunction((PBYTE)GetAddressP8,(PBYTE)Present8);
	}
}
Sooner or later they'll be detected.

Credits:
Me , @dreek1

GOOD LUCK WITH THAT !
#1 · 9y ago
DA
DariasLuc
Can mamo007 make wallhack for gg DOT gg/cfjp2setup
Anti-Cheat by nProtect GameMon Rev 2452
CrossFire 2.0
crossfire.exe, CShell.dll, d3dx9_29.dll
gg DOT gg/cfjp2

Thanks
#2 · 9y ago
ZO
ZolinhoFast
Code:
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(115): error C2065: 'ed3d9' : undeclared identifier
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(116): error C3861: 'FindPattern': identifier not found
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(120): error C3861: 'DetourFunction': identifier not found
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(122): error C3861: 'FindPattern': identifier not found
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(126): error C3861: 'DetourFunction': identifier not found
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(128): error C3861: 'FindPattern': identifier not found
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(132): error C3861: 'DetourFunction': identifier not found
1>Main.cpp(120): error C3861: 'CreateDevice': identifier not found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#3 · 9y ago
CaioFonseca
CaioFonseca
Quote Originally Posted by ZolinhoFast View Post
Code:
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(115): error C2065: 'ed3d9' : undeclared identifier
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(116): error C3861: 'FindPattern': identifier not found
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(120): error C3861: 'DetourFunction': identifier not found
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(122): error C3861: 'FindPattern': identifier not found
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(126): error C3861: 'DetourFunction': identifier not found
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(128): error C3861: 'FindPattern': identifier not found
1>c:\users\thiago\desktop\ca base d3d menu selection v5\ca base d3d menu selection v5\Hook.h(132): error C3861: 'DetourFunction': identifier not found
1>Main.cpp(120): error C3861: 'CreateDevice': identifier not found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
LOL, Put the detours function
#4 · 9y ago
josielcardoso7
josielcardoso7
OMG, you create this hook? good job, I study it now
#5 · 9y ago
remzkee0903
remzkee0903
@mamo007 Works perfectly for me! Thanks for this. You're simply the best as always sir. 5 star for this useful post!
#6 · 9y ago
DR
dreamers0911
Quote Originally Posted by mamo007 View Post
Well, as i left cf hacks. Here's my hooks i used.

Code:
DWORD retPRESENT10;
__declspec(naked) void Present10()
{

	static LPDIRECT3DDEVICE9 pDevice;

	__asm
	{
		MOV EDI,EDI
			PUSH EBP
			MOV EBP,ESP
			MOV ESI,DWORD PTR SS:[EBP + 0x8]
		MOV pDevice,ESI
	}
	if(pDevice)
	{
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	    //..
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
	}
	__asm
	{
		JMP retPRESENT10
	}
}
DWORD retPRESENT7;
__declspec(naked) void Present7()
{

	static LPDIRECT3DDEVICE9 pDevice;

	__asm
	{
		MOV EDI,EDI
        PUSH EBP
        MOV EBP,ESP
		PUSH ESI
		PUSH EDI
		MOV EDI,DWORD PTR SS:[EBP+8]
		MOV pDevice,EDI
	}
	if(pDevice)
	{
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	    //..
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
	}
	__asm
	{
		JMP retPRESENT7
	}
}

DWORD retPRESENT8;
__declspec(naked) void Present8()
{

	static LPDIRECT3DDEVICE9 pDevice;

	__asm
	{
		MOV EDI, EDI
		PUSH EBP
		MOV EBP, ESP
		MOV EAX, DWORD PTR SS : [EBP + 0x8]
		MOV pDevice, EAX
	}
	if(pDevice)
	{
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	    //...
	    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
	}
	__asm
	{
		JMP retPRESENT8
	}
}

void Mamo()
{
	DWORD hD3D = (DWORD)LoadLibraryA(ed3d9);
	GetAddressP10 = FindPattern(hD3D, 0x128000, (PBYTE)"\x8B\xFF\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x0C\x56\x8B\x75\x08\x85\xF6\x74\x05\x8D\x46\x04\xEB\x02\x33\xC0\x6A\x00\x50\x8D\x4C\x24\x10\xE8\x00\x00\x00\x00\xF7\x46\x00\x00\x00\x00\x00\x74\x07\xBE\x00\x00\x00\x00\xEB\x17", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx????xx?????xxx????xx");
	if(GetAddressP10)
	{
		retPRESENT10 = GetAddressP10 + 0xC;
		DetourFunction((PBYTE)GetAddressP10,(PBYTE)Present10);
	}
    GetAddressP7 = FindPattern(hD3D, 0x128000, (PBYTE)"\x8B\xFF\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x85\xFF\x74\x44\x8D\x77\x04\x83\x7E\x18\x00\x0F\x85\x00\x00\x00\x00\xF6\x47\x2C\x02", "xxxxxxxxxxxxxxxxxxxxxxx????xxxx");
	if(GetAddressP7)
	{
		retPRESENT7 = GetAddressP7 + 0x7;
		DetourFunction((PBYTE)GetAddressP7,(PBYTE)Present7);
	}
	GetAddressP8 = FindPattern(hD3D, 0x128000, (PBYTE)"\x8B\xFF\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x0C\x56\x8B\x75\x08\x85\xF6\x74\x48\x8D\x46\x04\x83\x64\x24\x0C\x00\x83\x78\x18\x00\x89\x44\x24\x08\x75\x3A\xF7\x46\x00\x00\x00\x00\x00\x0F\x85\x00\x00\x00\x00\x6A\x00\xFF\x75\x18\x8B\xCE\xFF\x75\x14\xFF\x75\x10\xFF\x75\x0C\xE8\x00\x00\x00\x00\x8B\xF0\x8D\x4C\x24\x08\xE8\x00\x00\x00\x00", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?????xx????xxxxxxxxxxxxxxxxx????xxxxxxx????");
	if(GetAddressP8)
	{
		retPRESENT8 = GetAddressP8 + 0xC;
		DetourFunction((PBYTE)GetAddressP8,(PBYTE)Present8);
	}
}
Sooner or later they'll be detected.

Credits:
Me , @dreek1

GOOD LUCK WITH THAT !

SIr Can You Teach Me How To make ESP Skleton Or Give A Full Of Source Code Sir Please ..
#7 · 9y ago
D2
D2-DEV
No more updated sources code with high Features
 
my latest crossfire vip hack
17/11/2016(Outdated) (Source code give away)
 
Signature
SAFO
 
My Free hacks this week
XtrapBypass
Mutants hack
#8 · edited 9y ago · 9y ago
mamo007
mamo007
Quote Originally Posted by D2-DEV View Post
No more updated sources code with high Features
 
my latest crossfire vip hack
17/11/2016(Outdated) (Source code give away)
 
Signature
SAFO
 
My Free hacks this week
XtrapBypass
Mutants hack
You still funny.
#9 · 9y ago
NE
NewieX
Any tutorial how to use this?
#10 · 9y ago
AH
ahrixspie
Can U Send All Your Source Before u Left ??

- - - Updated - - -

Quote Originally Posted by remzkee0903 View Post
@mamo007 Works perfectly for me! Thanks for this. You're simply the best as always sir. 5 star for this useful post!
Paano Mo Na Compile Pwede Pa Turo >?
#11 · 9y ago
josielcardoso7
josielcardoso7
you have created this code or leeched?
#12 · 9y ago
DE
DevilUser
Quote Originally Posted by josielcardoso7 View Post
you have created this code or leeched?
I'll guess leeched by dreek1
#13 · 9y ago
mamo007
mamo007
Quote Originally Posted by DevilUser View Post
I'll guess leeched by dreek1
Quote Originally Posted by josielcardoso7 View Post
you have created this code or leeched?
Ahh now kids saying i leeched it.
#14 · 9y ago
DE
DevilUser
Quote Originally Posted by mamo007 View Post




Ahh now kids saying i leeched it.
Haha I know you since a long time... And well I bet you don't code this by yourself. Anyways you didn't denied my guess.
#15 · 9y ago
Posts 1–15 of 20 · Page 1 of 2

Post a Reply

Similar Threads

  • Present Hook + Modo PatternoBy XarutoUsoCrack1 in Combat Arms BR Hack Coding/Source Code
    16Last post 13y ago
  • Present HookBy gflames12 in Crossfire Coding Help & Discussion
    0Last post 13y ago
  • Information about hooking present / resetBy PgSQL in CrossFire Europe Hack Source Code
    0Last post 14y ago
  • Hook Present EngineBy Avene in CrossFire Hack Coding / Programming / Source Code
    16Last post 13y ago
  • Cross Fire and Xfire present - Play 2 Win Contest! Win a laptop and moreBy hashb247 in CrossFire Discussions
    23Last post 14y ago

Tags for this Thread

None