Thread: D3D Pointer

Results 1 to 2 of 2
  1. #1
    lauwy's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    522
    Reputation
    19
    Thanks
    1,106

    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
    Need some help to get back on track

    Find the pointer to the D3D9 Device (Not usefull for Cross)

    https://www.mpgh.net/forum/242-crossf...ice-lauwy.html

    Fix olly if scanning doesn't work

    https://www.mpgh.net/forum/242-crossf...ing-fails.html

    Unpack cshell.dll

    https://www.mpgh.net/forum/242-crossf...shell-dll.html

  2. #2
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,174
    Reputation
    170
    Thanks
    2,557
    My Mood
    Bitchy
    Look up IDirect3DDevice9 functions... The device pointer is 0x6CCFC8.

Similar Threads

  1. [Help]D3D Pointer?
    By seeplusplus in forum Call of Duty Black Ops Coding, Programming & Source Code
    Replies: 7
    Last Post: 01-03-2011, 01:10 PM
  2. [Release] D3D Pointer [11-17]
    By ipwnuuaal5 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 24
    Last Post: 11-20-2010, 09:44 PM
  3. [OllyDBG]D3D Device pointer
    By Hell_Demon in forum Call of Duty Modern Warfare 2 Coding / Programming / Source Code
    Replies: 4
    Last Post: 09-30-2010, 06:46 AM
  4. How to find the D3D device pointer?
    By Mr.Magicman in forum Combat Arms Help
    Replies: 0
    Last Post: 05-24-2010, 09:56 AM
  5. [CoD:MW2] Getting the D3D Device pointer
    By Hell_Demon in forum Reverse Engineering
    Replies: 0
    Last Post: 05-18-2010, 04:56 AM