geode/loader/dobby/source/InterceptRouting/RoutingPlugin/NearBranchTrampoline/NearBranchTrampoline.h
2022-07-30 19:24:03 +03:00

19 lines
497 B
C++

#ifndef PLUGIN_NEAR_BRANCH_TRAMPOLINE_H
#define PLUGIN_NEAR_BRANCH_TRAMPOLINE_H
#include "dobby_internal.h"
#include "InterceptRouting/RoutingPlugin/RoutingPlugin.h"
class NearBranchTrampolinePlugin : public RoutingPluginInterface {
// @Return: if false will continue to iter next plugin
bool Prepare(InterceptRouting *routing) {
return false;
};
bool Active(InterceptRouting *routing);
bool GenerateTrampolineBuffer(InterceptRouting *routing, void *src, void *dst);
};
#endif