Difference between revisions of "FRDU:UnscrambleLocalFriendCode"

From 3dbrew
Jump to navigation Jump to search
 
Line 3: Line 3:
 
{{IPC/RequestHeader|0x001C|1|2}}
 
{{IPC/RequestHeader|0x001C|1|2}}
 
{{IPC/RequestEntry|Count}}
 
{{IPC/RequestEntry|Count}}
{{IPC/TranslateStaticBuffer|Input scrambled friend codes buffer (12 bytes each)|0}}
+
{{IPC/TranslateStaticBuffer|Input scrambled friend codes buffer (12 bytes each)|1}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  

Latest revision as of 23:09, 16 December 2024

Request[edit]

Index Word Description
0
Header 0x001C0042 Cmd 0x001C Param 1 Xlat 2
1 Count
2 Descriptor for static buffer (id 1)
3 Input scrambled friend codes buffer (12 bytes each)

Request Static Buffers[edit]

Index Word Description
0 Descriptor for static buffer (id 0)
1 Output friend code buffer (u64)

Response[edit]

Index Word Description
0
Header 0x001C0042 Cmd 0x001C Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Output friend code buffer (u64)

Description[edit]

This unscrambles one or more scrambled friend codes. Scrambled friend codes seem to be generally be retrieved from NWMUDS command GetNodeInformation.