Difference between revisions of "CfgI:SetGetLocalFriendCodeSeedData"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x080B0082] |- | 1 | Size |- | 2 | u8 flag |- | 3 | (Size<<4) <nowiki>|</nowiki> ...")
 
(No difference)

Latest revision as of 19:28, 3 August 2014

Request[edit]

Index Word Description
0 Header code [0x080B0082]
1 Size
2 u8 flag
3 (Size<<4) | 12
4 Output data pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

The input size should be 0x10-bytes, this is not checked by Cfg module. When the input flag is non-zero, this uses PS:GetLocalFriendCodeSeed. The output data is written to LocalFriendCodeSeed+0x108(in memory), and the 8-bytes at +0x100 are cleared.

The 0x10-bytes at LocalFriendCodeSeed+0x100 are then copied to the output buffer.