Difference between revisions of "FRDU:GetMyPassword"

From 3dbrew
Jump to navigation Jump to search
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x0010|1|0}}
!  Index Word
+
{{IPC/RequestEntry|bufsize (maximum 0x800)}}
!  Description
+
{{IPC/RequestEnd}}
|-
 
| 0
 
| Header code [0x00100040]
 
|-
 
| 1
 
| Buffer length (maximum 0x800)
 
|}
 
  
The following is located 0x100-bytes after the beginning of the above command buffer:
+
=Request Static Buffers=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/TranslateStaticBuffer|Output buffer|0}}
!  Description
+
{{IPC/RequestEnd}}
|-
 
| 0
 
| (bufferLength << 14) <nowiki>|</nowiki> 2
 
|-
 
| 1
 
| char* buffer
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestHeader|0x0010|1|2}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/TranslateStaticBuffer|Output buffer|0}}
| 0
+
{{IPC/RequestEnd}}
| Header code
 
|-
 
| 1
 
| Result code
 
|}
 
  
 
=Description=
 
=Description=
Returns the NEX password from the friends sysmodule's save data.
+
Returns the NEX password used for signing into the friend server from the friends sysmodule's save data.

Revision as of 18:45, 12 December 2024

Request

Index Word Description
0
Header 0x00100040 Cmd 0x0010 Param 1 Xlat 0
1 bufsize (maximum 0x800)

Request Static Buffers

Index Word Description
0 Descriptor for static buffer (id 0)
1 Output buffer

Response

Index Word Description
0
Header 0x00100042 Cmd 0x0010 Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Output buffer

Description

Returns the NEX password used for signing into the friend server from the friends sysmodule's save data.