From ace9ae2117175dfe5e14b259db2e0536f8ec7a8a Mon Sep 17 00:00:00 2001 From: boris Date: Mon, 24 Dec 2018 20:39:09 +1300 Subject: fffffffff --- .../RemoteCode/RemoteInjectionClient.hpp | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'csgo-loader/csgo-client/RemoteCode/RemoteInjectionClient.hpp') diff --git a/csgo-loader/csgo-client/RemoteCode/RemoteInjectionClient.hpp b/csgo-loader/csgo-client/RemoteCode/RemoteInjectionClient.hpp index 57f1499..5880174 100644 --- a/csgo-loader/csgo-client/RemoteCode/RemoteInjectionClient.hpp +++ b/csgo-loader/csgo-client/RemoteCode/RemoteInjectionClient.hpp @@ -1,6 +1,30 @@ #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); + }; } \ No newline at end of file -- cgit v1.2.3