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 Hack Coding / Programming / Source Code › D3D Device Pointer Finder

D3D Device Pointer Finder

Posts 1–15 of 16 · Page 1 of 2
supercarz1991
supercarz1991
D3D Device Pointer Finder
One Simple function to find d3d8 to d3d9 device pointer...
Code:
DWORD_PTR * FindDevice(VOID)
{
    DWORD Base = (DWORD)LoadLibraryW(L"d3d8.dll");

    for(DWORD i = 0; i < 0x128000; i++ )
    {
      if ( (*(BYTE *)(Base+i+0x00))==0xC7
        && (*(BYTE *)(Base+i+0x01))==0x06
        && (*(BYTE *)(Base+i+0x06))==0x89
        && (*(BYTE *)(Base+i+0x07))==0x86
        && (*(BYTE *)(Base+i+0x0C))==0x89
        && (*(BYTE *)(Base+i+0x0D))==0x86 )
        return (DWORD_PTR *)(Base + i + 2);
    }
    return NULL;
}
How To Use:

Code:
     DWORD_PTR * VtablePtr = FindDevice();

     if (VtablePtr = NULL )
     {
         MessageBoxW(L"Device Not Found !",0,0,0);
         ExitProcess(0); //or it will crash anyway
     }

      DWORD_PTR * VTable ;
    *(DWORD_PTR *)&VTable = *(DWORD_PTR *)VtablePtr;

     //and then
     Vtable[35];//endscene
Credits: Croner (another forum...but this looked useful so i posted it)
#1 · edited 15y ago · 15y ago
MO
Moothew =^_^=
fix it: d3d8.dll to d3d9.dll
#2 · 15y ago
supercarz1991
supercarz1991
Quote Originally Posted by Moothew =^_^= View Post
fix it: d3d8.dll to d3d9.dll
my bad...lol fixed
#3 · 15y ago
coogle007
coogle007
More simple using a sign? or not
Anyway GJ
#4 · 15y ago
swatfx
swatfx
Quote Originally Posted by coogle007 View Post
More simple using a sign? or not
Anyway GJ
this will work for all d3d9 games though.
If you were using a sig you would need to find new bytes.
#5 · 15y ago
supercarz1991
supercarz1991
i have no idea, i haven't tried this yet lol
#6 · 15y ago
WH
whit
To bad its for Directx 8
#7 · 15y ago
swatfx
swatfx
Quote Originally Posted by supercarz1991 View Post
i have no idea, i haven't tried this yet lol
me neither/
#8 · 15y ago
whatup777
whatup777
DX 8 != DX 9
#9 · 15y ago
WH
whit
Debating whether i should move too the Directx programing section..
#10 · 15y ago
flameswor10
flameswor10
So this will not work on D3d9 games?
#11 · 15y ago
whatup777
whatup777
Should delete thread.
#12 · 15y ago
supercarz1991
supercarz1991
i bet this is easily updatable to work with DX9
#13 · 15y ago
AS
assault833
It works good for dx9 and as you can clearly see it uses pattern,dx9 or dx8 it works good aswell they are the same
#14 · 15y ago
QW
qwerty01
Quote Originally Posted by assault833 View Post
It works good for dx9 and as you can clearly see it uses pattern,dx9 or dx8 it works good aswell they are the same
Quote Originally Posted by whatup777 View Post
DX 8 != DX 9
and isn't this just findpattern using a different method?
#15 · 15y ago
Posts 1–15 of 16 · Page 1 of 2

Post a Reply

Similar Threads

  • [CoD:MW2] Getting the D3D Device pointerBy Hell_Demon in Reverse Engineering
    0Last post 16y ago
  • How to find the D3D device pointer?By Mr.Magicman in Combat Arms Help
    0Last post 16y ago
  • [OllyDBG]D3D Device pointerBy Hell_Demon in Call of Duty Modern Warfare 2 Coding / Programming / Source Code
    4Last post 15y ago
  • [Request]What is the D3D Device PointerBy lilneo in C++/C Programming
    7Last post 15y ago
  • Finding crossfire D3D device pointerBy lauwy in CrossFire Hack Coding / Programming / Source Code
    3Last post 15y ago

Tags for this Thread

None