What is the weird wiring on these old light switches?
Without putting a meter on it. Yellow wire is a jumper to share power. The feed into the switch looks like one of the green wires but I cannot tell u which one is coming in and which one would be going out. Each of the reds look like your switched legs that are going to two separate lighting situations.