Everything is stores in memory, and every process has a process id
first u need the process Id of the window
then u need: the window to get it from
HWND Gamename = FindWindowA(("Name of the window), 0);
there u have the window handle stored in Gamename, so now u need to use that to get process id
DWORD ProcessID;
We need a variable to store it in, the process id
GetThreadProcessId(GameName , &ProcessID);
GetThreadProcessId gets the process id from the handle to window and stores it in ProcessID
then we need to open the process, we need:
type of access, and the loacation to get access, that is the ProcessID
HANDLE pHandle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, ProcessID);
Now we have to write to memory
WriteProcessMemory(pHandle, (LPVOID)AddressForVSAT, &Variable that stores new value, sizeof(Varialbe that stores new value), 0);
Hope This Helps u on the way
- - - Updated - - -
this was in c++ btw