Not logged in - Click here to login to your Account Welcome Guest!

Editing Memory
Author Info:
iPromise
Posted about 1 year ago.
User Avatar
Total XP: 257

Hello,

This tutorial will focus on the general api's to use to edit memory, which are:

- WriteProcessMemory

We will use the following api's to obtain the necessary parameters for WPM (WriteProcessMemory) which are:

- FindWindow
- GetWindowThreadProcessId
- OpenProcess

To begin, we add a module (Project --> Add Module --> Module --> OK)

In this module, it will contain the functions declarations, we will do it like so:


We will also declare this constant, this will full in for the first parameter for OpenProcess (Desired Access), and is done like so:

Now, since we have the declarations for the functions we will use, we will also make our own function called "WriteAInt", when we want to edit memory, we will refer to this function instead of finding the values etc all the time, and editing memory.

This is done like so:


Now, since we have everything ready, add a button to the form or w/e and do the following:


Regards,

iPromise


Not logged in - Click here to login to your Account
Other Topics of Interest
Topic Title Forum Last post Info
December 31, 1969, 5:00 pm by
memheader.h CPP August 18, 2010, 12:07 am by boringwall
Aoc delete hack for voobly: Need help Game Hacking June 22, 2010, 9:36 pm by itsokman
Help deleting hacks Game Hacking June 6, 2010, 8:01 pm by Specific
Memory Scanner Game Hacking January 16, 2010, 1:47 am by boringwall