2020-06-06 22:15:47 +02:00
|
|
|
#pragma once
|
2021-09-24 14:49:20 +02:00
|
|
|
|
2022-05-08 18:51:05 +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>
|
2022-05-08 18:51:05 +02:00
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
2020-06-06 22:15:47 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-05-08 18:51:05 +02:00
|
|
|
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
|