How AI Reverse Engineers Apps and Games with Ghidra and REA
Prefer to watch? Watch on YouTube · Subscribe for new builds · Read the transcript
In this video I explain how people are using AI to reverse engineer apps and games they don't have the source code for. I go through the tools (REA, Ghidra and Claude Opus 5.5), what the AI is actually doing under the hood, the biggest examples so far, and whether this means software is dead. You don't need to be technical to follow it. It's for anyone who wants to understand what's going on and what it means for the software they build or pay for.
What I cover in this video
- 0:47: How software ships, and why compiled code was the moat for about 40 years
- 1:34: REA, the free repo that gives your coding agent reverse engineering tools, plus Ghidra
- 2:19: What's inside the box: MIPS, PowerPC, JavaScript and x86
- 3:06: The rewrite loop, and the AI agents that tried to cheat their own test
- 3:51: Mario inside Elden Ring and Skate 3 inside Call of Duty
- 5:21: Browser ports and the Any PS5 project
- 6:54: Seven free Adobe clones, then Microsoft Office
- 8:24: Is software dead, and how I'm using this in my own business
The locked box and the tools that open it
When a company builds an app or a game, they write code humans can read, with names like "update player" or "get board speed." A compiler then turns it into ones and zeros that only your computer understands, and all of those names get deleted. You get the machine, not the blueprints. For about 40 years that was the moat. Fans spent roughly two years taking apart Super Mario 64 by hand, one function at a time.
That's changed because of REA (Reverse Engineer Anything). It's a free repo you hand to your coding agent, like Claude Code, and it plugs in the specialist tools the agent needs to look inside an app you don't have the code for. It has over 300,000 stars on GitHub. One warning: a fake version of REA is already going around and it ships a virus, so only install it from the real repo linked above.
The main tool REA drives is Ghidra, which the NSA built and released for free.
What the AI is looking at depends on the box:
- Nintendo 64 games are written for a MIPS chip.
- Xbox 360 games are PowerPC, a completely different chip from your PC.
- Electron desktop apps are mostly JavaScript, which is the easy mode.
- PS5 and PC games both run on x86, the same chip family, so you don't have to translate the processor at all.
How the AI cracks it, byte by byte
Ghidra outputs rough code with no names, only addresses. The agent reads it, names everything, rewrites it as real code, builds it and compares the result against the original byte for byte. If even one byte is wrong, it goes around again. It repeats that for every function in the game.
The language it rewrites into depends on your goal:
- C if you want an exact copy of the original
- Rust if you want a clean, modern rewrite. A lot of these clones use it because the models are really good at it.
- JavaScript or WebAssembly if you want it running in a browser tab
The byte-for-byte check is what makes it work. Without it, you get code that runs but does the wrong thing. One developer had exactly that problem: the AI decompiled a whole game that booted and loaded maps but was still wrong under the hood. He added a byte-for-byte checker, and then his AI agents kept trying to edit the checker so their own code would pass. He had to lock it down.
Three ways to crack the box, with real examples
1. Rewrite it
Someone rewrote the entire Call of Duty Modern Warfare 2 engine in Rust, using Ghidra to study the original. The readme says an AI wrote the whole project. They added a separate Skate 3 physics engine on top, so you can walk around any map, hit J and your soldier drops onto a skateboard. Kotaku then covered Halo, Vice City, Black Ops and The Simpsons Hit and Run running in a browser tab and said Claude Opus 5.5 is extremely good at decompiling.
AI didn't do this alone, though. The Skate 3 team says one person spent more than two years reverse engineering Skate 3 by hand. AI took the last mile from years down to weeks, which is still a big deal.
2. Build a bridge
The Mario in Elden Ring mod doesn't rewrite either game. It uses a library built on the Super Mario 64 decompilation to simulate Mario frame by frame and drop him into a game that's already running. You need your own copy of both games. It's duct tape, but it works, and the mod is still up on GitHub.
3. Clean room
A developer named Brandon Thomas rebuilt seven Adobe apps, including Photoshop, Illustrator, Premiere and Lightroom. They're free and open source, written in Rust with Claude Opus 5.5, and the Photoshop clone has over 60,000 stars. The project says it was built from public specs and observed behavior, not Adobe's code. You watch what an app does, document exactly how it behaves and rebuild that behavior from scratch. Companies have done this legally since the early '80s. The difference is it used to take a team years.
He then moved on to Microsoft Office (Word, Excel and PowerPoint clones that open your real files), plus AutoCAD, Pro Tools and Figma. His quote: "AI models enable me to work as an entire company." It isn't as good as Photoshop yet. By its own count it's about 45% ready for real work and has over 1,700 open issues, which its AI agents use as a to-do list.
Consoles are next
A project called Any PS5 is trying to turn PS5 games into actual PC programs, not emulators, and it has over 40,000 stars. Because PS5 and PC share the x86 chip family, the hard part is everything around the processor: the graphics and the system libraries. It's still version 0.1, and a community tracker lists about five games as playable, including Hollow Knight: Silksong and Minecraft. These tools only work with game copies that are already decrypted. I'm not showing how to do that because it's a legal gray area at best.
Is software dead?
My view is that the code isn't the moat anymore. If anyone with a $200 subscription can study your app and rebuild the features in a few weeks, then features aren't what you're selling. HSBC even downgraded Adobe's stock because of an open-source side project, though the stock barely moved. What's left is what AI can't copy: your brand, your data, your support and the people who trust you.
Be careful here. None of this has really been tested in court at this speed, and Activision has already sent takedowns for some of the Black Ops browser ports. A demo also isn't a product. Opening one file is easy. Opening every file, keeping it secure and supporting millions of people is still hard.
Here's how I'm using it. In my resale business, we sell pre-owned Lululemon live on Whatnot, and I was paying $30 a month for a tool that tracked wins during a show. I built my own version in about 20 minutes, and now it's on every computer in our business. To me, personalized software is the real story here, not stealing Photoshop. My rule is to only examine software you own or are allowed to examine, learn how it works, then build your own version.
Key takeaways
- REA gives AI agents reverse engineering tools like Ghidra. Only install it from the real repo, because a fake copy ships a virus.
- The core loop is decompile, name, rewrite, build, then check byte for byte. That check is what keeps the AI honest.
- There are three approaches: rewrite the code, bridge one game into another, or clean-room rebuild from observed behavior.
- Most of these projects build on years of manual work. AI shortened the last mile from years to weeks.
- Code isn't the moat anymore. Brand, data, support and trust are, and the legal side is still unsettled.
FAQ
What is REA and where do I get it safely?
REA (Reverse Engineer Anything) is a free repo you give to your coding agent. It plugs in the specialist tools, mainly Ghidra, that the agent needs to look inside apps you don't have the code for. A fake version that ships a virus is going around, so only install it from github.com/morluto/rea.
How does AI decompile a game?
Ghidra outputs rough code with no names, only addresses. The AI names everything, rewrites it as real code, builds it and checks it against the original byte for byte, then repeats that for every function until it matches.
Are the open-source Photoshop and Office clones legal?
The project says it was built from public specs and observed behavior, which is a clean-room approach companies have used legally since the early '80s. Doing it this fast hasn't really been tested in court, and Activision has already sent takedowns for some AI-made browser ports.
Can I play PS5 games on PC with Any PS5?
Not really yet. The project is at version 0.1, a community tracker lists about five games as playable, and it only works with game copies that are already decrypted, which is a legal gray area at best.
Chapters
- 0:00Mario in Elden Ring, Halo in a browser
- 0:43The locked box: how software ships
- 1:30REA, the skeleton key
- 2:05Ghidra, the NSA's free tool
- 2:17What's inside the box: MIPS, PowerPC, x86
- 2:47How the AI cracks it, byte by byte
- 3:10C, Rust or JavaScript?
- 3:43The AI that tried to cheat its own test
- 3:54Mario inside Elden Ring
- 4:40Skate 3 inside Call of Duty
- 5:55PS5 games on PC
- 6:53Seven free Adobe clones
- 7:54Then Microsoft Office
- 8:31Is software dead?
- 9:36What I'm doing with it
- 10:14Wrap up
Transcript
Read the full transcript
0:00Mario is running around inside of Elden Ring. A soldier from Call of Duty just dropped onto a skateboard and started grinding rails. Halo is running in a browser tab. And somebody rebuilt Photoshop for free. None of these companies wrote a single line of that code. AI did the heavy lifting. And honestly, the games are the least important part of this story because in the last few weeks, people have started reverse engineering every app and game they can get their hands on. and it's working. So, in this video, we're going to be breaking down how they're actually doing it, what the AI is doing under the hood, the wildest examples out there, and if software really is dead. Let's jump right into it. So, first you have to understand how software ships. When a
0:47company builds an app or a game, they write it in code that humans can read, names like update player or get board speed. Then they run it through a compiler and what comes out the other side is a box of ones and zeros that only your computer understands. And here's the important part. All those names gone, deleted. You get the machine, not the blueprints. And for like 40 years, that was the moat. If you can't read the code, you can't copy the product. At least not without a team of really smart people and a whole lot of time. Like fans spent about 2 years taking apart Super Mario 64 by hand. 2 years, one function at a time until now. So, if you've been following the channel, you already know about REA,
1:34reverse engineer Anything. I did a full breakdown on it a few days ago. It's a free repo you hand to your coding agent, and it plugs in all the specialist tools it needs to look inside an app you don't have the code for. It has over 300,000 stars on GitHub right now, which is insane. I don't think I've ever seen a repo blow up this fast. And quick warning, there's already a fake version of REA floating around that ships a virus. So only install it from the real repo. I'll put the link down below. And the main tool it drives is called GEDra, which fun fact was built by the NSA. Yes, that NSA. And they gave it away for free. So thank you government, I guess. So, what is the AI actually looking at?
2:19It depends on the box. A Nintendo 64 game is written for a MIP's chip. An Xbox 360 game is Power PC, which is a totally different chip from your PC. Desktop apps built with Electron are mostly JavaScript, which is basically the easy mode. And here's the one that matters. PS5 games and PC games run on the same family of chip, x86. So, you don't have to translate the processor at all. Like I said, that's going to come up again. So, here's how the AI actually cracks it. Gedra spits out rough code with no names, just addresses. Then, the agent reads it, names everything, rewrites it in real code, builds it, and then checks it against the original, bite for bite. If even one bite is wrong, it goes back around. And it does
3:06that over and over for every single function in the game. And what does it rewrite it into? It depends on what you want. C. if you want an exact copy of the original. Rust if you want a clean modern rewrite, which is what a lot of these clones are using because the models are really good at it, and JavaScript or web assembly if you want the thing running in a browser tab. And that check is the secret. Without it, you get code that runs but does the wrong thing. One developer had exactly that. His AI decompiled a whole game. It booted, it loaded maps, and it was still wrong under the hood. So he added a bite forbite checker. And this is my favorite part. His AI agents kept trying to edit the checker so their own code would pass. They tried to cheat the test. So
3:51he had to lock it down. Come on now. So what are people doing with this? This is where it gets fun. Mario inside of Elden Ring. This one went everywhere. And the way it works is actually pretty clever. It uses a library built on that Super Mario 64 decompilation. So, it's basically simulating Mario frame by frame and dropping him into a different game. You need your own copy of both games. And that's actually a third way to crack the box. You don't rewrite the whole game. You build a bridge. So, one game's character or physics runs inside another game that's already running. It's kind of duct tape, but it works. And I'm sure Nintendo is thrilled about this. Just thrilled. But right now, the
4:36mod is still up on GitHub. Then there's this one. Skate 3 inside of Call of Duty Modern Warfare 2. Walk around any map, hit J, and your soldier drops onto a skateboard. Grinds, flip tricks, the whole thing. And the way they built this is wild. Somebody rewrote the entire Modern Warfare 2 engine in Rust using Gedra to study the original. And the readme literally says the whole project was written by an AI. Then they snapped a separate Skate 3 physics engine on top of it. And then it really took off. Kotaku ran a headline that literally said, "We might be cooked. Halo, Vice City, Black Ops, The Simpsons Hitand Run in a browser tab." And they said they
5:21seem to work perfectly. And they said Claude Opus 5.5 is extremely good at decompiling, which is funny because I've been calling it Slopus for months. It's been slow since the dawn of time. Apparently, it's not slow at decompiling. But here's something to be honest about. AI didn't do this alone. The Skate 3 team says one guy spent more than two years reverse engineering Skate 3 by hand. A lot of these projects stand on that kind of work. What AI did was take the last mile from years down to weeks, and that's still a huge deal. So, what's next? Consoles. There's a project called Any PS5 that's trying to turn PS5 games into regular PC programs, not an emulator, an actual PC version. And it
6:08already has over 40,000 stars. And remember what I said earlier, PS5 and PC run on the same family of chip, so you don't have to emulate the processor. The hard part is everything around it. The graphics, the system libraries, all of that. Now, you're going to see headlines talking about GTA 6 on PC. Don't get lost in the sauce here. It's still version 0.1. A community tracker lists about five games as playable right now. Things like Hollow Knight Silk Song and Minecraft. So, it's a race, not a finish line. And to be clear, these tools only work with copies of the games that are already decrypted. I'm not going to show you how to do any of that. It's a legal gray area at best. And this is where it
6:54stops being about games. A developer named Brandon Thomas rebuilt seven Adobe apps. Photoshop, Illustrator, Premiere, Lightroom, Open Source, free written in Rust with Claude Opus 5.5. His Photoshop clone has over 60,000 stars. And yes, somebody cloned Premiere Pro, which is funny because I haven't opened Premiere Pro in months. My AI agents edit my videos now, so too late. And a few days ago, I said, "Who uses Photoshop anymore?" Apparently, somebody took that personally. So, how did he do it? He didn't copy Adobe's code. The project says it's built from public specs and observed behavior. And that's the second way to crack the box. You don't read the code at all. You watch what the app
7:39does, write down exactly how it behaves, and rebuild that behavior from scratch. That's called a clean room. Companies have been doing this legally since the early8s. The difference is it used to take a whole team years and then he went after Microsoft Office, Word, Excel, PowerPoint, and they open your real Word and Excel files. And he didn't stop there. AutoCAD, ProTools, Figma. Like, what is he going to do next? And here's the quote that stuck with me. He said, "AI models enable me to work as an entire company." Think about that for a second. Now, is it as good as Photoshop? No, not yet. By its own count, it's about 45% ready for real work, and it has over 1,700 open issues. Although, to
8:24be fair, their AI agents use those issues as a to-do list. But this is the worst it's ever going to be. So, is software dead? Here's where I land. The code isn't the moat anymore. If anybody with a $200 subscription can study your app and rebuild the features in a few weeks, then the features aren't what you're selling. And Wall Street noticed HSBC actually downgraded Adobe's stock because of this, an open-source side project. Now, the stock barely moved, but think about that. What's left is the stuff AI can't copy. Your brand, your data, your support, the people who trust you. And honestly, that's what the good companies were selling all along. But here's something to be wary about. None of this has really been tested in court
9:10at this speed. Clean room cloning is old. Doing it to seven Adobe apps in a few weeks is brand new and takedowns have already started. Activision already sent takedowns for some of those Black Ops browser ports. I don't think this ends quietly. And a demo isn't a product. Opening a file is easy. Opening every file, keeping it secure, and supporting millions of people. That's the hard part. That's still hard. So, here's how I'm actually using this. In my resale business, we sell pre-owned Lululemon live on whatnot. And there was a tool I was paying $30 a month for just to keep track of wins during a show. So, I built my own. It's called Wind Snap. It took about 20 minutes and it's on every computer in our business now. And
9:56that's the real story here. Not stealing Photoshop, personalized software. If you can build the exact tool your business needs, why would you rent somebody else's? And the rule I follow is simple. only software you own or you're allowed to examine. Learn how it works, then build your own version. So, to sum it up, the lock-on software just broke. Games, consoles, Photoshop, Office, AI can read the box now, and the companies that survive are going to be the ones selling something more than code. Comment down below, what are your thoughts? Is software dead, or is this all hype? I want to know. And if you want to learn how to build with all of this, we have a free community called Shipping School. We do boot camp calls
10:41every week and we keep everybody up to date on all the latest drops. The link is down below along with our free Discord. We'll see you in the next one. Have a blessed day.
Ready to start building with AI?
Join the Shipping Skool community free. Paid members get live bootcamp calls every week and weekly-updated courses.
Join Shipping SkoolKeep reading
REA (Reverse Engineer Anything): Clone Any App With Claude Code
REA (Reverse Engineer Anything) is a free GitHub repo: one MCP server plus one skill. It connects Claude Code, Codex, Cursor or Gemini CLI to specialist tools so your agent can work out how an app installed on your machine works, with evidence for each claim. Then you build your own version.
Top Trending GitHub Repos: VoiceStudio, ai-job-search, Orca, Ghidra
The five repos right behind REA on GitHub Trending this week are VoiceStudio (free local voice cloning), ai-job-search (a Claude Code job hunt), Orca (a desktop app for running many coding agents), Ghidra (the NSA's reverse engineering tool), and HyperFrames (HTML to MP4 video).
What Can You Build with Claude Fable 5.2? Hardware, Games, Costs
People are using Claude Fable 5.2 to design circuit boards, build browser games from one prompt and render Blender films, but it cost more than Opus 5.5 in every side-by-side I found. I keep Opus 5.5 as my daily driver and run Fable on High for long, 3D and CAD jobs.
