500B Tokens Later: Letting AI Agents Decompile a First-Person Shooter
A team spent about 500 billion tokens orchestrating AI agents to decompile an unnamed shooter.
Over three months, the author and collaborators used Claude Code and Codex agents, mainly Sonnet 5 plus Opus 5.5, Luna, Sol, and Terra, to reconstruct an unnamed older first-person shooter in C++. Agents tracked one GitHub issue per source file, coordinated in Discord, and decompiled with Hex-Rays ida-mcp. After the first month, about 80 percent was decompiled and menus and maps loaded, but much of the readable code had wrong types, logic, and architecture. The post focuses on compaction, recurring instruction prompts, and the lack of objective correctness criteria.
- Three-month effort used roughly 500 billion tokens on multi-agent decompilation.
- Claude Code and Codex agents coordinated through GitHub issues and Discord.
- About 80 percent was decompiled in month one, but semantics were often wrong.
- Lowering compaction to 42 percent and rereading instructions reduced context drift.
- Missing objective correctness checks let architectural mistakes pass review.
- Products
- Claude CodeCodex CLIida-mcp
From the original article
10 min read at momo5502.com
During the last 3 months, I spent some of my time and tokens decompiling a popular first-person shooter. Instead, we really wanted an accurate, stable and feature-complete recreation of the game. The avid reader of my blog might have noticed that I had previously written two posts that have since been removed.
By davikr · momo5502.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.