::
If you’re concerned, just toss it away. I feel like there are just so many of these cables lying around, why use one that you worry could damage your device!
To answer your question, it should still work . But I’d advise against using a compromised cable. Especially after having a liquid in there that is likely to have left a residue. Last thing you want is to short your device over a 2$ replaceable cable