By learning to reverse engineer the game. Go read up on some assembly books, grab a debugger/decompiler and knock yourself out.