If like me you're interested in looking at how the code actually works I put a deobfuscated fork here
https://gist.github.com/femto113/28f69626acddc70a002ecead0b3...
Just expands the macros/typedefs and applies standard indenting, code is otherwise same as the original.