CfgI:SetGetLocalFriendCodeSeedData

From 3dbrew
Revision as of 18:28, 3 August 2014 by Yellows8 (talk | contribs) (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> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.