← All use cases

Use case P14 · Human

Game modder uses Claude and Codex agents to decompile Call of Duty: Modern Warfare 2 into source code

Maurice Heumann (@momo5502) ·

The short version

What they did

Over about three months of part-time work, Maurice Heumann ran Claude and Codex subscriptions side by side, with more than 15 agents in parallel, to reconstruct the source code of Modern Warfare 2 from the game binary. (His blog post doesn’t name the game; press coverage of his 2026-09-30 X post does.)

Result (as claimed)

“99% of the game’s functions are present in our reconstructed source, with 83% of all functions being byte exact.” The source credits Claude and Codex together and says the work took “the last 3 months”.

Prompt

I’m learning how to reconstruct a program’s source from its compiled file using Claude Code. My test program is [program and file location]. The compiler details and any settings I know are [details].

1. Explain the process in plain words, then inspect one small function. Ask me for missing tools or compiler details before proceeding.
2. Write C code for that function, compile it and compare its machine code byte for byte with the original.
3. Keep a table of functions checked, their match status and the differences still present.

Start with one function and show the comparison before moving on. Report a match percentage only for functions actually checked, with the count behind it. Do not call a function an exact match just because it runs or looks similar.

Do it yourself

These steps are my suggested way in, not Maurice’s setup.

Level: Advanced. Even the first version assumes you can read some C.

What you need

  • A program you’re allowed to study: your own old code compiled to a binary, or an open-source project.
  • A coding agent, such as Claude Code or Codex.
  • A free disassembler or decompiler, such as Ghidra, and the same compiler the program was built with.

Start simple

  1. Compile a small program of your own, so you have the source to check against.
  2. Open the binary in the decompiler and pick one short function.
  3. Ask the agent to write C for it, compile it, and compare the machine code with the original.
  4. Have it keep a log of each function: matched, close, or not matching.

Take it further

  • Work up from the smallest functions and track a match percentage.
  • Run a few agents in parallel on separate functions, with one log they all update.
  • Use a matching-decompilation diff tool, such as objdiff, to show where code differs.

Check your work

  • Trust the byte comparison, not the agent’s word that a function matches.
  • Rebuild the whole program now and then and run it.
  • Read the license first. Decompiling commercial games can break their terms, and Activision had his video taken down.

Source checked. The link, author, date and quote were confirmed against the source. The result itself has not been reproduced. Prompt adapted for this library, inspired by the case. Business size: Individual. Results are quoted as the source claimed them and never improved. Spot an error or a broken link? Email charlie@cbarmorecpa.com.

More in Games and game nights

New cases go out every Saturday in Inside AI.