![](https://discuss.tchncs.de/pictrs/image/74558dbe-de6e-4d49-8d52-bf3ad174c3dc.png)
This is the biggest flaw with usb c, though I seem to get downvoted and ridiculed whenever I point it out. The retaining pins are part of the port itself, not the cable plug as is the case with micro usb and lightning cables. So when the retaining system breaks, you can’t just go buy a new cable, you have to replace the port.
The pinouts are standardized so you should just be able to count the number of solder joints and find a connector that mounts to the pcb the same way as the one you’re replacing. Just eyeballing it I found one that looks pretty closed linked below, but I would advise you to do some more research on your own and not just take my word for it.
https://www.digikey.com/en/products/detail/molex/2169900003/13913753
Looks like this is a fairly common issue for your device, unfortunately. https://www.reddit.com/r/XPpen/comments/j11ptl/xppen_deco_pro_small_ccable_port/?rdt=52268
I mean, considering how many rockets spacex has blown up already this isn’t really that surprising. Sometimes the fastest way to figure out how to not blow stuff up is by blowing stuff up. And if it doesn’t blow up then hey, great, on to the next thing.