Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
REA: 2.0 Reverse Engineer Anything Analyze, Rebuild, Rewrite
Role Play
New
9 students

REA: 2.0 Reverse Engineer Anything Analyze, Rebuild, Rewrite

REA/Craft/Rust/Fast Anything + rea-games: analyze binaries/games, clean rebuilds, Rust hot-path ports, verify behavior.
Created byIrfan Azmat
Last updated 11/2026
English

What you'll learn

  • Install and configure REA with MCP to connect Claude Code, Codex, Cursor, or Gemini CLI to reverse-engineering engines.
  • Explain REA architecture: MCP server, provider abstraction layer, workflow skill, and evidence model.
  • Analyze native binaries with Hopper, Ghidra, or IDA to extract pseudocode, assembly, strings, and cross-references.
  • Distinguish observed facts, agent inferences, confidence levels, and explicit unknowns in REA evidence-backed findings.
  • Trace Electron app features statically across renderer, preload scripts, IPC channels, and main process boundaries.
  • Inspect SQLite databases, HAR files, mitmproxy captures, and Wireshark traffic to map API endpoints and payloads.
  • Analyze specialized formats including .NET assemblies, Android APKs, Flutter apps, Go/Rust binaries, WASM, and EVM bytecode.
  • Apply secure runtime-analysis practices using disposable environments, agent permissions, and safe memory management.
  • Evaluate legal, ethical, licensing, privacy, and responsible-disclosure boundaries before analyzing or rebuilding software.
  • Reconstruct a software feature using REA's five-stage pipeline and document the evidence chain from observation to implementation.
  • Build a clean-room reconstruction of an app or game from observed behavior without copying original code, art, names, or assets.
  • Write a behavior specification in GAME md format covering rules, frame order, constants, quirks, and unmodelled gaps.
  • Record deterministic game sessions by controlling clock and randomness, capturing inputs, random tape, and state after each step.
  • Port a recorded game to web, Rust/Bevy, Godot, or Unity and verify identical behavior frame by frame.
  • Use rea-games verify to compare traces, detect the first behavioral difference, and prove a port uses the recorded random numbers.
  • Rewrite an existing application in Rust piece by piece while proving behavioral equivalence against recorded original behavior.
  • Profile an app to identify the slow hot functions, then port only those functions to Rust for surgical performance gains.
  • Validate Rust hot-path ports against recorded real calls, confirm identical results, and keep changes reversible and low risk.
  • Develop custom REA providers and plugins to connect specialized tools, batch workflows, and scaling strategies.
  • Create an evidence-backed portfolio project that analyzes, rebuilds, ports, optimizes, and verifies a real app or game.

Course content

3 sections • 59 lectures • 6h 1m total length
  • Foundations & Mental Model, MCP Server, Responsibility Map & Normalisation6:43
  • Role Play 1 — The Inference Trap
  • Evidence Envelope & Boundaries, Confidence Labels, Addresses & Local First6:43
  • Role Play 2 — The Eight-Field Envelope
  • Setup, Readiness & First Hour, Global Install, Config Drift & Three Line Ledger6:43
  • Role Play 3 — The Limitations Briefing
  • Quiz 1 — Foundations & Evidence
  • CLI, Formats & Token Economics, Evidence Output, Toon Format & Budget Policy6:43
  • Role Play 4 — The Fake Installer
  • MCP, Prompts, Skills & Scripting, Implementation Prompt & Target Switching6:43
  • Role Play 5 — The 250 MB Question
  • Quiz 2 — Setup, CLI & Token Economics
  • Native Binaries & Engines, Pseudocode Draft, Cross References & UI Cross Check6:43
  • Role Play 6 — The Token Budget Conversation
  • Application & Platform Targets, Managed Code, Flutter Snapshots & Python Bytecod6:43
  • Role Play 7 — The CI Gate Policy
  • Assignment 1 — Evidence-Backed Orientation
  • Network, Runtime & Instrumentation, Firmware Regions & Unrestricted Debugger6:43
  • Role Play 8 — Show Me the Instructions
  • Game Reverse Engineering, Game Loop Hunt, RNG Recognition & Publish Discipline6:43
  • Role Play 9 — The Hash Check
  • REA Overview, Static vs Runtime, Doctor and Setup, Providers and Engines & file6:17
  • Role Play 10 — The String Handle
  • Electron Architecture, Paired Transmissions, The Drift Gate & CI Integration6:24
  • Role Play 11 — Address to Bytes
  • HAR Captures, REST From Four Requests, Framing & From Protocol To Environment5:49
  • Role Play 12 — The Preload Boundary
  • Supply-Chain Risk, Why Header-Only Is Safe, Firmware Regions & Triage Workflow5:57
  • Role Play 13 — The APK Trace
  • Lab 5 Goal, Truncating Division, Boundary Values & Byte Mismatch5:41
  • Role Play 14 — The Supply Chain Question
  • Fixed-Point Arithmetic, LCG Constants & Live Verification5:44
  • Role Play 15 — The Capture
  • Lab 9, The Asset Boundary, Godot Limits, Engine Identification & Game Case5:15
  • Role Play 16 — The Firmware Box
  • From Findings To Specification, CI-CD & Version Drift5:21
  • Role Play 17 — The Hook
  • Limits and Honest Expectations, Game Boundaries, Containment & The Exposure6:10
  • Role Play 18 — The Eight Steps
  • The Playbook Library, Learning Path D, Requirements Reference & Closing6:09
  • Role Play 19 — Sixty-Three Bytes

Requirements

  • No prior reverse-engineering experience is needed; you will learn the workflow from the ground up.
  • Basic command-line familiarity is helpful, but no advanced programming or security background is required.
  • Install Node.js 22+ and an AI coding agent such as Claude Code, Codex, Cursor, or Gemini CLI.
  • For binary analysis, install or have access to Hopper, Ghidra, or IDA; guidance is provided for setup.
  • For Rust ports, install Rust and Cargo; for Godot or Unity ports, install Godot 4.4+ or the .NET SDK as needed.
  • A computer that can run virtual machines or disposable environments is recommended for safe runtime analysis.

Description

AI DISCLOSURE — PLEASE READ FIRST

This course was developed with the assistance of artificial intelligence. AI tools were used to help draft, structure, and organize portions of the curriculum, lecture outlines, technical explanations, scenario prompts, and supporting written materials. All topics, sequencing decisions, accuracy checks, and final quality review were carried out by the instructor. This disclosure is placed at the very beginning of the course so that every learner can make a fully informed decision before enrolling. If you have questions about how AI was used in the creation of this material, please ask in the course Q&A before you purchase.

This course was created with the help of artificial intelligence tools. Here is exactly what that means:

What AI was used for:

  • Drafting and organizing portions of the curriculum and lecture outlines

  • Writing and structuring some technical explanations and written materials

  • Generating scenario prompts and supporting text

What AI was NOT responsible for:

  • Choosing the topics and the order they are taught

  • Verifying technical accuracy

  • Final quality review and approval of all content

  • All instructional decisions and teaching judgment

In short: AI helped me draft and organize parts of the material. I, the instructor, decided what to teach, in what order, checked every technical claim, and gave final approval to everything you will see. Every topic, sequence, and accuracy check was carried out by me.

Why this is at the top: Udemy requires instructors to disclose AI assistance, and I want you to make a fully informed decision before you buy. If you have any questions about how AI was used in this course, please ask in the course Q&A before purchasing — I will answer honestly.

REA 2.0: Reverse Engineer Anything — Analyze, Rebuild, Rewrite

Stop guessing how software works. Start proving it.

Every developer has had the same moment. You open an application, a game, or a binary, and you ask a simple question: "How does this actually work?" Maybe you want to understand an algorithm that produces unusually smooth results. Maybe you need to trace how a desktop app talks to its backend. Maybe you want to know how a classic game calculates physics, renders sprites, or decides when a bullet fires. Maybe you just want to know what a piece of software is doing with your data.

Traditionally, answering that question meant climbing a steep, fragmented mountain. You needed a disassembler for binaries, a bundler inspector for JavaScript, a packet analyzer for network traffic, a database viewer for local storage, and the experience to stitch all of their outputs together by hand. Each tool has its own interface, its own output format, and its own quirks. For most developers, the mountain was too steep to climb.

That is changing. REA 2.0 is a complete, practical course that teaches you how to use modern AI agents and a new generation of open-source tools to analyze, rebuild, rewrite, optimize, and verify software with evidence instead of guesswork. It is not a course about pressing a magic button and receiving source code. It is a course about asking better questions, demanding evidence, and building real, verifiable results on top of what can actually be observed.

This is a 5-in-1 course built around a connected family of tools:

  • REA (Reverse Engineer Anything) — AI-assisted analysis of binaries, applications, and network captures.

  • Craft Anything — clean-room re-creation of apps and games.

  • Rust Anything — full application rewrites in Rust with behavioral equivalence proof.

  • Fast Anything — surgical porting of only the slow functions to Rust for targeted performance gains.

  • rea-games — frame-by-frame behavioral verification for games across web, Rust/Bevy, and Godot engines.

Each tool solves a different stage of the same problem. Together, they form a complete pipeline: understand → recreate → port → optimize → verify.

The problem this course solves

When a human analyst reverse-engineers software, they rely on intuition and experience. They know which tool to open, which output matters, and when a result looks suspicious. When an AI agent tries to do the same work directly, it hits massive friction. Tool interfaces are inconsistent. Raw outputs are enormous and flood the agent's context window. There is no standard way to distinguish between what was actually observed and what the AI simply inferred.

REA solves this by placing one consistent, normalized interface in front of many analysis engines. The AI agent speaks MCP (Model Context Protocol) to REA, and REA handles the complex toolchain, the analysis session, and the target lifecycle. Crucially, REA introduces an evidence model. Every result returned to the agent is wrapped in structured metadata that includes the actual findings, the location of the evidence (such as a file offset or memory address), the confidence level, and—most importantly—the explicit limitations and unknowns.

This is the heart of the course. You will learn to think like an evidence-driven analyst. You will learn to ask four essential questions of every finding: What was observed? Where did it come from? What did the tool infer? And what remains unknown? That discipline is what separates a reliable reverse-engineering workflow from an AI hallucination.

What you will master

This course moves from foundations to advanced case studies, and every section is hands-on.

Understand the architecture. Learn how the MCP server, the provider abstraction layer, and the workflow skill interact. Understand the difference between static analysis, which safely reads files without executing them, and runtime capture, which runs the target in a controlled environment. You will install Node.js, configure the REA MCP server, and connect AI coding agents such as Claude Code, Codex, Cursor, or Gemini CLI.

Master the evidence model. Learn to read REA's output critically. You will practice distinguishing observed facts from agent inferences, reading confidence levels, and documenting explicit unknowns. This is the skill that makes your findings defensible.

Analyze native binaries. Connect REA to Hopper, Ghidra, or IDA to extract pseudocode, assembly, strings, and cross-references. Learn how to navigate large binaries, raise provider startup timeouts for massive targets, and interpret low-level results without drowning in noise.

Trace Electron and JavaScript apps. Follow features across the security boundaries of modern desktop applications. You will learn to trace execution from the renderer process, through preload scripts, across IPC channels, and into the main process—all without running the application.

Inspect databases and network captures. Analyze SQLite databases, read HAR files, and use mitmproxy and Wireshark to understand how an application communicates over the network. Extract API endpoints, authentication patterns, and payload shapes from recorded traffic.

Analyze specialized formats. Explore built-in static inspectors for .NET assemblies, Android APKs, Flutter apps, Go and Rust binaries, and specialized formats such as WASM and EVM bytecode.

Develop custom providers. Go beyond the built-in tools. Learn REA's extension and plugin architecture, and discover how to develop custom providers that connect REA to your own specialized tools or workflows.

Reconstruct features. Use REA's five-stage pipeline to move from observation to a working reconstruction. You will follow documented case studies, including a classic brick-breaker game where a sound call is traced into a position-to-pan helper function, and a 16-bit PC-98 shooter where segmented memory and historical compilers are handled carefully.

The rebuild, port, and optimize pipeline

Analysis is only the beginning. REA 2.0 takes you all the way through transformation.

Craft Anything teaches clean-room re-creation. You will inspect how a website, app, or game behaves and then build your own new version from a behavior specification. By default, the tool works in clean-room mode: it reads only external, visible behavior, and it never copies original code, art, sound, or names. You will learn the four-step loop—study → build → check → ready—and how to compare your rebuild against the original until it is close.

Rust Anything teaches full application rewrites with proof. Instead of translating code line by line, you will record what the original app actually does, have your coding agent write the Rust replacement piece by piece, and check every piece against the recording before moving on. You will learn how to support apps written in TypeScript/JavaScript, Python, C, Go, Ruby, Java, and Kotlin, and how to prove behavioral equivalence at every step.

Fast Anything teaches surgical performance work. It argues—correctly—that you often do not need to rewrite an entire app in Rust. Instead, you will profile the app, find the hot functions that consume most of the time, and port only those functions to Rust. You will validate the ported functions against recorded real calls, confirm they return identical results, and keep the change fully reversible. The course includes a documented 116× speedup on a Python fuzzy-dedupe benchmark achieved by porting only the hot loop, giving you a concrete, reproducible picture of what surgical porting can deliver.

rea-games teaches frame-by-frame verification. You will work with open-source games—including an MIT-licensed 2048 puzzle game, an MIT-licensed canvas bird game, and an MIT-licensed falling-blocks game—and learn the full loop: record the original under a fake clock and seeded randomness, write a behavior spec in the open GAME . md format, port the game to any engine, and verify that every recorded state matches exactly. You will see the verification output for yourself, including the summary that shows thousands of identical inputs and recorded states across web, Rust/Bevy, and Godot ports. You will also learn why a check that cannot fail proves nothing, and how deliberately breaking a port is used to prove the verifier actually detects differences.

Case studies that make the concepts real

The course is built around real, documented examples rather than toy abstractions.

  • A classic brick-breaker game: Follow a sound call into its position-to-pan helper function, inspect the assembly, and turn incomplete pseudocode into C code that passes thousands of original test cases. This is what true evidence-based reconstruction looks like.

  • A 16-bit PC-98 shooter: Examine a game written in 16-bit code. See how segmented memory and historical compilers are handled while recovering the fixed and aimed angle calculations for a ring of bullets.

  • A popular Electron-based productivity app: Trace its clipboard API from the renderer through the preload and IPC into the main process, inspect the rich clipboard format, and learn how to document a feature chain and reimplement it safely in your own projects.

  • Open-source classic games: Use the rea-games case studies to record, specify, port, and verify MIT-licensed and BSD-licensed games across multiple engines, with full transparency about coverage gaps and what remains unmodelled.

Security, ethics, and responsible practice

Reverse engineering is a powerful skill that must be practiced responsibly. This course devotes serious attention to the legal, ethical, and licensing boundaries of the work. You will learn that these tools are intended for lawful research, education, interoperability, software preservation, and the analysis of software you own or are authorized to examine. You will learn how to isolate targets, use disposable environments, manage agent permissions, handle memory limits, and follow responsible disclosure practices. You will also learn why clean-room reconstruction matters legally and how to keep your rebuilds free of original code, art, sound, and trademarks.

Who this course is for

This course is designed for developers, security researchers, students, and curious builders who want to understand how software works under the hood and then do something useful with that understanding.

  • Developers who want to understand unknown apps, games, and binaries without source code.

  • Security researchers and malware analysts who want AI-assisted, evidence-backed workflows.

  • CTF players and students who want a practical path from binary analysis to clean-room reconstruction.

  • Builders and product-minded developers who want to recreate app or game behavior safely and legally.

  • Engineering leads and legacy-modernization teams planning a verified Rust rewrite or a partial port.

  • Backend and performance engineers who want to speed up existing apps by porting only the hot functions to Rust.

  • AI-agent users curious about MCP, provider abstraction, and how to connect agents to specialist tools.

No prior reverse-engineering experience is required. The course starts from the ground up. If you can read basic terminal output and you are willing to learn, you are ready.

Requirements

  • No prior reverse-engineering experience needed.

  • Basic command-line familiarity is helpful.

  • Node.js 22+ and an AI coding agent such as Claude Code, Codex, Cursor, or Gemini CLI.

  • For native binary analysis, access to Hopper, Ghidra, or IDA (setup guidance is provided).

  • For Rust ports, Rust and Cargo; for Godot ports, Godot 4.4+ as needed.

  • A computer capable of running virtual machines or disposable environments is recommended.

Why take this course?

The hype around AI coding agents is immense. Knowing how to point those agents at complex, low-level problems is a rare and valuable skill. These tools are connectors, not magic buttons. They do not hand you the original source code. They give you what can be observed, along with what is unknown. By the end of this course, you will know how to lower the friction of reverse engineering while keeping your expectations honest and your findings verifiable. You will know how to ask the right questions, demand evidence, and build features on solid, observable behavior.

You will finish with a portfolio-ready project that demonstrates the entire pipeline: you analyzed something unknown, rebuilt it clean-room, ported it to Rust with equivalence proof, optimized its hot paths, and verified its behavior frame by frame. That is a story very few developers can tell.

Join me in REA 2.0 and start exploring the binaries, applications, games, and networks around you with confidence, evidence, and a complete modern toolchain.

Trademark notice. All product names, logos, and brands are the property of their respective owners. All company, product, and service names used in this course are for identification and educational purposes only. Use of these names, logos, and brands does not imply endorsement, affiliation, or sponsorship. Reverse engineering is taught for lawful research, education, interoperability, and software preservation of software you own or are authorized to examine. You are responsible for complying with all applicable laws and licenses in your jurisdiction.

Who this course is for:

  • Developers who want to understand how unknown apps, games, and binaries work without source code.
  • Security researchers and malware analysts who want AI-assisted, evidence-backed reverse-engineering workflows.
  • CTF players and students who want a practical path from binary analysis to clean-room reconstruction.
  • Builders and product-minded developers who want to recreate app or game behavior safely and legally.
  • Engineering leads and legacy-modernization teams planning a verified Rust rewrite or partial port.
  • Backend and performance engineers who want to speed up existing apps by porting only hot functions to Rust.
  • AI-agent users curious about MCP, provider abstraction, and how to connect agents to specialist tools.
  • Anyone interested in frame-by-frame game verification, behavior specs, and clean-room software preservation.