From 1926e00ffbdf7ef5270ed73099c73d527976671f Mon Sep 17 00:00:00 2001 From: Maschell Date: Mon, 28 Dec 2020 14:45:41 +0100 Subject: [PATCH] Add FunctionPatcherRestoreDynamicFunctions --- include/function_patcher/function_patching.h | 4 ++++ source/patching.def | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/function_patcher/function_patching.h b/include/function_patcher/function_patching.h index ef4d91c..a5af1d6 100644 --- a/include/function_patcher/function_patching.h +++ b/include/function_patcher/function_patching.h @@ -7,8 +7,12 @@ extern "C" { #endif +extern void FunctionPatcherRestoreDynamicFunctions(function_replacement_data_t *replacements, uint32_t size); + extern void FunctionPatcherPatchFunction(function_replacement_data_t *replacements, uint32_t size); + extern void FunctionPatcherRestoreFunctions(function_replacement_data_t *replacements, uint32_t size); + #ifdef __cplusplus } #endif diff --git a/source/patching.def b/source/patching.def index 0853535..e363147 100644 --- a/source/patching.def +++ b/source/patching.def @@ -2,4 +2,5 @@ :TEXT FunctionPatcherPatchFunction -FunctionPatcherRestoreFunctions \ No newline at end of file +FunctionPatcherRestoreFunctions +FunctionPatcherRestoreDynamicFunctions \ No newline at end of file