"Reverse Engineered" doesn't mean what you think it means. This is just looks like a copy of the actual code.
Isn't that what has happened here? They decompiled the program and gave each function and variable a meaningful name, added comments and fixed some bugs.