Dev Pionter //Discuss
Well i was fooling around with ca today hooking all different ways. And when i got to the Device Pionter i would crash on start up. So it led me to believe HS patched the use of it?
Here the hook i use if yall wanna test..
[Highlight=c++]
void d3dXhook(void)
{
DWORD* device = ***(DWORD****)0x90BF20;
pReset = (oReset) DetourCreate(( BYTE* )device[16], ( BYTE* )Reset, 5);
pPresent = (oPresent) DetourCreate(( BYTE* )device[17], ( BYTE* )Present, 5);
}
[/Highlight]
Does the same happen to yall?
EDIT: thers something wrong with syntax highlighter. Suppose to be device[16] and device[17]
Here the hook i use if yall wanna test..
[Highlight=c++]
void d3dXhook(void)
{
DWORD* device = ***(DWORD****)0x90BF20;
pReset = (oReset) DetourCreate(( BYTE* )device[16], ( BYTE* )Reset, 5);
pPresent = (oPresent) DetourCreate(( BYTE* )device[17], ( BYTE* )Present, 5);
}
[/Highlight]
Does the same happen to yall?
EDIT: thers something wrong with syntax highlighter. Suppose to be device[16] and device[17]



