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 › Hooking

ExclamationHooking

Posts 1–5 of 5 · Page 1 of 1
LU
lucifereviluser
Hooking
You can draw something in this midhook such as: box,CrossHair, memory. But you cant draw font.

Code:
_declspec(naked) void MyMid()
{
	_asm mov edi,edi;
	_asm push ebp;
	_asm mov ebp,esp;
	_asm mov eax,dword ptr [ebp + 0x8];
	_asm mov pDevice,eax;
	_asm jmp back;
}
Code:
BOOL WINAPI DllMain ( HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	If dwReason == DLL_PROCESS_ATTACH Then
		DWORD hD3D  = (DWORD)LoadLibrary("d3d9.dll");

		DWORD HookedD3D	= FindPattern(hD3D, 0x128000, (PBYTE)"\x8B\xFF\x55\x8B\xEC\x5D\x00\x00\x00\x00\x00\xCC\xCC\xCC\xCC\xCC\x8B\xFF\x55\x8B\xEC\x51", "xxxxxx?????xxxxxxxxxxx"); //XP OS

		if(!HookedD3D)
		{
			DWORD HookedD3DA	= FindPattern(hD3D, 0x128000, (PBYTE)"\xC3\x90\x90\x90\x90\x90\x8B\xFF\x55\x8B\xEC\x5D\xEB\x00\x90\x90\x90\x90\x90\x8B\xFF\x55\x8B\xEC\x6A\xFF", "xxxxxxxxxxxxx?xxxxxxxxxxxx"); //Win 7 OS
			HookedD3D			= HookedD3DA +  0x6;
		}

		back		= HookedD3D  + 5;

		DetourFunc((PBYTE)(HookedD3D), (PBYTE)MyMid,5);
	_End
	return TRUE;
}
Have a good cheat !
#1 · 13y ago
Shartob1
Shartob1
Wow, amazing! thx for sharing....
#2 · 13y ago
LU
lucifereviluser
Hmm. It 's still working. But you cant draw text. You can draw border. FillRBG. DrawCrossHair or put memory hack in there
#3 · 13y ago
RE
ree0z
why should font not work.. there are several methods to do that! i think if you can use functions like border and fillrbg there is a way to do the fonts
#4 · 13y ago
NE
Nemo[4ever]
yeah you can draw font only with DrawEngineString of game
#5 · 13y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • New Hacks Announced & Warrock DX Hook UpdateBy Dave84311 in Hack/Release News
    17Last post 19y ago
  • WR D3D Hook - =o - 03/22/07By Dave84311 in Hack/Release News
    14Last post 18y ago
  • How can i hook the punkbuster?By TheRedEye in WarRock - International Hacks
    5Last post 19y ago
  • D3D hooking tutorial 5 i thinkBy llvengancell in WarRock - International Hacks
    7Last post 19y ago
  • tut How to hook tut 6By llvengancell in WarRock - International Hacks
    1Last post 19y ago

Tags for this Thread

None