Il2cpp To Csharpのロゴ

Il2cpp To Csharp

コミュニティ
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.

概要

公開者MetaMikuAI
リポジトリil2cpp-to-csharp-skill
スキル名il2cpp-to-csharp
スター
41
フォーク
6
同梱ファイル
27
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 27個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    MetaMikuAIがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルIl2cpp To CsharpをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/MetaMikuAI/il2cpp-to-csharp-skill/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MetaMikuAI/il2cpp-to-csharp-skill.git \
  .claude/skills/il2cpp-to-csharp
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでIl2cpp To Csharpを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にIl2cpp To Csharpを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Il2cpp To Csharpは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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/.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでIl2cpp To Csharpを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Il2cpp To Csharpはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにIl2cpp To Csharpをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/MetaMikuAI/il2cpp-to-csharp-skill/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Il2cpp To Csharpを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Il2cpp To Csharpは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもIl2cpp To Csharpを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Il2cpp To Csharp」は無料ですか?

はい。MetaMikuAIがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇