ACTA:GetSupportContext: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
TimmSkiller (talk | contribs)
Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x040B|1|0}} {{IPC/RequestEntry|u8, Account slot}} {{IPC/RequestEnd}} =Response= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{I..."
 
TimmSkiller (talk | contribs)
No edit summary
 
Line 14: Line 14:


=Description=
=Description=
Creates a structure used in the Nintendo Network ID Settings application to contact support.
Creates a structure used in the Nintendo Network ID Settings application to contact support. The account slot must be 0xFE. Therefore, it is only possible to create a support context for the currently loaded account.


=SupportContext=
=SupportContext=

Latest revision as of 20:40, 23 January 2025

Request

Index Word Description
0
Header 0x040B0040 Cmd 0x040B Param 1 Xlat 0
1 u8, Account slot

Response

Index Word Description
0
Header 0x04090240 Cmd 0x0409 Param 9 Xlat 0
1 Result code
2-9 Support Context

Description

Creates a structure used in the Nintendo Network ID Settings application to contact support. The account slot must be 0xFE. Therefore, it is only possible to create a support context for the currently loaded account.

SupportContext

Offset Size Description
0x0 0x10 + 1 ASCII NULL-terminated AccountId (Nintendo Network ID username) (max. 16 characters + NULL termination)
0x11 0x3 padding
0x14 0x4 u32, SerialNumber (only the digits)
0x18 0x4 u32, PrincipalId
0x1C 0x2 u16, RandomNumber (based on PrincipalId and SerialNumber)
0x1E 0x2 padding