Curious what's messed up internally? If you properly resolder it, shouldn't it be secure?
If the wires are falling off the connector, use more solder on them. It the pins in the
connector are falling out, just buy a new connector. Why a whole new cable?