I am using a source from my friend for my game to change bytes.
It looks like this
Code:
private void WallHackToggle()
{
if (WallHack)
{
if (oM.OpenProcess(GameProcess) &&
oM.Write(0x0084444, new byte[] { 0x74, 0x22 }))
{
WallHack = false;
hListView.Items[1].BackColor = Color.FromArgb(255, 0, 0);
}
}
else
{
if (oM.OpenProcess(GameProcess) &&
oM.Write(0x00844444, new byte[] { 0xeb, 0x22 }))
{
WallHack = true;
hListView.Items[1].BackColor = Color.FromArgb(0, 255, 0);
}
}
}
what I wont to do is declare the address in this case = 0x0084444 somewhere on top of the page so I do not have to search allways when I update something true the codes. How can I do this?