refactor(audioin): name X+4jdIS75P0 sceAudioInIsPadEmbeddedMic #3577
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3577"
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-11T13:37:08Z.
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", confirmed with the repo's owntools/nid_names.py; 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 and 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 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), WinLibs MinGW GCC 15.2.0 r7, Release.
libSceAudioIn.prxexport table (objdump -p):X+4jdIS75P0present,lhtUx6-cL2Agone.tools/check_conventions.py --base origin/mainpasses.tools/pr_overlap.pyreports no overlap with open pull requests.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryReplaces #3072, which the intake pause closed; same change, reverified on current
main.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T13:37:29Z.
Progress report (
a11c8f7→93f5220)➖ System libraries: 85.81% (+0.0%, +1 declared, -1 removed functions)
🆕 1 declared as stubs
sceAudioInIsPadEmbeddedMic🗑️ 1 removed
sceAudioInUnknown_X4jdIS75P0Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:36:45Z.
Checked:
compute_nid("sceAudioInIsPadEmbeddedMic")givesX+4jdIS75P0withtools/nid_names.py; the renamed stub has noAPS5_EXPORTalias left (no double export); the TechnicalDebt line is accurate and still throws, so nothing is invented. libSceAudioIn builds and its ctest passes (2/2). Merging.