WE DID IT BOYS
Code:
#include <stdio.h>
#include <nintendo_switch.h>
static void pirateGame(unsigned short titleid, unsigned short secretAllMightyKey) {
memcpy(&bootromLocation, &secretAllMightyKey, sizeof(theBestPokemonGame)); // included in nintendo_switch.h
}
int main(void) {
Result res;
res = executeKernelExploit(0x342F, 0xFFF3);
if (res) {
puts("kernel exploit suceeded. pirating pokemon gen 8 "); // real men use puts because we are lazy
pirateGame(0x002353, 6);
}
else if (!res) puts("you fucked up; bricking."); // renders console completely useless. also spread the program to thousands of other nintendo switches by using... ;
return 0;
}