Skip to content

qrakhen/rwpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

RWPM

a simple C++ library for reading & writing process memory.

Usage

Binding to a process

if (RWPM::init("process.exe")) {
    // getting the main module's base address
    DWORD dwMain = RWPM::getModule("process.exe");
    // ...or any other module's
    DWORD dwSalad = RWPM::getModule("salad.exe");
}

Reading

float myFloat = RWPM::read<float>(dwMain + 0x72FE);
int alternate;
RWPM::read<int>(dwMain + 0x92AF, alternate);

struct vec3_t { 
  float x, y, z;
}
RWPM::read<vec3_t>(...); 

Pretty easy, right?

Writing

long number = 6432168421;
RWPM::write<long>(dwMain + 0x1234, number);

About

generic C++ base for reading & writing process memory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages