LG optimus 4x HD root
You can just reinstall your firmware using this tool. It's the official update tool for lg phones. After that you can just root your phone again. Just remember, it's almost impossible to completely ruin your phone ;)

Edit: You might want to make a backup, because during the update you lose everything on your internal sd (everything on your external sd is safe)