I got a USB-C hub with a broken plug (the end which is inserted in the computer) from a friend. Since the connector was completely destroyed inside, he did cut the cable behind it (probably that wasn't too smart...).
Now I'm trying to find out which wire has which function to solder it on a new plug I got from AliExpress. There are 16 wires, 8 of which are loose (I found that these are the same as for standard USB-A 3.0) and 8 of which are in shielded twisted pairs.
These seem to be the ones needed for the higher transmission or additional functionality like HDMI. Which pair (which color) is which function/which pin on the connector? Colors of the pairs are yellow/white, red/white, blue/white, brow/white.