Skip to content

Instantly share code, notes, and snippets.

View pedro-javierf's full-sized avatar
🪐

Pedro Javier pedro-javierf

🪐
View GitHub Profile
###########################################################
# TX SX OS MIPS VM disassembler - by hexkyz and naehrwert #
###########################################################
import os
import re
import struct
host_calls_0 = {
0x8E943DA2 : "host_crc32 (ptr r4r5, len r6)",
@LiquidFenrir
LiquidFenrir / gist:d110f3e7755ffbe82672eda49ae21af2
Last active February 21, 2023 22:06
gdb 101 for 3ds, credits to Stary
1. enable debugger in rosalina menu
go to process list
select a process
2. launch arm-none-eabi-gdb <path to elf>
command "target remote ip:port"
3. command "continue" or "c" to resume execution
4.
/*
The Sims 3 save game checksum fix
*/
#include <stdio.h>
#include <stdlib.h>
// the sims 3 code: sub_20935D0
unsigned int checksum(unsigned char *savegame, size_t size)