- Extract the main NSO
- Convert it into an ELF (to strip header/hashes)
- Load it into Ida, find the function and patch the bytes back into the binary
- Convert the ELF back into NSO
- Use the nso as exefs patch or re-import it into the NCA/NSP
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
// ==UserScript== | |
// @name RealZoo QOL | |
// @namespace https://realzoo.itsyipy.com/ | |
// @version 1.3.2 | |
// @build-date 2023-1-27 23:32:12 | |
// @description Some quality of life hacks. | |
// @author Slluxx | |
// @match https://realzoo.itsyipy.com/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=itsyipy.com |
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
import os, json | |
async def generate(ctx, service_name): | |
if str(ctx.channel.id) != json.loads(open("config.json", "r").read())["gen_channel"]: | |
await ctx.respond(f"You can only gen in: <#{json.loads(open('config.json', 'r').read())['gen_channel']}>", ephemeral=True) | |
return | |
week_services = ["None"] | |
for service in week_services: | |