daily pastebin goal
75%
SHARE
TWEET

launchFlog.js

rajkosto Jun 6th, 2018 (edited) 231 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sc.getServices(["pm:shell"], function (pms) {
  2.     var launch_flags = 0;
  3.     var tid  = [0x0013C000, 0x01008BB0];    /* TID of FLOG */
  4.     var storageId = 3;                      /* NAND (location of FLOG) */
  5.  
  6.     //nn::pm::detail::IShellInterface::LaunchProcess(u64 launch_flags, u64 titleId, StorageId storageId) => u64 titlePID
  7.     var res = sc.ipcMsg(0).data(launch_flags, tid, storageId).sendTo(pms).assertOk();
  8.     //var pid = res.data[0];
  9. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top