Help
I need help in c++ to write to an address that is dynamic. Whenever I restart my pc, the address in the program changes.
How can I write to an address like this: `Game.exe+AB2EDF` ?
How can I write to an address like this: `Game.exe+AB2EDF` ?

#define base DWORD(GetModuleHandle(NULL)) #define address 0xDEADBEEF //then your point will be PINT pAddress = (PINT)(base + address); //setting the variable would be dereferencing and assigning *pAddress = 4; //or whatever