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 › Combat Arms Hacks & Cheats › Combat Arms Europe Hacks › Combat Arms EU Hack Coding/Source Code › Engine Hook - Reset, Present, BeginScene, EndScene and DrawIndexedPrimitive

Engine Hook - Reset, Present, BeginScene, EndScene and DrawIndexedPrimitive

Posts 1–4 of 4 · Page 1 of 1
[H]aaBX
[H]aaBX
Engine Hook - Reset, Present, BeginScene, EndScene and DrawIndexedPrimitive


I updated my Engine Hooks today and they are working!
I changed there a little thing, but I won't tell you want.
I'm releasing the way how it gets called by Engine.exe and a few useful things for hooking it.

Code:
Reset:
MOV ECX, [EAX]
MOV EDX, [ECX + 0x40]
MOV DWORD PTR DS:[pDevice], EAX
PUSHAD

Signature Scan + Mask: \x8B\x08\x8B\x51\x40\xFF\xD2 xxxxxxx
Byte Pattern: 8B 08 8B 51 40 FF D2
Patch this Bytes: 8B 08
Return: Pointer + 0x5
Code:
Present:
MOV ECX, [EAX]
MOV EDX, [ECX + 0x44]
MOV DWORD PTR DS:[pDevice], EAX
PUSHAD

Signature Scan + Mask: \x8B\x08\x8B\x51\x44\xFF\xD2 xxxxxxx
Byte Pattern: 8B 08 8B 51 44 FF D2
Patch this Bytes: 8B 08
Return: Pointer + 0x5
Code:
BeginScene:
MOV ECX, [EAX]
MOV EDX, [ECX + 0xA4]
MOV DWORD PTR DS:[pDevice]
PUSHAD

Signature Scan + Mask:  \x8B\x08\x8B\x91\xA4\x00\x00\x00 xxxxx???
Byte Pattern: 8B 08 8B 91 A4 00 00 00
Patch this Bytes: 8B 08
Return: Pointer + 0x8
Code:
EndScene:
MOV ECX, [EAX]
MOV EDX, [ECX + 0xA8]
MOV DWORD PTR DS:[pDevice]
PUSHAD

Signature Scan + Mask: \x8B\x08\x8B\x91\xA8\x00\x00\x00 xxxxx???
Byte Pattern: 8B 08 8B 91 A8 ?? ?? ??
Patch this Bytes: 8B 08
Return: Pointer + 0x8
Code:
DrawIndexedPrimitive:
MOV ECX, [EAX]
MOV EDX, [ECX + 148]
MOV DWORD PTR DS:[pDevice], EAX
PUSHAD

Signature Scan + Mask: \x8B\x08\x8B\x91\x48\x01\x00\x00 xxxxxx??
Byte Pattern: 8B 08 8B 91 48 01 ?? ??
Patch this Bytes: 8B 08
Return: Pointer + 0x8
Get the Pointers by your own - You have the sigs ^^
I hooked more than only this basic shit. There are more functions that are pretty useful

Credits: ME - [H]aaBX
Give Credits
#1 · edited 13y ago · 13y ago
R4v0r
R4v0r
Are you kidding me? Why all these troubles for something such simple ...
#2 · 13y ago
Flengo
[MPGH]Flengo
Might as well release since I don't think it will be effective after the latest patch hits EU.
#3 · 13y ago
wraithkilla
wraithkilla
 
Using this
Code:
	
	pEndScene = (oEndScene) (DWORD)VTable[42];
   	DetourTransactionBegin();
    DetourUpdateThread(GetCurrentThread());
    DetourAttach(&(PVOID&)pEndScene, EndScene);
    DetourTransactaionCommit();

	pDrawIndexedPrimitive = (oDrawIndexedPrimitive) (DWORD)VTable[82];
   	DetourTransactionBegin();
    DetourUpdateThread(GetCurrentThread());
    DetourAttach(&(PVOID&)pDrawIndexedPrimitive, DrawIndexedPrimitive);
    DetourTransactionCommit();
	
 	
 Voids->log( " \n");
 Voids->log( " EndScene:				0x%X \n",pEndScene);
 Voids->log( " DIP:		 			    0x%X \n",pDrawIndexedPrimitive);


using this lol
#4 · 13y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • request|Why I click on this engine.exe the start-HShleld Pro and it does nothing?By ofirofiron3 in Combat Arms Europe Hacks
    2Last post 17y ago
  • Convert Source Engine models to Lithtech! (For CAPS and CA)By supercarz1991 in Combat Arms Mod Tutorials
    26Last post 14y ago
  • WiirtuallCA Cheat Engine Hook V 1.2 [64BIT Vista/7Only]By Wiirtuallca in Combat Arms Europe Hacks
    11Last post 16y ago
  • i used Wieter20 public hook on punkbuster installed server and i m not bannedBy ssjgoku4 in Call of Duty Modern Warfare 2 Private Servers
    6Last post 15y ago
  • [RELEASE] Crysis engine hookBy Hell_Demon in C++/C Programming
    14Last post 16y ago

Tags for this Thread

None