Lines Matching refs:new_func
565 uptr old_func, uptr new_func, uptr *orig_old_func) { in OverrideFunctionWithDetour() argument
583 WriteJumpInstruction(header, new_func); in OverrideFunctionWithDetour()
600 uptr old_func, uptr new_func, uptr *orig_old_func) { in OverrideFunctionWithRedirectJump() argument
616 WriteDirectBranch(trampoline, new_func); in OverrideFunctionWithRedirectJump()
625 WriteJumpInstruction(old_func, FIRST_32_SECOND_64(new_func, trampoline)); in OverrideFunctionWithRedirectJump()
635 uptr old_func, uptr new_func, uptr *orig_old_func) { in OverrideFunctionWithHotPatch() argument
673 WriteBranch(header, indirect_address, new_func); in OverrideFunctionWithHotPatch()
684 uptr old_func, uptr new_func, uptr *orig_old_func) { in OverrideFunctionWithTrampoline() argument
729 WriteBranch(old_func, indirect_address, new_func); in OverrideFunctionWithTrampoline()
739 uptr old_func, uptr new_func, uptr *orig_old_func) { in OverrideFunction() argument
741 if (OverrideFunctionWithDetour(old_func, new_func, orig_old_func)) in OverrideFunction()
744 if (OverrideFunctionWithRedirectJump(old_func, new_func, orig_old_func)) in OverrideFunction()
746 if (OverrideFunctionWithHotPatch(old_func, new_func, orig_old_func)) in OverrideFunction()
748 if (OverrideFunctionWithTrampoline(old_func, new_func, orig_old_func)) in OverrideFunction()
832 bool OverrideFunction(const char *name, uptr new_func, uptr *orig_old_func) { in OverrideFunction() argument
836 return OverrideFunction(orig_func, new_func, orig_old_func); in OverrideFunction()