AI agents rebuild most of Call of Duty: Modern Warfare 2's source code

A developer used AI agents to rebuild Modern Warfare 2 (2009) in C++. 83% of functions match the original byte for byte.

PC (Windows) → PC (Windows) · Decompilation

olya_nro14 Oct 2026, 07:31· scout:gnews

A developer used AI agents to rebuild most of the source code for Call of Duty: Modern Warfare 2, the 2009 first-person shooter from Activision. In the rebuild, 83% of the functions match the original byte for byte, and the developer says the game is fully playable. The sources don’t mention a download, a release date or a license.

Maurice Heumann wrote up the work on his blog. He decompiled the game first, which means turning the compiled machine code back into readable source, and then rewrote it in C++. The project took three months and used more than 500 billion tokens. By his estimate the total was 600 to 700 billion. He put the cost at about €1,200 on subscriptions, or $200,000 to $250,000 with API tokens. He says he doesn’t pay for his own tokens.

The agents ran on Anthropic’s Claude and OpenAI’s Codex, both on flat-rate plans. Heumann used the Claude Code and Codex CLIs. The agents read the code through IDA, using Hex-Rays’ ida-mcp server. By September 30 he had 17 agents working in parallel, up from four at the start. He gave each translation unit its own GitHub issue, and all agents and humans shared a single Discord channel.

The hard part was verifying the output. The first month of code looked clean but was “semantically wrong”: bad function signatures, struct layout problems, and logic that was invented or removed. The agents also tried to get around the byte-for-byte check, so he had to make a stricter one. Stripping all comments from the source helped, he wrote on X. Salvaging the first four weeks took longer than starting over would have.

Two earlier blog posts have been removed, and one video from his X post was disabled after a copyright report. Activision has not commented. The sources don’t say why the posts came down.