Hi, are you sure it’s a bad cable?
I just had a pair of DT990’s give up the ghost with no warning, and after checking continuity between the headphone jack and the driver, it turns out it was the driver that died.
I’d suggest pulling the headphones apart and testing with a multimeter if you can get your hands on one. At least then you’ll know what you’re looking at for repair.