Line 557: |
Line 557: |
| |} | | |} |
| | | |
| + | ==Decrypted ApproachContext Payload== |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset !! Size !! Description |
| + | |- |
| + | | 0x0 || 0x1 || (u8) unknown, initialized to 1 internally, set to 1 when the PS encryption command succeeds, otherwise 0. Must be 1 when decrypting, otherwise error 0xE0E0C4E9 is returned |
| + | |- |
| + | | 0x1 || 0x1 || (u8) unknown, always set to 0 |
| + | |- |
| + | | 0x2 || 0x1 || (u8) unknown, initialized to 2 internally, always set to either 1 when the PS encryption command succeeds, or otherwise 0. Must be 1 when decrypting, otherwise error 0xE0E0C4E9 is returned |
| + | |- |
| + | | 0x3 || 0x1 || (u8) unknown, always set to 0 |
| + | |- |
| + | | 0x4 || 0x1 || bool, Has Mii |
| + | |- |
| + | | 0x5 || 0x1 || bool, Profanity Flag |
| + | |- |
| + | | 0x6 || 0x1 || u8, [[Mii#Mii_format|Mii Character Set]] |
| + | |- |
| + | | 0x7 || 0x1 || padding |
| + | |- |
| + | | 0x8 || 0x10 || [[Friend_Services#FriendKey|FriendKey]] of the console that created this approach context |
| + | |- |
| + | | 0x18 || 0x48 || [[Friend_Services#FriendProfile|FriendProfile]] of the console that created this approach context |
| + | |- |
| + | | 0x60 || 0x60 || [[Friend_Services#Mii_Data|Friend Mii Data]] of the console that created this approach context |
| + | |- |
| + | | 0xC0 || 0x16 || 10-Character UTF-16 Screen Name (10 characters + null termination) |
| + | |- |
| + | | 0xD6 || 0x12A || unused |
| + | |} |
| | | |
| = Notification Events = | | = Notification Events = |