refactor(prx): name the UserService inventory stubs the NID database resolves #17254
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17254"
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 dkdhanda8 on 2026-11-08T16:22:37Z.
What
Five
libSceUserServiceinventory stubs whose NIDs resolve in the pinned public symbol databases are renamed after their resolved symbols, following the merged AudioIn/Json/CommonDialog naming series:sceUserServiceSetAccessibilityKeyremapEnableAston(NIDQ89EQaIzT0o)sceUserServiceSetHmd2CinematicAudioRotation(NID1NGArQcf8aA)sceUserServiceSetIsPersonalizedHrtfEnabled(NIDenesn4WCCAc)sceUserServiceSetUserWithHearingAssist(NIDO8g8pltXaSU) — the four inInventory1360Exports.cppsceUserServiceSetVoiceAgentEnableByButton(NIDJz06XYyyqGE) — inInventoryExports.cppEach resolved name was verified by reproducing its NID with
tools/nid_names.py'scompute_nidand matching it against aerolib.csv and the ps5rs catalog. The explicitAPS5_EXPORTregistrations and the_nid_no_patchsuffixes come off; the bare names hash to the same NIDs. A newinclude/Exports.hppdeclares the five for import resolution and the umbrella includes it. The debt entry records that the database resolves four of the twelve named 13.60 entries; signatures and behavior stay unverified and every stub still throws.Tested
tools/check_conventions.py --base origin/mainpasses;git diff --checkis clean.-fsyntax-only, MinGW); the stubs' throw behavior is unchanged, so the existing ctest coverage is unaffected.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); no silent stubs added.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-08T19:20:32Z.
Review: COMMENTED
Windows build of this head merged onto
main9fabd4aa7e, in one tree with the other open NID-naming PRs in this series (#17271, #17254, #17297, #17298 and #17303, which contains #17299); all merged cleanly. Setup: Windows 11, WinLibs GCC 15.2, Release,BUILD_TESTING=ON.guest_hmd2*,guest_user_service*,guest_icu*,guest_nkwebkit_requirements*andguest_libre_ssl*tests pass.tools/nid_names.py's own rules:APS5_EXPORTliterals, pluscompute_nidof eachAPS5_VABI, assembly and data definition that isn't_nid_no_patch. The set is identical tomain's, with no NID defined twice._nid_no_patchstubs onmain, and they still throw under their real names, so behaviour is unchanged.