>Serious such rewrites don't start with the code of the closed game!

No, but they often involve reverse engineering the binary pretty heavily.