Thread: Hook EndScene

Results 1 to 2 of 2
  1. #1
    inmate's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Bottrop, NRW, Germany
    Posts
    131
    Reputation
    10
    Thanks
    194
    My Mood
    Amazed

    Hook EndScene

    Hey, i have a question : "Is it not longer possible to Hook the EndScene function in the d3d9.dll ? Because IDA donīt find the function EndScene. /

    My OS: Windows 7 64 bit professional.

  2. #2
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    EndScene in D3D9 is pointed to in index 42 of the VTable

    Code:
    IDirect3DDevice9 *pDevice = (IDirect3DDevice9*)0xaddy;
    DWORD *D3DVTable = *(DWORD**)pDevice;
    
    oEndScene = (typecast)DetourFunction((PBYTE)D3DVTable[42], (PBYTE)xEndScene);
    Last edited by Hell_Demon; 07-18-2010 at 05:26 AM.
    Ah we-a blaze the fyah, make it bun dem!

  3. The Following User Says Thank You to Hell_Demon For This Useful Post:

    inmate (07-18-2010)

Similar Threads

  1. EndScene Hook Test
    By Departure in forum Combat Arms Coding Help & Discussion
    Replies: 16
    Last Post: 12-05-2010, 08:50 PM
  2. [Question] Hook EndScene
    By Departure in forum Combat Arms Coding Help & Discussion
    Replies: 30
    Last Post: 12-05-2010, 06:02 PM
  3. D3D EndScene Hook dont work
    By inmate in forum C++/C Programming
    Replies: 8
    Last Post: 07-20-2010, 06:10 AM
  4. WR D3D Hook - =o - 03/22/07
    By Dave84311 in forum Hack/Release News
    Replies: 14
    Last Post: 10-06-2007, 09:59 AM
  5. New Hacks Announced & Warrock DX Hook Update
    By Dave84311 in forum Hack/Release News
    Replies: 17
    Last Post: 03-02-2007, 03:54 PM