Results 1 to 1 of 1
  1. #1
    Veteran Dwar is on a distinguished road Dwar's Avatar
    Join Date
    2010 Mar
    Thanked 2,220 Times in 286 Posts
    Rep Power

    [C++] D3D Device Pointer Finder

    A function to find d3d8/d3d9 device pointer
    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
    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
    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

Visitors found this page by searching for:

game device pointer

d3d device pointer

find device pointer

d3d9 device pointer

d3d finddevicevtable d3dfinding device pointerdevice pointer finderfind d3d device pointerbase d3dget d3d device pointerprogamercity find direct3dc pointer finderd3d basefinding d3d device pointerD3D Device Pointer Finderfinding the device pointerhow to find d3d pointerFind Device Pointer Functionc DevicePointerc d3d baseFind Device Pointer C#d3dDevice Cfinding direct3d device pointerhow to find the game device pointer


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts