FS:GetThisSaveDataSecureValue

From 3dbrew
Revision as of 13:16, 1 July 2025 by TimmSkiller (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0
Header 0x86F0040 Cmd 0x86F Param 1 Xlat 0
1 u32, Secure Value Slot

Response

Index Word Description
0
Header 0x86F0140 Cmd 0x86F Param 5 Xlat 0
1 Result code
2 bool, whether or not the secure value was found
3 bool, whether or not the title is from a gamecart (regardless of whether or not the secure value was found)
4-5 u64, Secure value

Description

Gets the secure value of the title corresponding to the current session.

If the caller process is on a game card, the secure value is read from the DISA save image's header. Otherwise, the secure value is read from the Anti Savegame Restore save data.