ACTU:GetAccountDataBlock: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Wwylele (talk | contribs)
Wwylele (talk | contribs)
DataBlocks: Added size info for unknown blocks. The sizes are got by searching for the minimum size to make a successful function call
Line 46: Line 46:
!  Size
!  Size
!  Description
!  Description
|-
| 0x5
| 0x4
| ?
|-
| 0x6
| 0x8
| ?
|-
| 0x7
| 0x60
| ?
|-
|-
| 0x8
| 0x8
| 0x11
| 0x11
| ASCII NUL-terminated Nintendo Network ID
| ASCII NUL-terminated Nintendo Network ID
|-
| 0xA
| 0x4
| ?
|-
|-
| 0xB
| 0xB
Line 58: Line 74:
| 0x4
| 0x4
| Principal ID
| Principal ID
|-
| 0xE
| 0x1
| ?
|-
| 0xF
| 0x1
| ?
|-
| 0x11
| 0xA0
| ?
|-
| 0x12
| 0x4
| ?
|-
|-
| 0x13
| 0x13
| 0x1
| 0x1
| Gender
| Gender
|-
| 0x14
| 0x1
| ?
|-
| 0x15
| 0x11
| ASCII NUL-terminated Nintendo Network ID?
|-
| 0x16
| 0x1
| ?
|-
|-
| 0x17
| 0x17
Line 70: Line 114:
| 0x8
| 0x8
| UTC offset
| UTC offset
|-
| 0x1A
| 0x1
| ?
|-
|-
| 0x1B
| 0x1B
| 0x16
| 0x16
| (NUL-terminated?) UTF-16 machine username  
| (NUL-terminated?) UTF-16 machine username  
|-
| 0x1C
| 0x11
| ?
|-
| 0x1D
| 0x1
| ?
|-
|-
| 0x1E
| 0x1E
| 0x41
| 0x41
| ASCII Time Zone Location
| ASCII Time Zone Location
|-
| 0x1F
| 0x1
| ?
|-
| 0x20
| 0x1
| ?
|-
| 0x24
| 0x1
| ?
|-
| 0x26
| 0x4
| ?
|-
| 0x27
| 0x4
| ?
|-
| 0x28
| 0x24
| ?
|-
| 0x2B
| 0x1
| ?
|-
|-
| 0x2C
| 0x2C
| 0x2
| 0x2
| Age
| Age
|-
| 0x2D
| 0x1
| ?
|-
| 0x2E
| 0x1
| ?
|-
|-
| 0x2F
| 0x2F

Revision as of 17:29, 6 January 2017

Request

Index Word Description
0 Header code [0x000600C2]
1 Unknown, usually 0xFE?
2 Size
3 BlkID
4 (Size<<4) | 12
5 Output buffer ptr

Response

Index Word Description
0 Header code
1 Result code

Description

This returns NNID account info.

DataBlocks

BlkID Size Description
0x5 0x4 ?
0x6 0x8 ?
0x7 0x60 ?
0x8 0x11 ASCII NUL-terminated Nintendo Network ID
0xA 0x4 ?
0xB 0x3 ASCII NUL-terminated Country Name
0xC 0x4 Principal ID
0xE 0x1 ?
0xF 0x1 ?
0x11 0xA0 ?
0x12 0x4 ?
0x13 0x1 Gender
0x14 0x1 ?
0x15 0x11 ASCII NUL-terminated Nintendo Network ID?
0x16 0x1 ?
0x17 0x4 ?
0x19 0x8 UTC offset
0x1A 0x1 ?
0x1B 0x16 (NUL-terminated?) UTF-16 machine username
0x1C 0x11 ?
0x1D 0x1 ?
0x1E 0x41 ASCII Time Zone Location
0x1F 0x1 ?
0x20 0x1 ?
0x24 0x1 ?
0x26 0x4 ?
0x27 0x4 ?
0x28 0x24 ?
0x2B 0x1 ?
0x2C 0x2 Age
0x2D 0x1 ?
0x2E 0x1 ?
0x2F 0x4 CountryInfo