[Question] Hook EndScene
Just a couple of question about the d3d9 EndScene Function and hooking it...
Would i be correct in saying I can use IDA and get the address of that function and then when im injected into the engine process I could CodeHook EndScene function address - Baseaddress of d3d9.dll - ?
for example..
According to IDA EndScene Function starts at "7542CE09"
And lets just say the base address of d3d9.dll is "75410000"
EndScene - Base = 1CE09 <--- this would be our offset
So once injected would I be correct in saying HookCode(GetModuleHandleA( "d3d9.dll" ) + $1CE09) ???
Or does anyone have these "Device Pointers" they could explain how its working and what they hook or how they get the address of EndScene function dynamically? or explain in detail about this Vtable? and why it is used ...
Actually anyone with information about the EndScene hooks would be nice enough to explain what they know...
im not interested in the hook itself just mainly about the address's to the function
Would i be correct in saying I can use IDA and get the address of that function and then when im injected into the engine process I could CodeHook EndScene function address - Baseaddress of d3d9.dll - ?
for example..
According to IDA EndScene Function starts at "7542CE09"
And lets just say the base address of d3d9.dll is "75410000"
EndScene - Base = 1CE09 <--- this would be our offset
So once injected would I be correct in saying HookCode(GetModuleHandleA( "d3d9.dll" ) + $1CE09) ???
Or does anyone have these "Device Pointers" they could explain how its working and what they hook or how they get the address of EndScene function dynamically? or explain in detail about this Vtable? and why it is used ...
Actually anyone with information about the EndScene hooks would be nice enough to explain what they know...
im not interested in the hook itself just mainly about the address's to the function
