#pragma once #include #include namespace fxn { struct HookInfo { void* targetFunction; void* hookFunction; std::vector originalBytes; }; class HookingManager { private: std::vector m_Hooks; protected: HookingManager(); ~HookingManager(); public: static HookingManager& GetInstance(); static void Destroy(); public: bool InstallHook(void* targetFunction, void* hookFunction); bool RemoveHook(void* targetFunction); }; }