I guess you setup the detour arguments as "objectptr" and use the various natives available, such as:
PHP Code:
DHookGetParamObjectPtrVar(hParams, 1, 0, ObjectValueType_Bool, true);
DHookGetParamObjectPtrVar(hParams, 2, 0, ObjectValueType_Float);
int a1 = DHookGetParamObjectPtrVar(hParams, 1, 48, ObjectValueType_EhandlePtr);
PHP Code:
"arguments"
{
"a1"
{
"type" "objectptr"
}
"a2"
{
"type" "objectptr"
}
__________________