File PatchManager.hpp

Defines

WIN32_LEAN_AND_MEAN
namespace Amethyst
class PatchManager

Public Functions

inline PatchManager()
inline ~PatchManager()
template<typename T>
inline void ApplyPatch(uintptr_t address, T patch)
void ApplyPatch(uintptr_t address, uint8_t *patch, size_t size)
void RemovePatch(uintptr_t address)
void RemoveAllPatches()

Private Members

std::vector<Patch> mPatches
struct OriginalMemory

Public Members

uint8_t *original = nullptr
size_t size = 0
struct Patch

Public Members

uintptr_t address = 0x0
OriginalMemory original = {}