Most Popular

Unity (Mono / IL2CPP)

Harmony runtime method patching / Assembly replacement

Recommended LoaderBepInEx 5/6, MelonLoader
Decompilation ToolchainILSpy, Cpp2IL, Il2CppDumper

Architecture Specifications

1. Runtime Architecture Reconnaissance & Loader Selection

For Unity (Mono / IL2CPP), the AI agent inspects DLL export tables and process memory maps. The recommended loader is BepInEx 5/6, MelonLoader, hooking into the game initialization lifecycle to load custom assemblies.

2. Symbol Recovery & Decompilation Toolchain

Headless decompilation is orchestrated via ILSpy, Cpp2IL, Il2CppDumper. By restoring bytecode or reflection dumps into an Abstract Syntax Tree (AST), the AI assistant locates target classes, tick loops, and internal state fields.

3. Primary Hook Route & Injection Pattern

The established modding route is: Harmony runtime method patching / Assembly replacement. This strategy provides atomic, reversible function detours without risking memory access violation exceptions.

4. Asset Overrides & Virtual Filesystem (VFS) Packing

Novel textures, sprites, and models are packed into engine-compliant archives and mounted via virtual filesystem overrides, leaving pristine game install directories untouched.

5. Automated Single-Player Sandbox Verification

The agent boots an isolated process, issues synthetic input signals, asserts memory invariants, and collects crash telemetry to guarantee deterministic mod stability.