feat(libs): add sceSslUnloadCert and sceVoiceGetMuteFlag stubs #2753

Closed
pushkarreddyy wants to merge 1 commit from upstream-pr/2753 into main
pushkarreddyy commented 2026-10-10 13:02:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-10T13:02:10Z.


What

The Last of Us Part II Remastered (PPSA15508 v02.001.010) stops at startup on main (bc2f128e) due to two unhandled PRX symbol exports:

  1. sceSslUnloadCert (NID UQ+3Qu7v3cA) in libSceSsl (the loader halts on this unresolved symbol, which pairs with existing sceSslLoadCert).
  2. sceVoiceGetMuteFlag (NID Pc4z1QjForU) in libSceVoice (next absent import, pairing with existing sceVoiceSetMuteFlag).

This PR adds:

  • sceSslUnloadCert export stub calling NotImplemented_nid_no_patch(__func__) in core/libs/prx/libSceSsl/Export.cpp and links libc with configure_windows_unwind in core/libs/prx/libSceSsl/CMakeLists.txt.
  • sceVoiceGetMuteFlag export stub calling NotImplemented_nid_no_patch(__func__) in core/libs/prx/libSceVoice/Export.cpp and adds core/libs/prx/libSceVoice/CMakeLists.txt with unwind support.
  • Unit tests verifying exception handling in core/libs/tests/GuestSsl.cpp and core/libs/tests/GuestVoice.cpp.
  • Technical debt entries under ### Unknown function info in docs/dev/TechnicalDebt.md.

Tested

  • Checked python tools/check_conventions.py --base origin/main (100% passed).
  • Verified NIDs using python tools/nid_names.py --nid UQ+3Qu7v3cA Pc4z1QjForU (already-implemented).
  • Unit tests in core/libs/tests/GuestSsl.cpp and core/libs/tests/GuestVoice.cpp test NotImplemented_nid_no_patch runtime exceptions.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4811391837 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2753). Originally posted by [pushkarreddyy](https://github.com/pushkarreddyy) on 2026-10-10T13:02:10Z. --- ### What *The Last of Us Part II Remastered* (`PPSA15508 v02.001.010`) stops at startup on `main` (`bc2f128e`) due to two unhandled PRX symbol exports: 1. `sceSslUnloadCert` (NID `UQ+3Qu7v3cA`) in `libSceSsl` (the loader halts on this unresolved symbol, which pairs with existing `sceSslLoadCert`). 2. `sceVoiceGetMuteFlag` (NID `Pc4z1QjForU`) in `libSceVoice` (next absent import, pairing with existing `sceVoiceSetMuteFlag`). This PR adds: - `sceSslUnloadCert` export stub calling `NotImplemented_nid_no_patch(__func__)` in `core/libs/prx/libSceSsl/Export.cpp` and links `libc` with `configure_windows_unwind` in `core/libs/prx/libSceSsl/CMakeLists.txt`. - `sceVoiceGetMuteFlag` export stub calling `NotImplemented_nid_no_patch(__func__)` in `core/libs/prx/libSceVoice/Export.cpp` and adds `core/libs/prx/libSceVoice/CMakeLists.txt` with unwind support. - Unit tests verifying exception handling in `core/libs/tests/GuestSsl.cpp` and `core/libs/tests/GuestVoice.cpp`. - Technical debt entries under `### Unknown function info` in `docs/dev/TechnicalDebt.md`. ### Tested - Checked `python tools/check_conventions.py --base origin/main` (100% passed). - Verified NIDs using `python tools/nid_names.py --nid UQ+3Qu7v3cA Pc4z1QjForU` (`already-implemented`). - Unit tests in `core/libs/tests/GuestSsl.cpp` and `core/libs/tests/GuestVoice.cpp` test `NotImplemented_nid_no_patch` runtime exceptions. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-10 13:02:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T13:02:19Z.


Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6097776472 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2753#issuecomment-6097776472). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T13:02:19Z. --- Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!2753
No description provided.