Logo vun Il2cpp To Csharp

Il2cpp To Csharp

Communautéit
MetaMikuAI
il2cpp-to-csharp

Reconstruct plausible C# from Unity IL2CPP binaries with either the IDA Pro MCP backend or the Ghidra backend, using matching Il2CppDumper metadata. Use for method VA/RVA/name analysis, string literal resolution, vtable mapping, switch/enum recovery, compiler-generated lambdas, LINQ, coroutine or async state machines, and IL2CPP runtime-helper cleanup. Pick exactly one backend based on the environment that is actually available and follow only that backend's instructions. Do not use for Mono/.NET assemblies, generic native decompilation, or exploit development.

Iwwersiicht

EditeurMetaMikuAI
Repositoryil2cpp-to-csharp-skill
Skill-Nummil2cpp-to-csharp
Stären
41
Forks
6
Matgeliwwert Fichieren
27
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 27 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum MetaMikuAI op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Il2cpp To Csharp an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/MetaMikuAI/il2cpp-to-csharp-skill/tree/main
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MetaMikuAI/il2cpp-to-csharp-skill.git \
  .claude/skills/il2cpp-to-csharp
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Il2cpp To Csharp an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Il2cpp To Csharp automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Il2cpp To Csharp net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

IL2CPP to C# Source Restoration

Reconstruct readable C# from Unity IL2CPP binaries, one method at a time. This skill ships two independent backends that consume the same Il2CppDumper artifacts (script.json, stringliteral.json, DummyDll / dump.cs) and produce the same kind of output.

1. Pick a Mode — do this first

  • Task mode — the user wants C# reconstructed from a concrete binary or method. Ask the user which backend to use, then read that backend's workflow completely and follow exactly one backend. The two backends are self-contained: never mix their instructions, tool rules, or docs.
  • Reference mode — the user only wants to consult this skill (no backend chosen yet, no binary at hand), for example "how does this skill resolve string literals / lambdas / state machines?". Skip backend selection and read the topic doc for that construct directly from the trigger table in section 3. Either backend's version of a topic doc may be read; both document the same constructs with their own tooling (IDA docs are more consolidated, Ghidra docs are split finer).

2. Shared Rules (apply to both backends)

  • Treat complete decompiler C as the primary evidence. If output is truncated, incomplete, or fails, obtain the full body before reconstructing; never fill missing regions from context.
  • Never invent string literals, names, conditions, enum labels, or branches. Confirm everything against dump metadata and stub projects.
  • Preserve all metadata attributes ([Token], [Address], [FieldOffset], [CompilerGenerated], …) from any supplied stub.
  • Restore one method at a time; process multiple VAs sequentially and return each result before continuing.
  • Report unresolved details explicitly instead of guessing.

3. Doc Trigger Table

Every row is a direct link to a doc in this skill. Read the doc before restoring or answering about that construct — when a trigger fires, that read is mandatory, not optional. Backend workflows repeat some of these pointers in context; this table is the routing source of truth. In task mode, stay within the backend you picked.

IDA backend

Entry (task mode): read ida/workflow.md completely before analyzing a method.

TriggerRead before restoring
StringLiteral_N in the pseudo-Cida/strings.md
__c / __9__N_M / b__ / DisplayClassN_M / <Outer>g__ helpersida/compiler-patterns.md
LINQ chains (Select / Where / ToArray / Aggregate / …)ida/compiler-patterns.md
MoveNext, iterator, async / UniTask state machineida/compiler-patterns.md and ida/ida-quirks.md
Unlabeled sub_xxx call that may be IL2CPP machineryida/helpers.md
vtable._N slot callsida/workflow.md (Vtable Call Resolution)
Field-offset noise (BYTE4(Instance[40].monitor), LOBYTE(...), …)ida/ida-quirks.md
Truncated or failed decompile, suspected ICF foldingida/workflow.md and ida/ida-usage.md
IDA MCP tool choice, prohibited tools, timeoutsida/ida-usage.md

Ghidra backend

Entry (task mode): read ghidra/workflow.md completely before analyzing a method.

TriggerRead before restoring
First-time project creation, image import, symbol applicationghidra/ghidra-setup.md
Query wrapper usage, batch syntax, address coordinates, query failuresghidra/ghidra-query.md
StringLiteral_Nghidra/strings.md
Concatenation, string.Format, boxing, interpolation loweringghidra/string-formatting.md
__c / b__ / DisplayClass / g__ helpersghidra/lambdas-closures.md
LINQ or shared generic bodiesghidra/linq-generics.md
Iterator / boolean MoveNext state machineghidra/coroutines.md
Awaiter / Task / UniTask state machineghidra/async.md
Unlabeled FUN_... that may be IL2CPP machineryghidra/helpers.md, then ghidra/runtime-memory.md or ghidra/runtime-exceptions.md
Address drift, thunks, ICF labels, offcuts, decompiler type problemsghidra/ghidra-quirks.md

4. Scripts

  • Shared tools, run from the skill root's scripts/ directory: lookup_strings.py (StringLiteral_N / RVA / VA to string), field_offset.py (object / Fields offset arithmetic), query_script_json.py (Il2CppDumper method records).
  • Ghidra wrapper scripts live under ghidra/scripts/ — ghidra_query.py, GhidraQuery.java, ApplyIl2CppSymbols.java — and run from within ghidra/.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Il2cpp To Csharp?

Reconstruct plausible C# from Unity IL2CPP binaries with either the IDA Pro MCP backend or the Ghidra backend, using matching Il2CppDumper metadata. Use for method VA/RVA/name analysis, string literal resolution, vtable mapping, switch/enum recovery, compiler-generated lambdas, LINQ, coroutine or async state machines, and IL2CPP runtime-helper cleanup. Pick exactly one backend based on the environment that is actually available and follow only that backend's instructions. Do not use for Mono/.NET assemblies, generic native decompilation, or exploit development.

Firwat Il2cpp To Csharp op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Il2cpp To Csharp besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Il2cpp To Csharp an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/MetaMikuAI/il2cpp-to-csharp-skill/tree/main an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Il2cpp To Csharp benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Il2cpp To Csharp benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Il2cpp To Csharp domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Il2cpp To Csharp gratis?

Jo. De Skill gëtt vum MetaMikuAI ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇