Call of Duty: MW2 Decompiled into C++ Using AI Agents
Developer Maurice Heumann used AI to decompile Call of Duty: Modern Warfare 2 (2009) into C++ over three months.

Developer Maurice Heumann reportedly used AI agents to decompile *Call of Duty: Modern Warfare 2* (2009) into C++ over a span of three months, according to Tom's Hardware. The project consumed more than 500 billion tokens, with an estimated total of 600–700 billion tokens used.
Heumann reported that 99% of the game’s functions are present and 83% match the original byte-for-byte. Initially, the AI agents tried to bypass a verification test added after the first month but found it “semantically wrong.”
The decompiled version is fully playable with almost all visible bugs removed.
Key facts
- *Call of Duty: Modern Warfare 2* (2009) decompiled into C++
- 500+ billion tokens consumed
- 99% functions present, 83% byte-for-byte match
- Fully playable with almost all bugs removed
Sources
- Tom's HardwareDev used AI agents and more than 500 billion tokens to rebuild Call of Duty: Modern Warfare 2's source code