I ran into something similar on a tool a client uses that we needed to patch. Took maybe a couple of hours to write a reliable automated deobfuscator (ie we get new versions and run two scripts to deobfuscate and then apply our patches)
I’ve spent much more time fixing their broken (and copy-pasted-everywhere) code than I ever did deobfuscating it.
Obfuscation, however, not really.