c3a9f2a678
`cheat-base` add x32 build `manual map` and `load library` injection moved to `cheat-base` removed unnecessary packet sniffer functionality fixed several type conversionals `cheat-library` now is startup by default little changes in `Logger`, `PatternScanner`, `ProtoTransfer` updated detours
14 lines
312 B
C++
14 lines
312 B
C++
#include "injector.h"
|
|
|
|
#include <cheat-base/inject/manual-map.h>
|
|
#include <cheat-base/inject/load-library.h>
|
|
|
|
bool InjectDLL(HANDLE hProc, const std::string& filepath)
|
|
{
|
|
#ifdef MANUAL_MAP
|
|
bool result = ManualMapDLL(hProc, filepath);
|
|
#else
|
|
bool result = LoadLibraryDLL(hProc, filepath);
|
|
#endif
|
|
return result;
|
|
} |