basically, I think it alters game variables stored in the console RAM or some modifiers that can change variables. Let says your HP is 80 at game start and you want it to be 255, a part of the hex code you'll enter for that address will most likely contain FF as the last letters. Maybe something different, but I think it may be how it works. And yeah notice how all game genie codes are hexadecimal codes