FRDU:DecryptApproachContext

From 3dbrew
Revision as of 23:00, 16 December 2024 by TimmSkiller (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0035|2|2}} {{IPC/RequestEntry|bool, mask non-ASCII characters}} {{IPC/RequestEntry|u8, The caller's Mii Mii#Mii_format|Mii ch...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x00350082 Cmd 0x0035 Param 2 Xlat 2
1 bool, mask non-ASCII characters
2 u8, The caller's Mii Mii character set
3 Descriptor for static buffer (id 3)
4 Input encrypted ApproachContext payload buffer

Request Static Buffers[edit]

The handler for this IPC command expects the following 0x100-bytes after the beginning of the above command buffer:

Index Word Description


0 Descriptor for static buffer (id 0)
1 Output decrypted ApproachContext payload buffer

Response[edit]

Index Word Description
0
Header 0x00350042 Cmd 0x0035 Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Output decrypted ApproachContext payload buffer

Description[edit]

Completely decrypts the given encrypted ApproachContext payload into a decrypted (and slightly different) form. See FRDU:GetMyApproachContext for details about the encryption.