Difference between revisions of "ACTU:GetCommonInfo"

From 3dbrew
Jump to navigation Jump to search
m
m (Add more docs for block IDs)
Line 58: Line 58:
 
|-
 
|-
 
| 0x4
 
| 0x4
| ?
+
| 0x8
 
| ?
 
| ?
 
|-
 
|-
Line 68: Line 68:
 
| 0x8
 
| 0x8
 
| CommonTransferableIdBase
 
| CommonTransferableIdBase
 +
|-
 +
| 0x29
 +
| 0x24
 +
| struct{char[0x21] DefaultNnasSubDomain?; char[0x3] DefaultNnasNfsEnv;}
 +
|-
 +
| 0x2A
 +
| 0x8
 +
| ?
 
|}
 
|}

Revision as of 21:14, 27 September 2023

Request

Index Word Description
0 Header code [0x00050082]
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 common account info from common.dat

DataBlocks

BlkID Size Description
0x1 0x1 Total number of accounts
0x2 0x1 Default account
0x3 0x1 Default account?
0x4 0x8 ?
0x5 ? ?
0x6 0x8 CommonTransferableIdBase
0x29 0x24 struct{char[0x21] DefaultNnasSubDomain?; char[0x3] DefaultNnasNfsEnv;}
0x2A 0x8 ?