Skip to content

Commit

Permalink
sce stubs: add more known symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
john-tornblom committed May 15, 2024
1 parent 450a4a7 commit 4f5e01f
Show file tree
Hide file tree
Showing 8 changed files with 396 additions and 0 deletions.
52 changes: 52 additions & 0 deletions sce_stubs/libSceAudioOut.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ asm(".global sceAudioDeviceControlSet\n"
".type sceAudioDeviceControlSet @function\n"
"sceAudioDeviceControlSet:\n");

asm(".global sceAudioOut2AllAudioMainToHeadphoneForDiag\n"
".type sceAudioOut2AllAudioMainToHeadphoneForDiag @function\n"
"sceAudioOut2AllAudioMainToHeadphoneForDiag:\n");

asm(".global sceAudioOut2ArbitrationInitialize\n"
".type sceAudioOut2ArbitrationInitialize @function\n"
"sceAudioOut2ArbitrationInitialize:\n");
Expand Down Expand Up @@ -171,6 +175,42 @@ asm(".global sceAudioOut2MbusInit\n"
".type sceAudioOut2MbusInit @function\n"
"sceAudioOut2MbusInit:\n");

asm(".global sceAudioOut2MbusSetCaesarParam\n"
".type sceAudioOut2MbusSetCaesarParam @function\n"
"sceAudioOut2MbusSetCaesarParam:\n");

asm(".global sceAudioOut2MbusSetConnections\n"
".type sceAudioOut2MbusSetConnections @function\n"
"sceAudioOut2MbusSetConnections:\n");

asm(".global sceAudioOut2MbusSetDeviceConnections\n"
".type sceAudioOut2MbusSetDeviceConnections @function\n"
"sceAudioOut2MbusSetDeviceConnections:\n");

asm(".global sceAudioOut2MbusSetHeadphoneOutMode\n"
".type sceAudioOut2MbusSetHeadphoneOutMode @function\n"
"sceAudioOut2MbusSetHeadphoneOutMode:\n");

asm(".global sceAudioOut2MbusSetMorpheusParam\n"
".type sceAudioOut2MbusSetMorpheusParam @function\n"
"sceAudioOut2MbusSetMorpheusParam:\n");

asm(".global sceAudioOut2MbusSetPortConnections\n"
".type sceAudioOut2MbusSetPortConnections @function\n"
"sceAudioOut2MbusSetPortConnections:\n");

asm(".global sceAudioOut2MbusSetPortStatuses\n"
".type sceAudioOut2MbusSetPortStatuses @function\n"
"sceAudioOut2MbusSetPortStatuses:\n");

asm(".global sceAudioOut2MbusSetSparkParam\n"
".type sceAudioOut2MbusSetSparkParam @function\n"
"sceAudioOut2MbusSetSparkParam:\n");

asm(".global sceAudioOut2MbusUserLoginFor3DAudio\n"
".type sceAudioOut2MbusUserLoginFor3DAudio @function\n"
"sceAudioOut2MbusUserLoginFor3DAudio:\n");

asm(".global sceAudioOut2PortCreate\n"
".type sceAudioOut2PortCreate @function\n"
"sceAudioOut2PortCreate:\n");
Expand Down Expand Up @@ -207,6 +247,10 @@ asm(".global sceAudioOut2ReportUnregisterHandler\n"
".type sceAudioOut2ReportUnregisterHandler @function\n"
"sceAudioOut2ReportUnregisterHandler:\n");

asm(".global sceAudioOut2SetDebugHeadphoneMode\n"
".type sceAudioOut2SetDebugHeadphoneMode @function\n"
"sceAudioOut2SetDebugHeadphoneMode:\n");

asm(".global sceAudioOut2SetSystemDebugState\n"
".type sceAudioOut2SetSystemDebugState @function\n"
"sceAudioOut2SetSystemDebugState:\n");
Expand Down Expand Up @@ -267,6 +311,10 @@ asm(".global sceAudioOutDeviceIdOpen\n"
".type sceAudioOutDeviceIdOpen @function\n"
"sceAudioOutDeviceIdOpen:\n");

asm(".global sceAudioOutEnable3DAudioByArbitration\n"
".type sceAudioOutEnable3DAudioByArbitration @function\n"
"sceAudioOutEnable3DAudioByArbitration:\n");

asm(".global sceAudioOutEnable3DAudioForUser\n"
".type sceAudioOutEnable3DAudioForUser @function\n"
"sceAudioOutEnable3DAudioForUser:\n");
Expand Down Expand Up @@ -415,6 +463,10 @@ asm(".global sceAudioOutSetCaesarVolume\n"
".type sceAudioOutSetCaesarVolume @function\n"
"sceAudioOutSetCaesarVolume:\n");

asm(".global sceAudioOutSetChatBalance\n"
".type sceAudioOutSetChatBalance @function\n"
"sceAudioOutSetChatBalance:\n");

asm(".global sceAudioOutSetHeadphoneOutMode\n"
".type sceAudioOutSetHeadphoneOutMode @function\n"
"sceAudioOutSetHeadphoneOutMode:\n");
Expand Down
4 changes: 4 additions & 0 deletions sce_stubs/libSceNet.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,10 @@ asm(".global sceNetDuplicateIpStop\n"
".type sceNetDuplicateIpStop @function\n"
"sceNetDuplicateIpStop:\n");

asm(".global sceNetEmulationDebugSettingsSet\n"
".type sceNetEmulationDebugSettingsSet @function\n"
"sceNetEmulationDebugSettingsSet:\n");

asm(".global sceNetEmulationGet\n"
".type sceNetEmulationGet @function\n"
"sceNetEmulationGet:\n");
Expand Down
52 changes: 52 additions & 0 deletions sce_stubs/libSceSystemService.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,10 @@ asm(".global sceShellCoreUtilExitApp\n"
".type sceShellCoreUtilExitApp @function\n"
"sceShellCoreUtilExitApp:\n");

asm(".global sceShellCoreUtilExitAppWithValue\n"
".type sceShellCoreUtilExitAppWithValue @function\n"
"sceShellCoreUtilExitAppWithValue:\n");

asm(".global sceShellCoreUtilExitMiniApp\n"
".type sceShellCoreUtilExitMiniApp @function\n"
"sceShellCoreUtilExitMiniApp:\n");
Expand Down Expand Up @@ -687,6 +691,10 @@ asm(".global sceShellCoreUtilGetNetEvConfigFileInfoString\n"
".type sceShellCoreUtilGetNetEvConfigFileInfoString @function\n"
"sceShellCoreUtilGetNetEvConfigFileInfoString:\n");

asm(".global sceShellCoreUtilGetNoticeScreenSkipFlagByAppId\n"
".type sceShellCoreUtilGetNoticeScreenSkipFlagByAppId @function\n"
"sceShellCoreUtilGetNoticeScreenSkipFlagByAppId:\n");

asm(".global sceShellCoreUtilGetOutOfVrPlayZoneWarning\n"
".type sceShellCoreUtilGetOutOfVrPlayZoneWarning @function\n"
"sceShellCoreUtilGetOutOfVrPlayZoneWarning:\n");
Expand All @@ -695,6 +703,10 @@ asm(".global sceShellCoreUtilGetPapcGamePcl\n"
".type sceShellCoreUtilGetPapcGamePcl @function\n"
"sceShellCoreUtilGetPapcGamePcl:\n");

asm(".global sceShellCoreUtilGetPasscodeInputType\n"
".type sceShellCoreUtilGetPasscodeInputType @function\n"
"sceShellCoreUtilGetPasscodeInputType:\n");

asm(".global sceShellCoreUtilGetPbtcUserInfoList\n"
".type sceShellCoreUtilGetPbtcUserInfoList @function\n"
"sceShellCoreUtilGetPbtcUserInfoList:\n");
Expand Down Expand Up @@ -867,6 +879,14 @@ asm(".global sceShellCoreUtilIsKilledOrSuspendedByLogout\n"
".type sceShellCoreUtilIsKilledOrSuspendedByLogout @function\n"
"sceShellCoreUtilIsKilledOrSuspendedByLogout:\n");

asm(".global sceShellCoreUtilIsLotusMicActivated\n"
".type sceShellCoreUtilIsLotusMicActivated @function\n"
"sceShellCoreUtilIsLotusMicActivated:\n");

asm(".global sceShellCoreUtilIsM2StorageTemperatureDanger\n"
".type sceShellCoreUtilIsM2StorageTemperatureDanger @function\n"
"sceShellCoreUtilIsM2StorageTemperatureDanger:\n");

asm(".global sceShellCoreUtilIsNeededCrashReport\n"
".type sceShellCoreUtilIsNeededCrashReport @function\n"
"sceShellCoreUtilIsNeededCrashReport:\n");
Expand Down Expand Up @@ -915,6 +935,10 @@ asm(".global sceShellCoreUtilMakeManifestFile\n"
".type sceShellCoreUtilMakeManifestFile @function\n"
"sceShellCoreUtilMakeManifestFile:\n");

asm(".global sceShellCoreUtilMicMuteKeyPressed\n"
".type sceShellCoreUtilMicMuteKeyPressed @function\n"
"sceShellCoreUtilMicMuteKeyPressed:\n");

asm(".global sceShellCoreUtilMountAppRight\n"
".type sceShellCoreUtilMountAppRight @function\n"
"sceShellCoreUtilMountAppRight:\n");
Expand Down Expand Up @@ -955,6 +979,10 @@ asm(".global sceShellCoreUtilNotifyBgmCoreTermination\n"
".type sceShellCoreUtilNotifyBgmCoreTermination @function\n"
"sceShellCoreUtilNotifyBgmCoreTermination:\n");

asm(".global sceShellCoreUtilNotifyConnectAccountStatusChanged\n"
".type sceShellCoreUtilNotifyConnectAccountStatusChanged @function\n"
"sceShellCoreUtilNotifyConnectAccountStatusChanged:\n");

asm(".global sceShellCoreUtilNotifyFsReadError\n"
".type sceShellCoreUtilNotifyFsReadError @function\n"
"sceShellCoreUtilNotifyFsReadError:\n");
Expand All @@ -967,6 +995,14 @@ asm(".global sceShellCoreUtilNotifyPsnAccountInfoReceived\n"
".type sceShellCoreUtilNotifyPsnAccountInfoReceived @function\n"
"sceShellCoreUtilNotifyPsnAccountInfoReceived:\n");

asm(".global sceShellCoreUtilNotifyStartEventToUniversalMicMute\n"
".type sceShellCoreUtilNotifyStartEventToUniversalMicMute @function\n"
"sceShellCoreUtilNotifyStartEventToUniversalMicMute:\n");

asm(".global sceShellCoreUtilNotifySystemResumeTelemetryInfo\n"
".type sceShellCoreUtilNotifySystemResumeTelemetryInfo @function\n"
"sceShellCoreUtilNotifySystemResumeTelemetryInfo:\n");

asm(".global sceShellCoreUtilNotifySystemSuspendTelemetryInfo\n"
".type sceShellCoreUtilNotifySystemSuspendTelemetryInfo @function\n"
"sceShellCoreUtilNotifySystemSuspendTelemetryInfo:\n");
Expand Down Expand Up @@ -1039,6 +1075,10 @@ asm(".global sceShellCoreUtilRequestShutdown\n"
".type sceShellCoreUtilRequestShutdown @function\n"
"sceShellCoreUtilRequestShutdown:\n");

asm(".global sceShellCoreUtilResetAllNoticeScreenSkipFlag\n"
".type sceShellCoreUtilResetAllNoticeScreenSkipFlag @function\n"
"sceShellCoreUtilResetAllNoticeScreenSkipFlag:\n");

asm(".global sceShellCoreUtilResetAutoPowerDownTimer\n"
".type sceShellCoreUtilResetAutoPowerDownTimer @function\n"
"sceShellCoreUtilResetAutoPowerDownTimer:\n");
Expand All @@ -1047,6 +1087,10 @@ asm(".global sceShellCoreUtilResetBgdcConfig\n"
".type sceShellCoreUtilResetBgdcConfig @function\n"
"sceShellCoreUtilResetBgdcConfig:\n");

asm(".global sceShellCoreUtilResetNoticeScreenSkipFlag\n"
".type sceShellCoreUtilResetNoticeScreenSkipFlag @function\n"
"sceShellCoreUtilResetNoticeScreenSkipFlag:\n");

asm(".global sceShellCoreUtilSetAppData\n"
".type sceShellCoreUtilSetAppData @function\n"
"sceShellCoreUtilSetAppData:\n");
Expand Down Expand Up @@ -1167,6 +1211,10 @@ asm(".global sceShellCoreUtilStopPsNowGame\n"
".type sceShellCoreUtilStopPsNowGame @function\n"
"sceShellCoreUtilStopPsNowGame:\n");

asm(".global sceShellCoreUtilSwitchMicMute\n"
".type sceShellCoreUtilSwitchMicMute @function\n"
"sceShellCoreUtilSwitchMicMute:\n");

asm(".global sceShellCoreUtilTalkKeyEventReceived\n"
".type sceShellCoreUtilTalkKeyEventReceived @function\n"
"sceShellCoreUtilTalkKeyEventReceived:\n");
Expand Down Expand Up @@ -1999,6 +2047,10 @@ asm(".global sceSystemStateMgrTickPartyChat\n"
".type sceSystemStateMgrTickPartyChat @function\n"
"sceSystemStateMgrTickPartyChat:\n");

asm(".global sceSystemStateMgrTickVideoPlayback\n"
".type sceSystemStateMgrTickVideoPlayback @function\n"
"sceSystemStateMgrTickVideoPlayback:\n");

asm(".global sceSystemStateMgrTurnOff\n"
".type sceSystemStateMgrTurnOff @function\n"
"sceSystemStateMgrTurnOff:\n");
Expand Down
Loading

0 comments on commit 4f5e01f

Please sign in to comment.