I'd like to modify the TargetObjectHook hook function from ddraw.dll so that i can dispatch the object type passed to the function as object parameter:
Is there any function i can use to parse out the type of object given in object param?
Code:
static long __fastcall TargetObjectHook(DWORD isValid, DWORD object, long type)
Is there any function i can use to parse out the type of object given in object param?