mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-11 02:06:07 +00:00
Lot of work and added MS Detours
This commit is contained in:
18
include/Memory/Memory.h
Normal file
18
include/Memory/Memory.h
Normal file
@@ -0,0 +1,18 @@
|
||||
///
|
||||
/// Created by Anonymous275 on 1/21/22
|
||||
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
|
||||
///
|
||||
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
class Memory{
|
||||
public:
|
||||
static uint64_t FindByPattern(const char* module, const char* Pattern, const char* Mask);
|
||||
static uint64_t GetModuleBase(const char* Name);
|
||||
static void Print(const std::string& msg);
|
||||
static void Inject(uint32_t PID);
|
||||
static uint32_t GetBeamNGPID();
|
||||
static uint32_t EntryPoint();
|
||||
static uint32_t GetPID();
|
||||
};
|
||||
Reference in New Issue
Block a user