From 5a717d32a3822bda19ef89b929d6922cbcdf90eb Mon Sep 17 00:00:00 2001 From: Celegans12 <53881228+Celegans12@users.noreply.github.com> Date: Fri, 30 Oct 2026 15:45:24 +0100 Subject: [PATCH] feat(custommusicsyscallwrapper): add named inventory exports Declare five named CustomMusic system-call wrapper exports from the firmware 13.60 inventory. Recompute each name's NID and retain the existing physical provider and reachable canonical public header. The signatures and behavior remain unknown. Each parameterless int entry immediately throws; record those limitations in library debt. Keep the 101 exports reserved by the existing provider PR separate. AI-assisted: yes --- .../Export.cpp | 20 +++++++++++++++++++ .../include/Api.hpp | 5 +++++ .../debt/libSceCustomMusicSysCallWrapper.md | 6 ++++++ 3 files changed, 31 insertions(+) diff --git a/core/libs/prx/libSceCustomMusicSysCallWrapper/Export.cpp b/core/libs/prx/libSceCustomMusicSysCallWrapper/Export.cpp index e64d1e4444..67d6e09947 100644 --- a/core/libs/prx/libSceCustomMusicSysCallWrapper/Export.cpp +++ b/core/libs/prx/libSceCustomMusicSysCallWrapper/Export.cpp @@ -6,6 +6,26 @@ extern "C" { +int APS5_VABI sceCustomMusicNetInetNtop() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceCustomMusicNetShutdown() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceCustomMusicNetSocketAbort() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceCustomMusicPthreadAttrGet() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceCustomMusicPthreadSelf() { + NotImplemented_nid_no_patch(__func__); +} + int APS5_VABI sceCustomMusicSelect() { NotImplemented_nid_no_patch(__func__); return 0; diff --git a/core/libs/prx/libSceCustomMusicSysCallWrapper/include/Api.hpp b/core/libs/prx/libSceCustomMusicSysCallWrapper/include/Api.hpp index 63ad57d532..c6ace1453b 100644 --- a/core/libs/prx/libSceCustomMusicSysCallWrapper/include/Api.hpp +++ b/core/libs/prx/libSceCustomMusicSysCallWrapper/include/Api.hpp @@ -4,6 +4,11 @@ extern "C" { +int APS5_VABI sceCustomMusicNetInetNtop(); +int APS5_VABI sceCustomMusicNetShutdown(); +int APS5_VABI sceCustomMusicNetSocketAbort(); +int APS5_VABI sceCustomMusicPthreadAttrGet(); +int APS5_VABI sceCustomMusicPthreadSelf(); int APS5_VABI sceCustomMusicSelect(); } diff --git a/docs/dev/debt/libSceCustomMusicSysCallWrapper.md b/docs/dev/debt/libSceCustomMusicSysCallWrapper.md index ac623f08e0..f11ac0c4b4 100644 --- a/docs/dev/debt/libSceCustomMusicSysCallWrapper.md +++ b/docs/dev/debt/libSceCustomMusicSysCallWrapper.md @@ -3,3 +3,9 @@ ### Unknown function info - [sceCustomMusicSelect](../../../core/libs/prx/libSceCustomMusicSysCallWrapper/Export.cpp) (libSceCustomMusicSysCallWrapper) - the name and NID are present in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceCustomMusicSysCallWrapper.c), but no credible prototypes were found. The declarations have no parameters solely to resolve known imports; this is not an ABI claim and callers must not call them until signatures are verified + +- [sceCustomMusicNetInetNtop](../../../core/libs/prx/libSceCustomMusicSysCallWrapper/Export.cpp) - signature and behavior are unknown; the parameterless int declaration is an import-resolution placeholder and throws. +- [sceCustomMusicNetShutdown](../../../core/libs/prx/libSceCustomMusicSysCallWrapper/Export.cpp) - signature and behavior are unknown; the parameterless int declaration is an import-resolution placeholder and throws. +- [sceCustomMusicNetSocketAbort](../../../core/libs/prx/libSceCustomMusicSysCallWrapper/Export.cpp) - signature and behavior are unknown; the parameterless int declaration is an import-resolution placeholder and throws. +- [sceCustomMusicPthreadAttrGet](../../../core/libs/prx/libSceCustomMusicSysCallWrapper/Export.cpp) - signature and behavior are unknown; the parameterless int declaration is an import-resolution placeholder and throws. +- [sceCustomMusicPthreadSelf](../../../core/libs/prx/libSceCustomMusicSysCallWrapper/Export.cpp) - signature and behavior are unknown; the parameterless int declaration is an import-resolution placeholder and throws.