MemorySDK is a lightweight library designed to simplify function hooking and memory editing for Client
- AOBHelper: Hooks functions via
Detours - AOBScan: Matches byte patterns in memory regions
- Logger: Outputs debug messages with
OutputDebugStringW - ProcessHelper: Provides process-level analysis
- Rosemary: Edits and scans memory
- StringHelper: Converts and formats string
git clone --recurse-submodules https://github.com/zhyonc/MemorySDK.git
cd MemorySDK
mkdir build
cd build
cmake .. -G "Visual Studio 17 2022" -A Win32- Open
MemorySDK.slnvia Visual Studio 2022 - Select
Release Win32mode and build solution
git clone --recurse-submodules https://github.com/zhyonc/MemorySDK.git
cd MemorySDK
mkdir build64
cd build64
cmake .. -G "Visual Studio 17 2022" -A x64- Open
MemorySDK.slnvia Visual Studio 2022 - Select
Release x64mode and build solution
- Right-click on your project in Solution Explorer
- Open
Property Pagesand SelectVC++ Directories - Set
Include Directoriesis$(ProjectDir)include - Set
Library Directoriesis$(ProjectDir)lib - Copy
MemorySDK.hfile to your project'sincludedirectory
- Copy
MemorySDK.libandMemorySDKD.libfile to your project'slibdirectory - In your
pch.hfile or any other .cpp file import these codes
// Set ture to show debug messages
#ifndef IS_DEBUG_MODE
#define IS_DEBUG_MODE true
#endif
// Include MemorySDK and link its library
#include "MemorySDK.h"
#ifdef _DEBUG
#pragma comment(lib, "MemorySDKD.lib")
#else
#pragma comment(lib, "MemorySDK.lib")
#endif
#endif- Copy
MemorySDK64.libandMemorySDKD64.libfile to your project'slibdirectory - In your
pch.hfile or any other .cpp file import these codes
// Set ture to show debug messages
#ifndef IS_DEBUG_MODE
#define IS_DEBUG_MODE true
#endif
// Include MemorySDK and link its library
#include "MemorySDK.h"
#ifdef _DEBUG
#pragma comment(lib, "MemorySDKD64.lib")
#else
#pragma comment(lib, "MemorySDK64.lib")
#endif
#endif- Recommend using DebugView to see debug log