# AI use cases for Rea (morluto/rea)

Repo: [morluto/rea](https://github.com/morluto/rea) | Use cases: 6 | Page: https://dedupedai.com/use-cases/morluto-rea/

A plug-in that lets your AI agent take apart an app and explain how a feature works.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Rebuild a feature you saw, in your own project: https://dedupedai.com/use-cases/morluto-rea/build-similar-feature-for-my-project/
- Map how a website's front end works: https://dedupedai.com/use-cases/morluto-rea/inspect-web-player-from-browser/
- List modules and IPC in an Electron app: https://dedupedai.com/use-cases/morluto-rea/analyze-electron-app-directory/
- Pull apart a game's WASM web build: https://dedupedai.com/use-cases/morluto-rea/explain-game-wasm-build/
- Get readable pseudocode from a native binary: https://dedupedai.com/use-cases/morluto-rea/understand-native-binary-behavior/
- List types and methods in a Unity game: https://dedupedai.com/use-cases/morluto-rea/decode-unity-il2cpp-metadata/

## How to rebuild a feature you saw, in your own project with Rea

Repo: [morluto/rea](https://github.com/morluto/rea) | Difficulty: Intermediate | Time: 1.5 hours | Basis: Seen in the wild

Have your agent study how another app does a feature, show the evidence, then build and test your own version.

**Who it is for:** Solo founder or indie developer who likes a feature in another app and wants something comparable in their product

**The problem:** You can see what the feature does, but not how it is built, so copying the idea means guessing.

**The outcome:** An explanation of how the feature works, backed by evidence, and a tested first version in your own codebase.

### Steps

1. Run `npx rea-agents setup`, choose your agent, review and approve the changes, then restart the agent.
2. Ask your agent to investigate one feature in the target app with REA and explain it before writing any code.
3. Check that each claim points to a file, symbol or observed behavior, and ask about anything marked unknown.
4. Ask it to build a version for your project and test it, then review the code yourself.

### Prompt to paste into your agent

```text
Use REA to understand how <feature> works in <app>, show me the evidence, then build a similar feature for my project at <project path> and test it. Mark anything you are guessing, and verify the result matches the behavior you observed.
```

### Caveat

Reimplementing another product's behavior can raise copyright, license and terms of service questions. Write your own code, and only study apps you are permitted to inspect.

Risk, reverse engineering: Only inspect apps whose license or terms allow it, and do not copy their code into your product; use what you learn to write your own.

### Seen in the wild

- Public post (Oct 2026): https://x.com/i/web/status/2112162379614314867

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/morluto-rea/build-similar-feature-for-my-project/

## How to map how a website's front end works with Rea

Repo: [morluto/rea](https://github.com/morluto/rea) | Difficulty: Intermediate | Time: 45 minutes | Basis: Mentioned publicly

Let your agent watch a site in a browser and explain how its scripts and network requests drive a feature.

**Who it is for:** Frontend developer curious how a web app wires its interface to its scripts and server calls

**The problem:** Reading minified scripts and network tabs by hand is slow, and it is easy to miss which request does what.

**The outcome:** A summary of the page structure, scripts and requests behind one feature, with the observed requests as evidence.

### Steps

1. Run `npx rea-agents setup`, choose your agent, review and approve the changes, then restart the agent.
2. Make sure a Chrome-family browser is installed.
3. Ask your agent to observe the target website with REA and list the scripts and network requests behind the feature.
4. Ask it to explain the behavior and tie each claim to an observed request.

### Prompt to paste into your agent

```text
Use REA to observe <website url> in a browser and summarize its page structure, scripts and network requests. Explain how <feature> works and verify every claim against an observed request.
```

### Caveat

Browser observation only sees the client side. Server logic can only be inferred from responses, and the site's terms of use still apply.

Risk, reverse engineering: Observing a site's scripts and traffic can break its terms of use; stick to sites you own or are allowed to test, and never probe for vulnerabilities without permission.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/morluto-rea/inspect-web-player-from-browser/

## How to list modules and IPC in an Electron app with Rea

Repo: [morluto/rea](https://github.com/morluto/rea) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Run one terminal command on an extracted Electron app to get its modules, imports and IPC boundaries.

**Who it is for:** Developer vetting or learning from an Electron desktop app installed on their machine

**The problem:** You want to know what a desktop app's code talks to before you trust it, but it ships as a packed bundle.

**The outcome:** A JSON report of modules, imports and Electron boundaries with evidence, which your agent can explain.

### Steps

1. Install Node.js and npm, and find the extracted app directory or ASAR file on disk.
2. Run `npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json`, replacing the path with your target.
3. Read the report for modules, imports and Electron boundaries.
4. Give the JSON to your agent and ask it to explain the part you care about.

### Prompt to paste into your agent

```text
Run `npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json` on <path to extracted Electron app>, then explain the main modules, imports and IPC boundaries. Verify each finding cites evidence from the report.
```

### Caveat

This static analysis reads the files without running the app, so behavior that only appears at runtime will not show up. On Linux it needs a procps-compatible ps on PATH.

Risk, reverse engineering: Inspecting a packed app is reverse engineering; check that the app's license allows it before you share or reuse anything you find.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/morluto-rea/analyze-electron-app-directory/

## How to pull apart a game's WASM web build with Rea

Repo: [morluto/rea](https://github.com/morluto/rea) | Difficulty: Advanced | Time: 1 hour | Basis: Seen in the wild

Have your agent decode a game's .wasm file and explain its sections, imports and exports.

**Who it is for:** Hobbyist or modder who wants to know how a cross-platform game's web build is put together

**The problem:** A WASM file is unreadable on its own, so you cannot tell what the web build actually contains.

**The outcome:** Decoded sections and the exact import and export forms, with your agent's notes on what stands out.

### Steps

1. Run `npx rea-agents setup`, choose your agent, review and approve the changes, then restart the agent.
2. Install WABT 1.0.42 yourself; REA uses it but does not install it.
3. Find the .wasm file of a game you are allowed to inspect.
4. Ask your agent to inspect the WASM artifact with REA and explain the notable imports and exports.

### Prompt to paste into your agent

```text
Use REA to inspect the WASM artifact at <path to .wasm>, decode its sections and import and export forms, and explain what stands out. Verify against the decoded output and flag any guesses.
```

### Caveat

REA expects a caller-supplied WABT 1.0.42. Game licenses often forbid decompiling, so check the terms before you publish anything.

Risk, reverse engineering: Decompiling a game can break its license or terms of service; keep findings private unless the publisher allows it, and never use them to cheat in online play.

### Seen in the wild

- Public post (Oct 2026): https://x.com/i/web/status/2112166529236357176

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/morluto-rea/explain-game-wasm-build/

## How to get readable pseudocode from a native binary with Rea

Repo: [morluto/rea](https://github.com/morluto/rea) | Difficulty: Advanced | Time: 1.5 hours | Basis: Mentioned publicly

Use Hopper, Ghidra or IDA through your agent to see what one routine in a compiled program does.

**Who it is for:** Engineer who inherited an old compiled tool with lost source and needs to know what one routine does

**The problem:** Without source code, finding out what a routine does means hours in a disassembler.

**The outcome:** Pseudocode, assembly and references for the routine, plus a plain explanation your agent ties to that evidence.

### Steps

1. Install Hopper, Ghidra or IDA. Setup can install Hopper after you approve it; Ghidra and IDA use your own installation.
2. Run `npx rea-agents setup`, choose your agent, review and approve the changes, then restart the agent.
3. Ask your agent to open the binary with REA and explain the function you care about.
4. Ask it to show the pseudocode and references it relied on, and check the parts it marks as unknown.

### Prompt to paste into your agent

```text
Use REA with my installed <Hopper, Ghidra or IDA> to analyze the binary at <path>, explain what <function or behavior> does, and show the pseudocode and references. Verify claims against the shown output.
```

### Caveat

Deep native analysis needs one of Hopper, Ghidra or IDA, and large binaries may need a longer provider startup timeout. Pseudocode can be incomplete, so treat it as a lead.

Risk, reverse engineering: Only analyze binaries you own or are licensed to inspect; many commercial licenses forbid disassembly.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/morluto-rea/understand-native-binary-behavior/

## How to list types and methods in a Unity game with Rea

Repo: [morluto/rea](https://github.com/morluto/rea) | Difficulty: Advanced | Time: 1 hour | Basis: From the README

Decode a Unity IL2CPP metadata file to see assembly images, type names and method names.

**Who it is for:** Game modder or QA engineer who needs the class and method names in a shipped Unity game

**The problem:** IL2CPP compiles game code to native, hiding the original type and method names.

**The outcome:** A list of assembly images, types and methods with index ranges from the metadata file.

### Steps

1. Locate the global-metadata.dat file from the game you are allowed to inspect.
2. Run npx rea-agents setup and restart your agent.
3. Ask the agent to inspect the IL2CPP metadata with REA.
4. Ask it to summarize the types and methods related to the system you care about.

### Prompt to paste into your agent

```text
Use REA to decode the IL2CPP metadata at <path to global-metadata.dat> and list assembly images, types and methods related to <system>. Verify names come from the decoded output.
```

### Caveat

Static decoding supports metadata versions 29, 31 and 39 only. Check the game's terms before analyzing it.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/morluto-rea/decode-unity-il2cpp-metadata/
