Okay, if the speedometer cable broke that is the issue, there is another speed sensor in the speedometer head as well. The two in the transmission are only used to control shifts with the output speed sensor used as a comparison to the one in the speedometer itself. The VSS out of range would be the code complaining that the one in the dash isn't reading like the one on the transmission. If the housing for the cable is okay, you could look at places that sell universal cables and see if you can make the inner drive cable work. I have never had one out on a Hyundai but many use the same style internal cable so you could get the internal part and adapt it to fit.
Sep 10, 2023 at 10:39 AM