FunctionPatcherModule/source/function_patcher.h

18 lines
382 B
C
Raw Permalink Normal View History

2020-06-06 22:15:47 +02:00
#pragma once
2021-09-24 14:49:20 +02:00
#include "PatchedFunctionData.h"
2020-06-06 22:15:47 +02:00
#include <coreinit/dynload.h>
2022-02-03 20:53:38 +01:00
#include <function_patcher/fpatching_defines.h>
#include <memory>
#include <vector>
2020-06-06 22:15:47 +02:00
#ifdef __cplusplus
extern "C" {
#endif
bool PatchFunction(std::shared_ptr<PatchedFunctionData> &patchedFunction);
bool RestoreFunction(std::shared_ptr<PatchedFunctionData> &patchedFunction);
2020-06-06 22:15:47 +02:00
#ifdef __cplusplus
}
#endif