Recently I was playing a song when a friend of mine tripped over the cord and tore our some wires going from the plug directly to the PCB. I have no idea how to solder anything so I was coming here for help on what to do since some of you know these controllers inside and out.

That's the once working controller I'm stuck with.
This is where the wires came loose

These are the two that came out

And this is the mess that's left
So if anyone could help me out at all thanks, Even just telling me which of the wires goes where.
Thanks in advance.