reverse-engineering
O que ela faz
Esta skill explica como descompilar e estudar o código, os arquivos de dados e a memória de um jogo para que um mod possa se conectar a eles. É para modders que precisam dos detalhes internos reais do jogo, e não de suposições.
Quando usar
- ✓Quando um mod precisa de nomes de funções internas ou do layout de dados de um jogo.
- ✓Quando você quer descompilar um jogo .NET, Unity ou Java para ler o código.
- ✓Quando precisa descobrir um formato de arquivo não documentado de um jogo.
Link da skill
https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/reverse-engineering/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Descompile o código deste jogo Unity para eu encontrar a função que cuida do pulo do jogador.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente escolhe a ferramenta certa para cada tipo de código, como o ILSpy para .NET ou o Ghidra para programas nativos, estuda a saída e anota nomes, IDs e formatos em um registro conforme avança.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Reverse engineering for mods
Rule zero: read the real thing, don't guess. Decompiled code, the actual data, a live memory view or a
GPU capture is the spec. Write what you learn into MODLOG.md (names, IDs, offsets, formats) as you go.
Keep all decompiled output and extracted assets outside the mod repo (e.g. ~/<game>-decomp/) and never
publish them. Single-player, offline or servers the user runs. Never attach debuggers or scanners to games
with anti-cheat (see skills/mod-any-game/references/safety.md).
Pick the tool by what the code is (um scan tells you)
If REA (Reverse Engineer Anything, npx rea-agents setup) is connected as an MCP
server, start there: one server covers native binaries (through an existing Ghidra, IDA or Hopper install), .NET
assemblies and JavaScript/Electron apps, and its answers come with the evidence behind them. The tools below are
the fallback, and the way to go deeper.
Managed .NET (XNA/FNA, Unity Mono, most indie C#)
dotnet tool install -g ilspycmd, thenilspycmd -p -o ~/<game>-decomp <Game>.exe(orAssembly-CSharp.dll). This gives a full C# project you can grep.- dnSpyEx: step through with a debugger, set breakpoints, edit methods.
- MCP: ILSpy-MCP / dnspy-mcp let an agent query types and methods directly.
Unity IL2CPP
- Cpp2IL (or Il2CppDumper) on
GameAssembly.dll+global-metadata.datgives types, fields, method signatures and addresses, plus dummy DLLs for ILSpy. - Method bodies are native: load
GameAssembly.dllin Ghidra/IDA and apply the generated script to name functions. - Live: UnityExplorer, or
il2cpp-frida-mcp.
Java (Minecraft, Slay the Spire...)
Vineflower / CFR / Recaf. For Minecraft, use Loom genSources with Mojang mappings.
Blitz3D (.bb games; SCP: Containment Breach's source is public): the game is a module inside the exe
that Ghidra can't see. Use the blitz3d-decomp skill (B3DDecomp, runtime behaviour for ports, animated
.b3d models).
Native C/C++ (custom engines, Unreal game code, console recomps)
- Ghidra (free) or IDA, driven through MCP so the agent can decompile, rename, retype and follow
cross-references:
- Ghidra: GhidraMCP (LaurieWired), pyghidra-mcp (headless, with a run-script tool; code-capable tools beat hundreds of tiny ones), ReVa.
- IDA: the official Hex-Rays IDA MCP (IDA 9.4+ Pro/Home; "code mode" runs IDAPython), or ida-pro-mcp.
- Binary Ninja and radare2 have MCP servers too.
- Workflow:
- Strings, then cross-references, then the function.
- Name and type everything you understand. Renames accumulate into a readable program.
- Confirm dynamically (below) before building on a guess. Agents can confidently misidentify things.
- Unreal: dump the reflection data first (UE4SS dumper or Dumper-7); it names most gameplay classes and properties for free.
Dynamic / live
- Cheat Engine: value scans → "find out what writes to this address" → struct → owner. CheatEngine MCP servers exist.
- x64dbg: breakpoints and tracing (x64dbg-mcp; bind it to 127.0.0.1, since some default to 0.0.0.0).
- Frida (frida-mcp, frida-game-hacking-mcp): hook functions from JavaScript, log arguments.
- ReClass.NET rebuilds structs from live memory.
Graphics
- RenderDoc (renderdoc-mcp) captures a frame and shows every draw, the render targets, the constant buffers (view/projection matrices) and the depth buffer.
- That's how you find where to inject geometry or effects (mashup-mods), and which texture holds a sprite atlas.
Data files and asset formats
Use the community tool first:
- Unity: UABEA, AssetRipper
- Unreal: FModel, UAssetGUI
- Fully compressed UE3
.upk(UELib showsExports=0): unpack a copy with Gildor'sdecompress(from UE Viewer), or, for LZO packages, withunpack_upk.py.
- Fully compressed UE3
- Bethesda: xEdit, BSArch
- GameMaker: UndertaleModTool
- Genie: genieutils
- Source: VRF, Crowbar
- FromSoft: WitchyBND, Smithbox
- Godot: GDRE Tools
Before reversing a format yourself, search the community archives. Most game formats from the 2000s and 2010s were worked out there:
- XeNTaX (closed in 2023): the forum, wiki and attachments are on archive.org, with a [public backup on GitHub](https://githu
Perguntas frequentes
Funciona em jogos com anti-cheat?
Não. A skill diz para não anexar depuradores ou scanners a jogos que têm anti-cheat.
Onde os arquivos extraídos ficam guardados?
Fora do projeto do mod, e nunca são publicados.
Como se prova um formato de arquivo?
A skill sugere um teste de ida e volta, em que os dados são lidos e gravados de novo para mostrar que o formato foi entendido.
Detalhes
Descrição original do autor
Read how a game actually works so a mod can hook it. Decompile .NET/Mono (ILSpy), IL2CPP (Cpp2IL, Il2CppDumper), Java (Vineflower) and native code (Ghidra, IDA, via MCP servers); dump data and asset formats; reverse-engineer a binary file format and prove it with a round trip; read live memory (Cheat Engine, Frida, x64dbg); find render passes (RenderDoc). Use when a mod needs game internals, e.g. "how does the boss AI work", "find the damage function", "what format is this .sld/.pak/.dat", "where is the player position in memory".
Popularidade
- Estrelas no GitHub
- 9,3 mil
- Posição no ranking
- #12292
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
asset-pipeline
9,3 milAjuda seu agente a converter arte gerada ou feita à mão no tamanho exato, no layout de quadros, na paleta e no formato de arquivo que um motor de jogo carrega.
blitz3d-decomp
9,3 milAjuda seu agente a descompilar um jogo Blitz3D para um código-fonte legível e planejar um port para outro motor, mantendo o jogo original como referência.
fal-assets
9,3 milAjuda seu agente a gerar arte de jogos, efeitos sonoros, músicas e modelos 3D com o fal.ai, de sprites e texturas até falas de voz e vídeos.
game-automation
9,3 milAjuda seu agente a abrir um jogo de verdade, tirar capturas de tela, clicar e digitar nos menus e ler logs, para testar os próprios mods de jogo.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.