D3D Pointer

Posts 1–2 of 2 · Page 1 of 1
D3D Pointer
I was searthing on google how to find the D3D pointer, and this I found:



With this script:

Code:
#include "stdafx.h"
#include <windows.h>
#include <iostream>

using namespace std;

DWORD_PTR * FindDevice(void)
{
    DWORD Base = (DWORD)LoadLibraryW(L"d3d9.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;
}

int main() {
	cout << FindDevice() << "\n";
	system("pause");
}
Maby this is helpfull :P
Now I'm going to learn D3D i I can find a good book
Look up IDirect3DDevice9 functions... The device pointer is 0x6CCFC8.
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us