SPL services: Difference between revisions

From Nintendo Switch Brew
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:


== ScrambleKeyA ==
== ScrambleKeyA ==
Takes 16-bytes as input. Outputs random-looking 16-bytes.
Takes 16-bytes as input and two u32s. Outputs random-looking 16-bytes.


Same input gives same output. Console unique.
Same input gives same output. Console unique.

Revision as of 04:22, 27 June 2017

spl:

Cmd Name Notes
0 Takes input word, and returns u64.
1 Unknown marshalling.
2 #ScrambleKeyA
3 Always returns 0x2D1A?
4 #ScrambleKeyB
5 Always returns 0x41A?
11 #GetDevunitFlag

ScrambleKeyA

Takes 16-bytes as input and two u32s. Outputs random-looking 16-bytes.

Same input gives same output. Console unique.

ScrambleKeyB

Behaves similar to #ScrambleKeyA, but with different output.

Also console unique. This is not the inverse operation of #ScrambleKeyA.

GetDevunitFlag

No input params.

Returns an u8 flag for whether the system is devunit it seems.