There are memory regions that are mapped to the same physical memory - https://psx-spx.consoledev.net/memorymap/ I worked on the Metal Gear Solid port from PSX to PC, and Konami programmers chose a wild trick to store how the "C4" bomb was planted - either on the wall, or on the ground. Essentially the pointer pointed to the same physical memory address, but if it was planted on the wall (or on the ground, I forgot)…
Interesting! Trying to find that particular code in the decompiled code is proving challenging. I wonder if they haven't yet discovered and documented that yet! https://github.com/FoxdieTeam/mgs_reversing/blob/master/sour...
Holy Shit! _ How did they got so far - this is amazing...
Look here - https://github.com/search?q=repo%3AFoxdieTeam%2Fmgs_reversin...