diff --git a/include/function_patcher/function_patching.h b/include/function_patcher/function_patching.h index 478ba71..ef4d91c 100644 --- a/include/function_patcher/function_patching.h +++ b/include/function_patcher/function_patching.h @@ -8,7 +8,7 @@ extern "C" { #endif 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 ba834f8..0853535 100644 --- a/source/patching.def +++ b/source/patching.def @@ -1,4 +1,5 @@ :NAME homebrew_functionpatcher :TEXT -FunctionPatcherPatchFunction \ No newline at end of file +FunctionPatcherPatchFunction +FunctionPatcherRestoreFunctions \ No newline at end of file