geode/loader/dobby/source/InterceptRouting/Routing/FunctionInlineReplace/function-inline-replace.h
2022-07-30 19:24:03 +03:00

26 lines
590 B
C++

#ifndef FUNCTION_INLINE_REPLACE_H
#define FUNCTION_INLINE_REPLACE_H
#include "dobby_internal.h"
#include "InterceptRouting/InterceptRouting.h"
#include "Interceptor.h"
#include "TrampolineBridge/ClosureTrampolineBridge/AssemblyClosureTrampoline.h"
class FunctionInlineReplaceRouting : public InterceptRouting {
public:
FunctionInlineReplaceRouting(HookEntry *entry, void *replace_call) : InterceptRouting(entry) {
this->replace_call = replace_call;
}
void DispatchRouting() override;
private:
virtual void BuildReplaceRouting();
private:
void *replace_call;
};
#endif