#pragma once #include #include namespace RemoteCode { class RemoteInjectionClient { ByteArray m_Data; RemoteProcess m_Process; char m_ProcessName[64]; void *m_AllocationBase; public: RemoteInjectionClient() = default; // Select a game to inject the cheat for bool Start(UserExperience::SelectedGame Game); // Allocates a page in the game memory, which will be used to // write and execute the DLL. uintptr_t AllocateImagePage(size_t SizeOfImage); // Initializes m_Process with the game process. bool OpenGameHandle(); void WriteToMap(ByteArray &CheatBin); }; }