Memory addresses and how to find them?
So I have followed these kind of mods for a pretty long time(SA-MP etc) and one thing that intrigues me a lot is that how do you locate the things you need from the memory. For example you have the function that you can change the weather with. When you made that, where did you start from? How did you locate the function that the game uses to change the weather and the place where the weather is stored? Is there some kind of a method to find that easily or do you only have good guesses? When you decompile the game, what do you look for when you search for the weather for example? I know that the player coordinates are quite easy to locate and so on but location more complex things like the weather interests me.
I would be so grateful if you could offer me some insight. Also I could probably give some help with the project as I have pretty strong c++ skills but not very strong in this particular field.
Thanks!