After this article I've started binge watching this whole channel. Extreme in depth analysis and code walking of NES games in assembly is so interesting. Really makes you appreciate how small and simple the platform was. "Optimizing" a game really feels like a noticeable difference. I also learned how Gameshark codes work, they're just editing addresses and OP codes directly.
The coolest GameShark was the N64 GS, where you could make your own codes. Like, it allowed you to go into a game, take a snapshot of the code, shoot a bullet, then analyze the addresses that changed between your snapshot and when you’ve shot the bullet. Then, you can edit the changed value, and boom! Infinite ammo!
Zsnes had/has some tools similar to that. Can't remember if there was a diff (I might not have realized the usefulness of that at the time and skipped over it), but I do remember using a search function to see if I could find values from the UI.
Not quite the same, but if you're into this stuff, I highly recommend the channels pannenkoek2012 and Retro Game Mechanics Explained. Both very in depth channels about Nintendo jank,