Patch own game's DLL for unlimited tokens with OpenCode and REA MCP

Creator used OpenCode with the REA MCP to analyze their own compiled game DLL and produce a patched copy granting unlimited tokens.

Used for
Side business
Skill needed
No code
Shown in video
Partial demo
Summary based on
Transcript
RGSecurityTeamWatch on YouTube

AI Is Reverse Engineering Everything… I Tested It on My Own Game

Published Oct 19, 20265:542,623 views63 likes

Key moments

  • 5:16Unlimited tokens confirmed in the game

What they made

Patched DLL replaced the original and the game showed unlimited tokens, allowing any shop upgrade.

5:16

How they did it

  1. Human1:16

    Installed REA MCP globally via NPM and ran REA setup to register it with OpenCode.

    Stated in video · REA MCP
  2. AI3:09

    Ran a health check on REA MCP and listed missing binary-analysis tools (Ghidra, Hopper, IDA, ADB, APK Tool, TShark, JADX).

    Stated in video · OpenCode
  3. Human

    Copied the compiled game to the Kali Linux desktop and prompted the agent to analyze rg_runner.dll's token system, asking for a separate patched copy rather than modifying the original.

    Creator-reported · OpenCode
  4. AI

    Analyzed the compiled DLL and produced a patched file with documented changes and deployment instructions.

    Creator-reported · REA MCP
  5. Human

    Copied the patch to Windows, renamed it to match the original DLL, and replaced the original file.

    Creator-reported
  6. Human5:16

    Launched the game and confirmed unlimited tokens were available for shop upgrades.

    Stated in video

What you can reuse

  • An AI agent plus a reverse-engineering MCP can locate and patch token logic in a compiled DLL without source code.
  • Asking the agent for a separate patched copy preserves the original binary.
  • Client-side game logic like tokens and upgrades is exposed to local modification.

Trade-offs

  • Binary-analysis tools (Ghidra, Hopper, IDA) and ADB/APK Tool/TShark/JADX were not configured; the creator skipped them because the game was simple.
  • The patch was manually copied, renamed, and swapped into the Windows game folder by the human.
  • Only a simple self-made game was tested; no metrics or broader validation were reported.

AI-generated case summaries can contain mistakes. Report an error

Related cases