feat(libSceIcu): declare 72 callable exports #13128

Merged
kyon-eth merged 3 commits from upstream-pr/13128 into main 2026-11-05 08:51:12 +00:00
kyon-eth commented 2026-10-30 03:42:56 +00:00 (Migrated from github.com)

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


What

Declare 72 additional libSceIcu callable exports. Each candidate name hashes to a typed function NID in the public 3.20 catalogue, and per-image records show the same module and library identities in two version-labelled images. Neither image label authenticates retail firmware provenance. These are import-resolution declarations that throw; signatures and behavior are unverified, and no game unblock is claimed. Data exports and implementations are outside this change.

The overlap checker could not automatically compare shared files in #12320 and #12738 because those branches conflict with main. Their added ICU definitions were checked separately; none matches the proposed NIDs.

Tested

  • macOS x86-64: compiled original and updated export sources and verified the object symbol delta against the 72 names.
  • Audited public headers, conventions, whitespace and open PR overlap.
  • 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:5079120727 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13128). Originally posted by [kyon-eth](https://github.com/kyon-eth) on 2026-10-30T03:42:56Z. --- ### What Declare 72 additional `libSceIcu` callable exports. Each candidate name hashes to a typed function NID in the public 3.20 catalogue, and per-image records show the same module and library identities in two version-labelled images. Neither image label authenticates retail firmware provenance. These are import-resolution declarations that throw; signatures and behavior are unverified, and no game unblock is claimed. Data exports and implementations are outside this change. The overlap checker could not automatically compare shared files in #12320 and #12738 because those branches conflict with main. Their added ICU definitions were checked separately; none matches the proposed NIDs. ### Tested - macOS x86-64: compiled original and updated export sources and verified the object symbol delta against the 72 names. - Audited public headers, conventions, whitespace and open PR overlap. - 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:52 +00:00 (Migrated from github.com)

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

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 72 libSceIcu NIDs. Declaring names that throw through NotImplemented_nid_no_patch does not change what a title does today, since an unresolved import already stops it.

A related question: all 72 are int APS5_VABI name() with no parameters, including functions such as u_tolower, u_totitle and ubrk_first whose real signatures are known from ICU. If the declarations are meant to be the starting point for implementation, giving them real prototypes is cheap here and avoids redeclaring them later.

Please add the title ID that imports one of these and the log line from main showing it reaching the import. Without that this is inventory bookkeeping, not progress on a title.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729960183 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13128#pullrequestreview-5729960183). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-11-01T20:00:52Z. **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 72 `libSceIcu` NIDs. Declaring names that throw through `NotImplemented_nid_no_patch` does not change what a title does today, since an unresolved import already stops it. A related question: all 72 are `int APS5_VABI name()` with no parameters, including functions such as `u_tolower`, `u_totitle` and `ubrk_first` whose real signatures are known from ICU. If the declarations are meant to be the starting point for implementation, giving them real prototypes is cheap here and avoids redeclaring them later. Please add the title ID that imports one of these and the log line from `main` showing it reaching the import. Without that this is inventory bookkeeping, not progress on a title.
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!13128
No description provided.