Don't assume it's just loose and keep tugging on the cable hard - that can actually cause internal damage if it's already compromised. The wiggle test you're already doing is honestly the best quick check: if sound cuts out when you bend the cable at specific points and comes back when you straighten it, that's almost definitely a break inside the wire rather than a loose connection. Try plugging the headphones into different devices to rule out a jack problem on your phone or computer, then gently test the cable along its entire length while music is playing to pinpoint exactly where it's damaged. If you find a consistent dead zone, the cable's toast, but if it seems random or only happens at the very end near the jack, sometimes cleaning the connection points with a bit of isopropyl alcohol on a cotton swab can actually fix it.