Line 33:
Line 33:
==Post-9.3.0-21==
==Post-9.3.0-21==
Commands for post-9.3.0-21 have been extracted by analyzing the amiibo Settings applet. Therefore this table may be missing commands.
Commands for post-9.3.0-21 have been extracted by analyzing the amiibo Settings applet. Therefore this table may be missing commands.
+
+
Command header is stored at TLS+0x80. Input and output parameters, if any, are set at TLS+0x84 onwards. If the command specifies has a parameter named "pid", this value has to be set to 0x20, as the kernel will replace this magic value with the process' real PID.
+
+
Note that the function name is actually a nickname for easeness of reading, as original function names have been stripped off the binaries.
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 69:
Line 73:
| u32 pid
| u32 pid
| s32 result
| s32 result
−
| "pid" must be set to 0x20
+
|
|-
|-
| 0x000A0000
| 0x000A0000
Line 81:
Line 85:
| void
| void
| u32 result, u32 unknownA
| u32 result, u32 unknownA
+
|
+
|-
+
| 0x00100000
+
| ???
+
| void
+
| s32 result, u8 unknownA[0x60]
|
|
|-
|-
Line 99:
Line 109:
| u32 unknownA
| u32 unknownA
| s32 result
| s32 result
+
|
+
|-
+
| 0x00170000
+
| ???
+
| void
+
| s32 result, u8 unknownA[0xA8]
|
|
|-
|-