I doubt they had the original code somehow. As I said technical details are lacking.
My suspicion is either a heavily patched binary or they disassembled the code to get it into a state it could be reassembled with the falcon fixes and new assets.
None of which is beginner level tinkering.