NFC:GetRegisterInfo: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
m Steveice10 moved page NFC:GetAmiiboSettings to NFC:GetRegisterInfo
 
(8 intermediate revisions by 2 users not shown)
Line 22: Line 22:
|-
|-
| 2-43
| 2-43
| 0xA8-byte Amiibo settings.
| [[NFC_Services#RegisterInfo|RegisterInfo]]
|}
|}


=Amiibo Settings Structure=
=Description=
{| class="wikitable" border="1"
This returns the NFC Amiibo registration info, from data already stored in memory.
|-
!  Offset
!  Size
!  Description
|-
| 0x0
| 0x60
| Owner Mii.
|-
| 0x60
| 0x14(10*2)
| UTF-16BE Amiibo nickname.
|-
| 0x74
| 0x2
| Always zero.
|-
| 0x76
| 0x1
| This is [[Amiibo|plaintext_amiibosettingsdata]][0] & 0xF.
|-
| 0x77
| 0x1
| This is [[Amiibo|plaintext_amiibosettingsdata]][1] & 0xF.
|-
| 0x78
| 0x30
| ?
|}
 
This data originates from the [[Amiibo]] settings data stored under the encrypted NFC data.


=Description=
When [[Amiibo|plaintext_amiibosettingsdata]][0] bit4 is clear, this will just return an all-zero output structure with result-code=0xC8A17628.
This returns the NFC Amiibo settings.

Latest revision as of 07:55, 8 March 2023

Request

Index Word Description
0 Header code [Starting with 9.3.0-X: 0x00170000]

Response

Index Word Description
0 Header code
1 Result code
2-43 RegisterInfo

Description

This returns the NFC Amiibo registration info, from data already stored in memory.

When plaintext_amiibosettingsdata[0] bit4 is clear, this will just return an all-zero output structure with result-code=0xC8A17628.