Could anyone help with CBaseEntity::AcceptInput hook as in the example?
It works correctly on windows but on linux the fourth parameter (variant_t) gives gibberish - both in the fieldtype (object offset 16) and the actual value (offset 0). Game is BMS.
Edit:
Okay, it works when the hook is configured through code. I think the "flags" keyvalue in functions might not parse correctly? This is on the latest version of dhooks-detours.
Code:
"CBaseEntity::AcceptInput"
{
"offset" "CBaseEntity::AcceptInput"
"hooktype" "entity"
"return" "bool"
"this" "entity"
"arguments"
{
"szInputName"
{
"type" "charptr"
}
"pActivator"
{
"type" "cbaseentity"
}
"pCaller"
{
"type" "cbaseentity"
}
"Value"
{
"type" "object"
"size" "20"
"flags" "byval odtor octor oassignop"
}
"outputID"
{
"type" "int"
}
}
}