Skip to content

Instantly share code, notes, and snippets.

View Foreign.txt
[001] - Bulbasaur
[002] - Ivysaur
[003] - Venusaur
[007] - Squirtle
[008] - Wartortle
[009] - Blastoise
[027] - Sandshrew
[028] - Sandslash
[039] - Jigglypuff
[040] - Wigglytuff
View Dexit.txt
[013] - Weedle
[014] - Kakuna
[015] - Beedrill
[016] - Pidgey
[017] - Pidgeotto
[018] - Pidgeot
[019] - Rattata
[020] - Raticate
[021] - Spearow
[022] - Fearow
View Pokemon - Sword 1.2.0.txt
This file has been truncated, but you can view the full file.
======
001 - Bulbasaur (Stage: 1)
======
Galar Dex: Foreign
Base Stats: 45.49.49.65.65.45 (BST: 318)
EV Yield: 0.0.0.1.0.0
Gender Ratio: 31
Catch Rate: 45
Abilities: Overgrow (1) | Overgrow (2) | Chlorophyll (H)
View tz_10.0.0_mariko.idc
//
// +-------------------------------------------------------------------------+
// | This file was generated by The Interactive Disassembler (IDA) |
// | Copyright (c) 2020 Hex-Rays, <support@hex-rays.com> |
// +-------------------------------------------------------------------------+
//
//
// This file should be used in the following way:
// - reload executable into IDA with using switch -c
// - use File, Load IDC file and load this file.
View KNX_10.0.0.idc
This file has been truncated, but you can view the full file.
//
// +-------------------------------------------------------------------------+
// | This file was generated by The Interactive Disassembler (IDA) |
// | Copyright (c) 2019 Hex-Rays, <support@hex-rays.com> |
// +-------------------------------------------------------------------------+
//
//
// This file should be used in the following way:
// - reload executable into IDA with using switch -c
View kernel_vtables_helper.py
from idautils import *
from idaapi import *
from ida_name import *
from idc import *
from ida_hexrays import *
from ida_frame import *
from ida_struct import *
INHERITANCE = {
# Auto Object base classes.
View tz_10.0.0.idc
#define UNLOADED_FILE 1
#include <idc.idc>
static main(void)
{
// set 'loading idc file' mode
set_inf_attr(INF_GENFLAGS, INFFL_LOADIDC|get_inf_attr(INF_GENFLAGS));
GenInfo(); // various settings
Segments(); // segmentation
Enums(); // enumerations
View memecrypto_homecoming.py
from Crypto.Cipher import AES
import json, string, zlib, hashlib
# NOTE: You must set these as global variables ahead of time.
# TODO: Accept as parameters to API, have a stateful class or something
server_secret = ''
client_secret = ''
# Usage notes:
# Initially, communications only have request crypto, and payloads are plaintext gzip
View pml_sword_to_home.diff
pml::pokepara::Accessor function notes, Sword 1.1.0 -> HOME 1.0.0
Added functions in HOME 1.0.0:
void pml::pokepara::Accessor::SetBlockD_3D(uint64_t value) // Sets unknown 64-bit identifier
uint64_t pml::pokepara::Accessor::GetBlockD_3D() const // Gets unknown 64-bit identifier
void pml::pokepara::Accessor::SetHtID(uint16_t id) // Sets the handler trainer ID
void pml::pokepara::Accessor::SetRibbonValues(uint32_t a, uint32_t b) // Sets ribbon A and ribbon B directly
void pml::pokepara::Accessor::SetLumpRibbon(uint32_t which, uint32_t val) // Sets either lump A or lump B to val
uint8_t pml::pokepara::Accessor::GetBlockIndex(uint32_t encryption_constant, uint32_t which) const // Gets the index of a shuffled block, used to access older pml library blocks
@SciresM
SciresM / kernel_svc_tables.py
Last active Jan 18, 2020
Script for automatically identifying + labeling the Nintendo Switch SVC tables.
View kernel_svc_tables.py
from idautils import *
from idaapi import *
from idc import *
from ida_hexrays import *
from ida_bytes import *
from ida_funcs import *
SVC_MAPPINGS = {
0x01 : ("SetHeapSize", "Result %s(uintptr_t *out_address, size_t size);"),
0x02 : ("SetMemoryPermission", "Result %s(uintptr_t address, size_t size, MemoryPermission perm);"),
You can’t perform that action at this time.