Chosen Solution

Many fps games on the Nintendo 64 have forced inverted view controls. I want to open up a Nintendo 64 controller and switch places for the Y connections, so that the joystick itself becomes reversed in the Y axis. What cables from the data plug of the joystick are the Ya and Yb cables? Talking about this connector: https://i.imgur.com/rjlAg5x.jpg

Erik Moreno test this with an ohmmeter. Connect the probes to the wires of the stick and measure to see which cable shows a change in resistance when you move the joystick through the Y-axis.