FRDU:UnscrambleLocalFriendCode

From 3dbrew
(Redirected from FRDU:DecodeLocalFriendCode)
Jump to navigation Jump to search

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.