I don't know if JAMMA harnesses are color coded, but it will depend on how your cab was wired. What game/setup are you trying to wire it for?
You just need to wire your ground wire to all microswitches and then connect each corresponding button to each microswitch.
If you don't know which ones are which, just do process of elimination by connecting each button wire one at a time to one microswitch to see which control it is. Then just label that wire with a strip of tape for future reference.
For example, I have an HS-1 cab with SFII controls (2P, 6 buttons each). If I were to disconnect all the button wires, I could wire one at a time to the "Jab" button (top left button) to see what control it does. So I grab a random wire, hook it up to "Jab" and the character moves left, I connect that wire to that correct "move left" microswitch. Repeat for each wire.