Hello,
DECLARE_HOOK does not need to support two calling conventions. Only one is required, since DECLARE_HOOK_THISCALL already covers the thiscall case separately. The extra calling-convention handling in DECLARE_HOOK is redundant and can be removed.
Hello,
DECLARE_HOOK does not need to support two calling conventions. Only one is required, since DECLARE_HOOK_THISCALL already covers the thiscall case separately. The extra calling-convention handling in DECLARE_HOOK is redundant and can be removed.