Ok, so i was just messing around with olly and reverse engineering assault cube and i found this interesting function(atleast i think it's intresting):
If I move the value of eax into a variable will that mean that i moved the value of the team score into the variable. Like right after the last line, (let's say that this is my source code), could i write something like: mov TeamScore, eax
well if the function that was called in that code returns team score, then yes you most likley could. but it could be a void function that returns nothing. just follow the call in olly and look from there. you could also get an idea of what the function does by looking at other calls to it if you didn't want to try reversing the function.