FRDU:UnscrambleLocalFriendCode

FRDU:UnscrambleLocalFriendCode

Request #

Index WordDescription
0Header code [0x001C0042]
1Friend code count
2((count * 12) << 14) | 0x402
3Pointer to encoded friend codes. Each is 12 bytes large.

The following is located 0x100-bytes after the beginning of the above command buffer:

Index WordDescription
0((count * 8) << 14) | 2
1Pointer to write decoded local friend codes to. Each is 8 bytes large.

Response #

Index WordDescription
0Header code
1Result code

Description #

This decodes one or more encoded friend codes into local friend codes for use with some friend-related commands. Encoded friend codes seem to generally be retrieved from NWMUDS command GetNodeInformation.