#1
Context:
Affected software -> A very old single player game from the early 2000.
It's an old game, single player, non-competitive, offline (very buggy lmao). Not of bad intend or use.
So no worries about anti cheats, bans, whatever. ^^

Using Cheat Engine, the memory addresses can easily be identified by the usual process of 
- looking for the value, 
- changing the value in-game
- rescanning the same memory addresses for the new value

and so on.

I'd like to know how you'd precisely know how to programmatically find / know the memory addresses for certain values.
I am completely new to the topic of game modding, but I want to dive in and thus have to get the base of ethical hacking a bit right.


What I've seen before was, that the memory addresses were pre-defined in the code?
But how would that work? The memory addresses should be changing every new boot up of the program, due to... well... It's ram lmao


I am sorry, if this is too much of a vague question.
Feel free to ask for more elaboration.
pepeokay