This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# a massive kludge by Ninji | |
# extracts the encrypted NRO from Mario Golf: Super Rush | |
# | |
# requires Python 3 and the lz4 and unicorn modules | |
import struct | |
import lz4.block | |
from unicorn import * | |
from unicorn.arm64_const import * |