Intercept the targetFunc so that hookFunc gets called instead. See the docs above for the CATIntercept class and the CATHOOK_PROLOGUE, CATHOOK_CALLORIGINAL, and CATHOOK_EPILOGUE macros for additional information.
Definition at line 45 of file CATIntercept.cpp. References CAT_ERR_HOOK_PROTECT_FAILED, CAT_SUCCESS, CATRESULT, fHooks, CATHOOK::HookFunc, CATHOOK::HookJmp, CATHOOK::HookJmpLoc, CATHOOK::InterceptObj, CATHOOK::OrgInst, CATHOOK::OrgInstLen, CATHOOK::PostPatchJump, CATHOOK::PostPatchJumpLoc, CATHOOK::PrePushHook, CATHOOK::PrePushHookAddress, CATHOOK::StackSwap1, CATHOOK::StackSwap2, CATHOOK::Target, and CATHOOK::UserParam. Referenced by InterceptCOMObject(), InterceptDLL(), and LoadAndHook().
|