mirror of
https://github.com/A-Archives-and-Forks/Akebi-GC.git
synced 2026-10-12 10:38:01 +08:00
`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;
|
|
} |