ACTU:GetTransferableId: Difference between revisions
Jump to navigation
Jump to search
TimmSkiller (talk | contribs) Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0011|2|0}} {{IPC/RequestEntry|u8, salt value(?)}} {{IPC/RequestEntry|u8, Account slot}} {{IPC/RequestEnd}} =Response= {{IPC/Re..." |
(No difference)
|
Latest revision as of 14:22, 20 January 2025
Request
| Index Word | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0 |
| ||||||||
| 1 | u8, salt value(?) | ||||||||
| 2 | u8, Account slot |
Response
| Index Word | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0 |
| ||||||||
| 1 | Result code | ||||||||
| 2-3 | TransferableID |
Description
Returns a TransferableID for the given account and salt(?) value. The output value is based on the TransferableIDBase of the specified account (see DataBlock 0x6). Internally, a complicated XOR and shifting algorithm is used to scramble bits and generate the output value.
The TransferableIDBase used depends on the input account slot:
| Input Account slot | Used TransferableIDBase |
|---|---|
| -1 (0xFF) | Uses a common TransferableIDBase. |
| -2 (0xFE) | Uses the TransferableIDBase of the currently loaded account. |
| values 1-8 | Uses the TransferableIDBase of the specified account slot. |