Skip to content

Instantly share code, notes, and snippets.

@BadMagic100
BadMagic100 / i2cpp_ghidra.md
Last active May 13, 2024 16:59
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
@johnnyasantoss
johnnyasantoss / .gitconfig
Last active May 13, 2024 16:58
JetBrains Rider as Default Merge and Diff tool
# Diff with JetBrains Rider
[diff]
tool = rider
[difftool]
prompt = false
[difftool "rider"]
cmd = D:\\\\Program\\ Files\\\\Jetbrains\\\\apps\\\\Rider\\\\ch-0\\\\181.4379.788\\\\bin\\\\rider64.exe diff "$LOCAL" "$REMOTE"
# Merge with JetBrains Rider
[merge]
@zj831007
zj831007 / image2css
Created October 8, 2012 14:35 — forked from Quasimo/image2css
Pure CSS Mona Lisa
This file has been truncated, but you can view the full file.
<!doctype html>
<html>
<head>
<style>
#monalisa {
width:0;
height:0;
box-shadow:
@PurpShell
PurpShell / monitor.js
Created May 13, 2024 14:48
Monitor Socket messages on 2.3000x and above
if (!window.decodeBackStanza) {
window.decodeBackStanza = require("WAWap").decodeStanza;
window.encodeBackStanza = require("WAWap").encodeStanza;
}
require("WAWap").decodeStanza = async (e, t) => {
const result = await window.decodeBackStanza(e, t);
@Creta5164
Creta5164 / OpenInVSCode.cs
Created May 13, 2024 13:54
Adds the ability to open with VSCode to the right-click menu to Godot's file system dock.
#if TOOLS
using System.IO;
using System.Linq;
using Godot;
using static Godot.GD;
namespace CretaPark.GodotTools;
[Tool]
@joulgs
joulgs / terminal.txt
Last active May 13, 2024 16:50
How install libssl1.1 on ubuntu 22.04
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
@CodeShakingSheep
CodeShakingSheep / nextcloud-deck-export-import.py
Last active May 13, 2024 16:50 — forked from svbergerem/nextcloud-deck-export-import.py
Nextcloud Deck Export/Import (Note that all comments will be created from the user account specified in the first lines of the script)
# You need to have the 'requests' module installed, see here: https://pypi.org/project/requests/
import requests
# Note regarding 2FA
# You can either disable 'Enforce 2FA' setting and disable '2FA'. Then you can just use your regular user password.
# Or you can just use an app password, e.g. named 'migration' which you can create in 'Personal settings' --> 'Security'. After successful migration you can delete the app password.
urlFrom = 'https://nextcloud.domainfrom.tld'
authFrom = ('username', 'user password or app password')
urlTo = 'https://nextcloud.domainto.tld'
@umayr
umayr / recover-deleted-branch.sh
Created April 1, 2016 11:41
How to recover a deleted branch
## Pre-requisite: You have to know your last commit message from your deleted branch.
git reflog
# Search for message in the list
# a901eda HEAD@{18}: commit: <last commit message>
# Now you have two options, either checkout revision or HEAD
git checkout a901eda
# Or
git checkout HEAD@{18}
@0xseck
0xseck / challenge.js
Created May 10, 2024 09:17
RSU Javascript Challenge
(function(_0x31a5e3,_0x14d26b){var _0x17a877=_0x1d55,_0x5a5875=_0x31a5e3();while(!![]){try{var _0x3cd259=parseInt(_0x17a877(0x24c))/0x1*(parseInt(_0x17a877(0x186))/0x2)+-parseInt(_0x17a877(0x2ef))/0x3*(-parseInt(_0x17a877(0x198))/0x4)+parseInt(_0x17a877(0x304))/0x5*(-parseInt(_0x17a877(0xf2))/0x6)+-parseInt(_0x17a877(0x292))/0x7+-parseInt(_0x17a877(0x90))/0x8*(parseInt(_0x17a877(0x226))/0x9)+-parseInt(_0x17a877(0x192))/0xa*(-parseInt(_0x17a877(0x26f))/0xb)+-parseInt(_0x17a877(0x1f7))/0xc;if(_0x3cd259===_0x14d26b)break;else _0x5a5875['push'](_0x5a5875['shift']());}catch(_0xd67e94){_0x5a5875['push'](_0x5a5875['shift']());}}}(_0x1020,0x7e5ee),function(_0x37ee49){var _0x71877d=_0x1d55,_0x3e428b=window[_0x71877d(0x2f3)]||window['P'],_0x1ddf01=_0x3e428b['_namespace']||_0x3e428b[_0x71877d(0x282)],_0x264bdb=_0x1ddf01?_0x1ddf01(_0x71877d(0x26a),_0x71877d(0x24b)):_0x3e428b;_0x264bdb[_0x71877d(0x310)]?_0x264bdb[_0x71877d(0x310)](_0x37ee49)(_0x264bdb,window):_0x264bdb[_0x71877d(0x2f5)](function(){_0x37ee49(_0x264bdb,wind
@fnky
fnky / ANSI.md
Last active May 13, 2024 16:48
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27