Skip to content

Instantly share code, notes, and snippets.

@BadMagic100
BadMagic100 / i2cpp_ghidra.md
Last active August 31, 2025 14:48
Instructions to get a useful decompilation out of an il2cpp game. Or, "I spent hours to trial and error so hopefully you won't have to"

Decompiling IL2CPP Games with Il2CppDumper and Ghidra

This guide will walk through how to decompile/reverse engineer IL2CPP games for modding usage.

Note: expect this entire process to take upwards of an hour. Have something ready to do on the side while waiting for processing to finish.

Prerequisites

  1. Download Il2CppDumper
@BadMagic100
BadMagic100 / doorstop_config.ini
Last active December 25, 2022 06:29
Debugging HK Mods
# General options for Unity Doorstop
[General]
# Enable Doorstop?
enabled=true
# Path to the assembly to load and execute
# NOTE: The entrypoint must be of format `static void Doorstop.Entrypoint.Start()`
target_assembly=hollow_knight_Data/Managed/Assembly-CSharp.dll
@BadMagic100
BadMagic100 / docfx-instructions.md
Last active July 20, 2025 19:11
Setting up DocFX and GitHub Pages for a library mod

Warning

This doc no longer represents best practices for docfx + pages management. I have retained it for posterity but would instead recommend that readers consult the DocFX QuickStart which contains information about installing and using the tool and publishing to GitHub pages.

Intro

These instructions describe how to set up DocFX and publish documentation as a static website to your repository's GitHub Pages. They are targeted at Hollow Knight modders and use some conventions that have been generally adopted in the Hollow Knight modding community, but should be generally applicable to other types of projects as well.