SceAppMgr

Load App by PATH for Kernel
Loads a SELF at a given path with optional arguments. Arguments is a null-separated string. Arguments are passed directly to the app as a list of strings. Special arguments are listed below.

sceAppMgrUmountForDriver
The following mount points can be derived from the code:
 * "photo0:" (0x64)
 * "music0:" (0x69)
 * "video0:" (0x6D)
 * addcont0:
 * addcont1:

Special App IDs
Some functions take an app id as argument. Here are some special ones.

_sceAppMgrWorkDirMount
Example from store_checkout_plugin.

This creates a mount point that can be used as a filesystem. The known working values for param1 are (0xC8 0xC9 0xCB 0xCC 0xCE).

Example from sqlite_vsh.

_sceAppMgrCheckRifGD
checks game data rif from \license\app\

_sceAppMgrConvertVs0UserDrivePath
Example from libssl.

Pass in a non-restricted vs0: path and an empty buffer and the buffer will be filled with the path of a temporary mount point.

_sceAppMgrGetStatusByName
Example from store_checkout_plugin.

_sceAppMgrGetDevInfo
Example from store_checkout_plugin.

_sceAppMgrGetParam
Example from webcore.

_sceAppMgrGetRawPath
Example from silk in 1.80

_sceAppMgrGetStatusByAppId
Example from store_checkout_plugin.

_sceAppMgrContentInstallPeriodStop
Example from store_checkout_plugin. Parameters are uncertain.

_sceAppMgrSendSystemEvent
Example from store_checkout_plugin.

_sceAppMgrContentInstallPeriodStart
Example from store_checkout_plugin. Parameters are uncertain.

_sceAppMgrGetBudgetInfo
Example from webcore

_sceAppMgrAppParamGetString
This is used to retrieve SFO information. The cmd probably corresponds to and index of SFO entries. See the examples for which entries they may be. Example from store_checkout_plugin.

On WebKit:

0xC - return current process application name.

0x8 - return "gda" on webkit

On PSM Dev

_sceAppMgrAppDataMount
Example from silk in 1.80

This is some kind of mount command. Use SceAppMgrUser_5E375921 to unmount this.

Known working ids:

_sceAppMgrUmount
Example from store_checkout_plugin.

This is the unmount command for the mount point created with SceAppMgrUser_9B3BB24D.

This unmount command is also called in pair with _sceAppMgrGameDataMount (454EB183) from SceShell.