SceSblACMgr

PathId
A code is passed in the header context to decrypt a SELF based on the path in which the SELF file must be located. This is likely a security feature to prevent SELFs that are designed to run from one path (for example ) from being copied and run from another path. It could also be used to select the key used in decryption.

unk_02422F1F
return sceSblACMgrHasCapabilityForDriver(pid, 129);

unk_04C0ED3F
return sceSblACMgrHasCapabilityForDriver(pid, 128);

sceSblACMgrIsGameProgramForKernel
Calls sceSblACMgrGetSelfAuthInfoForDriver to get self_auth_info.

Returns true if self_auth_info->program_authority_id begins with 0x21 (NPDRM game) or 0x2F (SDK fSELF).

unk_0E489631
return sceSblACMgrHasCapabilityForDriver(pid, 32);

unk_1948E9DB
returns 0

unk_30575458
returns true if sceSblACMgrHasCapabilityForDriver(pid, 34) returns true (--> XX XX XX XX 2X),

or returns SceSysrootForDriver_26AA237C(void); if sceSblACMgrIsFselfForDriver returns true.

sceSblACMgrIsSystemForKernel
return sceSblACMgrHasCapabilityForDriver(pid, 0);

sceSblACMgrIsNonGameProgramForKernel
return sceSblACMgrHasCapabilityForDriver(pid, 3);

sceSblACMgrIsFselfForKernel
Calls sceSblACMgrGetSelfAuthInfoForDriver to get self_auth_info.

Returns true if self_auth_info->program_authority_id begins with 0x2F (SDK fSELF).

sceSblACMgrGetSelfAuthInfoForKernel
Wrapper to sceSysrootGetSelfInfoForKernel.

sceSblACMgrIsShellForKernel
return sceSblACMgrHasCapabilityForDriver(pid, 1);

unk_FBA1A256
returns 0

sceSblACMgrIsSystemForDriver
return sceSblACMgrHasCapabilityForDriver(pid, 0);

sceSblACMgrIsGameProgramForDriver
Calls sceSblACMgrGetSelfAuthInfoForDriver to get self_auth_info. Returns true if self_auth_info->program_authority_id begins with 0x21 (NPDRM game) or 0x2F (SDK fSELF).

sceSblACMgrIsFselfForDriver
Calls sceSblACMgrGetSelfAuthInfoForDriver to get self_auth_info.

Returns true if self_auth_info->program_authority_id begins with 0x2F (SDK fSELF).

unk_5F9AF49C
Checks if program_authority_id begins with 0x21 (NPDRM game) or with 0x2F (SDK fSELF) and does different things accordingly.

Calls sceKernelCheckDipswForDriver(159, a2, a3, a4) and does different things according to the result.

sceSblACMgrIsNonGameProgramForDriver
return sceSblACMgrHasCapabilityForDriver(pid, 3);

sceSblACMgrIsShellForDriver
return sceSblACMgrHasCapabilityForDriver(pid, 1);

sceSblACMgrGetSelfAuthInfoForDriver
Wrapper to sceSysrootGetSelfInfoForKernel.

unk_A27E47A7
return sceSblACMgrHasCapabilityForDriver(pid, 129);

unk_F5AE24AC
return sceSblACMgrHasCapabilityForDriver(pid, 128);

sceSblACMgrIsPspEmuForDriver
Calls sceSblACMgrGetSelfAuthInfoForDriver to get self_auth_info.

Returns true if self_auth_info->program_authority_id equals 0x2800000000000013 (NPXS10029) or 0x2800000000007009 (NPXS10069 - testkit/old PSPemu).