The two wires (red and black) from the K mount connect to the same contact of the ISO selector board, the third wire connects to the flexible circuit.
The third wire from the K mount connects to the bottom left, next to the one coming from the ISO selector board.
Connection of the wire from the battery compartment.
The two wires, red and blue, from the release electromagnet (bottom of the mirror chamber).
The brown wire along the edge, comes from the external release socket. I marked three of the four white wires remaining before desoldering.