feat(libSceNpPartner001): answer sceNpHasEAAccessSubscription without an EA Access server #6049

Merged
notaxeltv merged 1 commit from upstream-pr/6049 into main 2026-10-17 04:11:44 +00:00
notaxeltv commented 2026-10-14 20:48:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by notaxeltv on 2026-10-14T20:48:35Z.


What

PPSA34015 (EA SPORTS FC 27) on current main plus #6034 loads libSceLoginService.prx and then fails:

FAIL: unresolved ELF import +OnbUs1CV0M from libSceNpPartner001.prx
GetLastError: 127 - The specified procedure could not be found.

+OnbUs1CV0M hashes to sceNpHasEAAccessSubscription. shadPS4 declares (userId, bool* result). The title's only call matches that: mov edi, r14d and lea rsi, [rbp-0x67].

The call writes false and returns 0: there is no EA Access server. Not initialized or a null result throw, as sceNpEAAccessTerminate already does, because the PS5 codes for those cases are unverified. Recorded in docs/dev/debt/libSceNpPartner001.md.

Tested

Windows 10, WinLibs GCC 15.2.0, guest_np_partner passes. Against this libSceNpPartner001.prx PPSA34015 no longer reports +OnbUs1CV0M; the next loader stop is 8weiQyIdI3A from libSceNpManager.prx (separate). tools/check_conventions.py --base upstream/main passes.

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 under Silent stubs in their library's technical debt file
  • 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 (none)
  • Generic behaviour, not specific to one title
  • Depends on: #6034
  • Unblocks: PPSA34015
  • GPUs tested: n/a
  • AI-assisted: yes

Made with Cursor

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4864319426 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6049). Originally posted by [notaxeltv](https://github.com/notaxeltv) on 2026-10-14T20:48:35Z. --- ### What PPSA34015 (EA SPORTS FC 27) on current `main` plus #6034 loads `libSceLoginService.prx` and then fails: ``` FAIL: unresolved ELF import +OnbUs1CV0M from libSceNpPartner001.prx GetLastError: 127 - The specified procedure could not be found. ``` `+OnbUs1CV0M` hashes to `sceNpHasEAAccessSubscription`. [shadPS4](https://github.com/shadps4-emu/shadPS4/blob/main/src/core/libraries/np/np_partner.cpp) declares `(userId, bool* result)`. The title's only call matches that: `mov edi, r14d` and `lea rsi, [rbp-0x67]`. The call writes `false` and returns 0: there is no EA Access server. Not initialized or a null result throw, as `sceNpEAAccessTerminate` already does, because the PS5 codes for those cases are unverified. Recorded in `docs/dev/debt/libSceNpPartner001.md`. ### Tested Windows 10, WinLibs GCC 15.2.0, `guest_np_partner` passes. Against this `libSceNpPartner001.prx` PPSA34015 no longer reports `+OnbUs1CV0M`; the next loader stop is `8weiQyIdI3A` from `libSceNpManager.prx` (separate). `tools/check_conventions.py --base upstream/main` passes. ### 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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical debt file - [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 (none) - [x] Generic behaviour, not specific to one title - [x] Depends on: #6034 - [x] Unblocks: PPSA34015 - [x] GPUs tested: n/a - [x] AI-assisted: yes Made with [Cursor](https://cursor.com)
github-actions[bot] commented 2026-10-14 20:49:19 +00:00 (Migrated from github.com)

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


Progress report (2077b53 → 27b3753)

📈 System libraries: 88.7% (+0.01%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceNpPartner001 sceNpHasEAAccessSubscription
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6178141949 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6049#issuecomment-6178141949). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-14T20:49:19Z. --- <!-- progress-report --> ### Progress report (2077b53 → 27b3753) 📈 **System libraries**: 88.7% (+0.01%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceNpPartner001 | `sceNpHasEAAccessSubscription` | </details>
github-actions[bot] commented 2026-10-15 12:13:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:13:52Z.


Some 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.

Pull request Shared files not compared
PR 6044 core/libs/tests/GuestNpPartner.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6191780472 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6049#issuecomment-6191780472). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T12:13:52Z. --- <!-- pr-overlap --> Some 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. | Pull request | Shared files not compared | |---|---| | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/tests/GuestNpPartner.cpp` |
adriadam10 commented 2026-10-16 21:21:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T21:21:48Z.


Checked the signature against shadPS4's np_partner.cpp, the throw paths for uninitialized/null result, the debt entry, and guest_np_partner (passes; fails to build without the change). Merging.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6224941855 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6049#issuecomment-6224941855). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-16T21:21:48Z. --- Checked the signature against shadPS4's `np_partner.cpp`, the throw paths for uninitialized/null result, the debt entry, and `guest_np_partner` (passes; fails to build without the change). Merging.
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!6049
No description provided.