refactor(audioin): name X+4jdIS75P0 sceAudioInIsPadEmbeddedMic and fix its signature #3072
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3072"
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 parl0v on 2026-10-10T21:36:04Z.
What
X+4jdIS75P0(libSceAudioIn) is the throwing stubsceAudioInUnknown_X4jdIS75P0(void), listed in TechnicalDebt as "unknown name, signature". This gives it both.Name —
compute_nid("sceAudioInIsPadEmbeddedMic") == "X+4jdIS75P0". Recovered with nidhunt (a NID hash-cracker) and confirmed with the repo's owntools/nid_names.py; it is also in the merged NID database (zecoxao/sce_symbols#22).Signature — from the call-site evidence in #2355: Ghost of Yotei (PPSA26344) calls it right after
sceAudioInOpen, passing only the returned handle inediand reading a 32-bit result, i.e.int32_t(int32_t handle). The current(void)declaration does not match.Reached by two titles: Astro Bot (PPSA21564) imports it; Ghost of Yotei (PPSA26344) calls it (#2355).
This renames the stub to
sceAudioInIsPadEmbeddedMic, drops theAPS5_EXPORTalias, and corrects the signature to(int32_t handle). Behaviour is unchanged: it still throws, and the result's meaning is unconfirmed, so no stub value is invented. The TechnicalDebt entry is updated. Side effect: the placeholder was also exported under its own name, whichnid_patcherhashed intolhtUx6-cL2A(a NID no Sony module has); that one is gone, andX+4jdIS75P0is still exported.Tested
Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release,
BUILD_TESTING=ON. Clean build.libSceAudioIn.prxexport table (objdump -p):X+4jdIS75P0present,lhtUx6-cL2Agone.ctest: 719/719 passed.tools/check_conventions.py --base origin/mainpasses.tools/pr_overlap.py: no overlap with open pull requests.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T21:36:13Z.
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.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T21:36:28Z.
Progress report (
262c031→1fa6ba3)➖ System libraries: 84.44% (+0.0%, +1 declared, -1 removed functions)
🆕 1 declared as stubs
sceAudioInIsPadEmbeddedMic🗑️ 1 removed
sceAudioInUnknown_X4jdIS75P0Pull request closed