Help: in making a 'CF UD Hook' [D3D]

Posts 1–6 of 6 · Page 1 of 1
Help: in making a 'CF UD Hook' [D3D]
Some Old Hooks: Maybe you can make it to work, maybe it's not possible to make it UD! -> I don't know
- @coders, Help me with making a hook for CF [specific D3D]

Code:
void VirtualHook( )
{
    Dx9Hook("d3d9.dll");
    DWORD dwDrawIndexedPrimitive = GetAddressPtr(82);
    pReset = (oReset)DetourCreateE9((DWORD)vTable[16],(DWORD)myReset, SIZEOF_JMP_REL);
    pPresent = (oPresent)DetourCreateE9((DWORD)vTable[17],(DWORD)myPresent, SIZEOF_JMP_REL);
    pDrawIndexedPrimitive = (oDrawIndexedPrimitive)DetourCreateb8((DWORD)vTable[82],(DWORD)myDrawIndexedPrimitive, 

12);
    while(8)
 {
    if(memcmp((VOID *)vTable[82], (VOID *)"\x8B\xFF", 2) == 0 )
 {
  pDrawIndexedPrimitive = (oDrawIndexedPrimitive)DetourCreateb8((DWORD)vTable[82],(DWORD)myDrawIndexedPrimitive, 12);
 }
 Sleep(800);
 }
}
I heart VTable Index 82: [U]DrawIndexedPrimitive -> Index 12:[/U => GameGuard didn't scan it.
So it make it Undetected, but for crossfire its more difficult i think.

I Going to make VTable Hook.
So plss help me!

Virtual Hook( Vtable[82],
4,
PAGE_EXECUTE_READWRITE,
&Old )
& more.. pls help!



[@noobs, don't reply pls --']
i think vtable hook is detected by crossfire. and cant be ud ..not sure though
Quote Originally Posted by Fly3r View Post
i think vtable hook is detected by crossfire. and cant be ud ..not sure though
Cody uses vtable hook for CF
Quote Originally Posted by Fly3r View Post
i think vtable hook is detected by crossfire. and cant be ud ..not sure though
VTables will never get detected because they are just pointers to real functions...
every hook should use it, even UD ones...
oh lol.. forgot it.
okay giniyat thanks for the explanation
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us