Skip to content

Instantly share code, notes, and snippets.

@609476965
609476965 / Loader.cs
Created October 4, 2018 07:56 — forked from vizv/Loader.cs
DumpAssembly module with example
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace DumpAssembly
{
class Loader
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public struct MonoImage
@609476965
609476965 / SimpleHarmonyTranspilerTutorial.md
Created October 3, 2018 13:30 — forked from pardeike/SimpleHarmonyTranspilerTutorial.md
Simple Harmony Transpiler Tutorial

About
A hopefully easy tutorial on how to make a Transpiler with Harmony
Based on patching a method in the game RimWorld

1) Decompilers: ILSpy or dnSpy

Get yourself the ILSpy that Zhentar has modified so it generates better code: https://github.com/Zhentar/ILSpy/releases (mad props to Zhentar!)

Another free alternative that is quite good and in active development is 0xd4d's dnSpy