feat(libSceAbstractYoutube): declare 59 callable exports #13132

Merged
kyon-eth merged 3 commits from upstream-pr/13132 into main 2026-11-02 17:26:43 +00:00
kyon-eth commented 2026-10-30 03:48:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by kyon-eth on 2026-10-30T03:48:21Z.


What

Declare 59 additional libSceAbstractYoutube callable exports, including 20 unidentified NIDs absent from the later module inventory. The original 39 candidate names hash to a typed function NID in the public 3.20 catalogue, and per-image records show matching module and library identities in two version-labelled images. Neither image label authenticates retail firmware provenance. All 59 declarations throw; signatures and behavior are unverified. The 20 additional NIDs have unverified names and cannot be cross-checked against the later inventory. No game unblock is claimed.

Tested

  • macOS x86-64: compiled original and updated export sources and verified the object symbol delta; a standalone build verified all 20 additional literal NID aliases.
  • Audited public headers, conventions and whitespace. The open-PR overlap scan reported only this PR’s existing remote branch.
  • No Linux, Windows, console or game run was performed.

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
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5079161840 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13132). Originally posted by [kyon-eth](https://github.com/kyon-eth) on 2026-10-30T03:48:21Z. --- ### What Declare 59 additional `libSceAbstractYoutube` callable exports, including 20 unidentified NIDs absent from the later module inventory. The original 39 candidate names hash to a typed function NID in the public 3.20 catalogue, and per-image records show matching module and library identities in two version-labelled images. Neither image label authenticates retail firmware provenance. All 59 declarations throw; signatures and behavior are unverified. The 20 additional NIDs have unverified names and cannot be cross-checked against the later inventory. No game unblock is claimed. ### Tested - macOS x86-64: compiled original and updated export sources and verified the object symbol delta; a standalone build verified all 20 additional literal NID aliases. - Audited public headers, conventions and whitespace. The open-PR overlap scan reported only this PR’s existing remote branch. - No Linux, Windows, console or game run was performed. ### 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 under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/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 - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
CnRJay commented 2026-11-01 20:00:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T20:00:53Z.

Review: COMMENTED


Correction (2026-11-01): this review demanded a title for a PR where no title can supply one. CONTRIBUTING allows Unblocks: none. The technical points below are unaffected.

No title ID and no log line here. The description says "no game unblock is claimed" and Unblocks: none, so nothing shows a title on main reaching any of these 59 NIDs. Declaring names that throw does not change what any title does today: an unresolved import and a NotImplemented_nid_no_patch throw both stop it, and the second one is only useful once there is a caller to point at.

Two further points:

  1. Unidentified NIDs. The 20 "unidentified" entries in the debt file have no name, signature or behaviour, and are absent from the later module inventory. Declaring them gives the count in the description but nothing a reader can check. I would drop those 20 until a title imports one of them, rather than carry placeholders for NIDs nobody can name.
  2. Prototypes. Every export is int APS5_VABI name(), including the C1Ev/C2Ev constructors and the D0Ev/D1Ev/D2Ev destructors, which take this. That is fine only while they throw. The debt entry should say the whole set has to be redeclared when the first one is implemented.

What I would want before this goes in: the title ID that imports one of these, and the log line from main showing it reaching the unresolved import.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729960233 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13132#pullrequestreview-5729960233). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-11-01T20:00:53Z. **Review:** COMMENTED --- **Correction (2026-11-01):** this review demanded a title for a PR where no title can supply one. CONTRIBUTING allows `Unblocks: none`. The technical points below are unaffected. No title ID and no log line here. The description says "no game unblock is claimed" and `Unblocks: none`, so nothing shows a title on `main` reaching any of these 59 NIDs. Declaring names that throw does not change what any title does today: an unresolved import and a `NotImplemented_nid_no_patch` throw both stop it, and the second one is only useful once there is a caller to point at. Two further points: 1. **Unidentified NIDs.** The 20 "unidentified" entries in the debt file have no name, signature or behaviour, and are absent from the later module inventory. Declaring them gives the count in the description but nothing a reader can check. I would drop those 20 until a title imports one of them, rather than carry placeholders for NIDs nobody can name. 2. **Prototypes.** Every export is `int APS5_VABI name()`, including the `C1Ev`/`C2Ev` constructors and the `D0Ev`/`D1Ev`/`D2Ev` destructors, which take `this`. That is fine only while they throw. The debt entry should say the whole set has to be redeclared when the first one is implemented. What I would want before this goes in: the title ID that imports one of these, and the log line from `main` showing it reaching the unresolved import.
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!13132
No description provided.