fix(libSceNpCppWebApi): identify 73 unknown NID stubs from aerolib database #8088
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8088"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Mustafa1p on 2026-10-19T20:56:04Z.
What
73
sceNpCppWebApiUnknown*stubs inlibSceNpCppWebApiresolved against the aerolib NID database (159 034 entries). All 73 NIDs verified via SHA-1 withtools/nid_names.py.APS5_EXPORTwrappers removed for all 73; each stub is now defined under its real C++ mangled symbol name so the NID patcher derives the correct export NID from the function name directly, matching the pattern used throughout the rest of the file.Behavior unchanged — all stubs still call
NotImplemented_nid_no_patch(__func__).Tested
Not tested against a title. NID correctness verified via
tools/nid_names.py(SHA-1 round-trip for all 73). Conventions check passes. No*_nid_postfixtwin exists for any of these symbols (confirmed by grep).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T20:56:22Z.
Thank you for your contribution! Authors with no pull requests merged into
maincan have 1 open pull request at a time, authors with at least 1 merged can have 20, and from 20 merged there is no limit. This PR has been automatically closed and labeled "open PR limit" because that limit was reached. This is not a judgment of the quality of your changes: reopen it once one of your open pull requests is merged or closed.Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-19T21:01:44Z.
Review: COMMENTED
🟢 Approval recommended
The change is a purely mechanical stub rename and all 73 mangled names were verified to reproduce their original export NIDs as a collision-free bijection with no duplicate symbols.
No open issues 🎉
What changed in this PR
This PR resolves 73 previously-unknown NID stubs in
libSceNpCppWebApi. Each stub was defined via anAPS5_EXPORT("<nid>", sceNpCppWebApiUnknownNN)alias wrapping a placeholder function. The PR replaces each with a function defined directly under its real C++ mangled symbol name (inside the file's existingextern "C"block), so the NID patcher derives the export NID fromcompute_nid(symbol)— matching the dominant pattern already used throughout this file. Stubs continue to throw viaNotImplemented_nid_no_patch, now passing__func__(the mangled name) instead of the raw NID literal, consistent with the file's other 130 stubs.I verified correctness mechanically using the repo's own
tools/nid_names.pycompute_nid:core/libstree.extern "C" {block, so each symbol name is the literal mangled identifier the NID is computed from.Changes:
APS5_EXPORT/sceNpCppWebApiUnknown*wrappers for 73 stubs.__func__, matching the surrounding convention.APS5_EXPORTunknown-NID stubs with mangled-name definitions; verified each derives the same export NID it previously declared.Review effort: Balanced
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-20T08:24:19Z.
Reopening: this was closed by the open-PR limit while our intake was paused, not on its merits. We're taking it on and will review it under the normal process; it's assigned to us so it isn't closed again by the limit.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-20T08:28:56Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)_ZN3sce2Np9CppWebApi13InGameCatalog2V512ContainerApi12getContainerEiRKNS4_23ParameterToGetContainerERNS1_6Common11TransactionINS8_12IntrusivePtrINS8_6VectorINSA_INS3_9ContainerEEEEEEENSA_INS8_18ResponseHeaderBaseEEEEE_ZN3sce2Np9CppWebApi13InGameCatalog2V512ContainerApi23ParameterToGetContainer10initializeEPNS1_6Common10LibContextE_ZN3sce2Np9CppWebApi13InGameCatalog2V512ContainerApi23ParameterToGetContainer15setserviceLabelEi_ZN3sce2Np9CppWebApi13InGameCatalog2V512ContainerApi23ParameterToGetContainer9terminateEv_ZN3sce2Np9CppWebApi13InGameCatalog2V512ContainerApi23ParameterToGetContainerC1Ev_ZN3sce2Np9CppWebApi13InGameCatalog2V512ContainerApi23ParameterToGetContainerD1Ev_ZN3sce2Np9CppWebApi17TitleCloudStorage2V17DataApi23ParameterToDownloadData11setobjectIdEPKc_ZN3sce2Np9CppWebApi17TitleCloudStorage2V17DataApi26getMultiDataStatusesByUserEiRKNS4_37ParameterToGetMultiDataStatusesByUserERNS1_6Common11TransactionINS8_12IntrusivePtrINS3_32GetMultiDataStatusesResponseBodyEEENSA_INS8_18ResponseHeaderBaseEEEEE_ZN3sce2Np9CppWebApi17TitleCloudStorage2V17DataApi37ParameterToGetMultiDataStatusesByUser10initializeEPNS1_6Common10LibContextEPKcSA__ZN3sce2Np9CppWebApi17TitleCloudStorage2V17DataApi37ParameterToGetMultiDataStatusesByUser9setfieldsEPKc_ZN3sce2Np9CppWebApi17TitleCloudStorage2V17DataApi37ParameterToGetMultiDataStatusesByUser9terminateEv_ZN3sce2Np9CppWebApi17TitleCloudStorage2V17DataApi37ParameterToGetMultiDataStatusesByUserC1Ev_ZN3sce2Np9CppWebApi17TitleCloudStorage2V17DataApi37ParameterToGetMultiDataStatusesByUserD1Ev_ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS1_13InGameCatalog2V57ProductEEC1ERS7__ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS1_13InGameCatalog2V57ProductEED1Ev_ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS1_13InGameCatalog2V59ContainerEEC1ERS7__ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS1_13InGameCatalog2V59ContainerEED1Ev_ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS1_17TitleCloudStorage2V132GetMultiDataStatusesResponseBodyEEC1Ev_ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS1_17TitleCloudStorage2V132GetMultiDataStatusesResponseBodyEED1Ev_ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS1_17TitleCloudStorage2V15OwnerEED1Ev_ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_13InGameCatalog2V53SkuEEEEEED1Ev_ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_13InGameCatalog2V57ProductEEEEEED1Ev_ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_13InGameCatalog2V59ContainerEEEEEEC1Ev_ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_13InGameCatalog2V59ContainerEEEEEED1Ev_ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_17TitleCloudStorage2V110DataStatusEEEEEED1Ev_ZN3sce2Np9CppWebApi6Common13ConstIteratorINS2_12IntrusivePtrINS1_13InGameCatalog2V57ProductEEEED2Ev_ZN3sce2Np9CppWebApi6Common13ConstIteratorINS2_12IntrusivePtrINS1_17TitleCloudStorage2V110DataStatusEEEED2Ev_ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS1_13InGameCatalog2V57ProductEEptEv_ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS1_13InGameCatalog2V59ContainerEEptEv_ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS1_17TitleCloudStorage2V110DataStatusEEptEv_ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS1_17TitleCloudStorage2V132GetMultiDataStatusesResponseBodyEEptEv_ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS1_17TitleCloudStorage2V15OwnerEEptEv_ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_13InGameCatalog2V53SkuEEEEEEptEv_ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_13InGameCatalog2V57ProductEEEEEEptEv_ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_13InGameCatalog2V59ContainerEEEEEEdeEv_ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_13InGameCatalog2V59ContainerEEEEEEptEv_ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_17TitleCloudStorage2V110DataStatusEEEEEEdeEvSome comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/prx/libSceNpCppWebApi/Export.cppImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-20T08:56:50Z.
Thanks for identifying these. Since this PR was first opened, #8086 has landed on
mainwith the same change: it names the same 73sceNpCppWebApiUnknownNNstubs with the same mangled names. Withmainmerged in, the function names inExport.cppmatchmainexactly and only the order of the 73 stubs differs, so this PR would add nothing. Closing it as already covered by #8086.Pull request closed