> One of the first things I do when Iām mapping out how a game works is to label where it stores input data. I usually find this by diffing memory snapshots with #RALibetroās Memory Inspector (see this article).
> Congo stores the most recently pressed button at address 06085974. I set a read breakpoint for that address in #Mednafenās debugger to find what buttons the game is looking for. This led me to this function
