* feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does * docs(libSceCommonDialog): keep the additional exports entry under 1000 characters
6.7 KiB
libSceCommonDialog technical debt
Additional callable exports
- Additional callable exports - 12 entries present in both version-labelled images are import-resolution declarations only. Neither label independently authenticates retail firmware provenance. These NIDs are absent from the pinned public 3.20 catalogue. Parameter lists, return types and behavior are unverified; parameterless
intdeclarations are placeholders, not verified ABI contracts. Unidentified names use literal NID aliases. The entries named under Functional answer as stated there; the rest throw throughNotImplemented_nid_no_patch. Data exports require separate layout and ownership analysis. Identified candidate names match their NIDs in the public symbol database or supplemental catalog.
| Name | NID |
|---|---|
Unknown |
8q7icGBWIrA |
Unknown |
D-V35OhFeIM |
Unknown |
QXFsLON5QWw |
Unknown |
SDpCfY9uB0g |
Unknown |
Zaa6fhiKQDE |
Unknown |
aUS4PgJye98 |
Unknown |
afLdI6i0lQw |
Unknown |
mVRnPerBcK0 |
Unknown |
p9TTq4bLdFU |
Unknown |
q3-8WWCG2N0 |
Unknown |
txNJzxX6yrA |
Unknown |
yxjgDvqUbGQ |
Unknown function info
-
14 additional pending imports in InventoryExports.cpp are listed in the PS5 3.20 export inventory. Their signatures and behavior are unverified apart from what the Functional section states; the ones it does not name use the no-parameter unknown-signature convention and throw through
NotImplemented_nid_no_patch, for import resolution only. -
_ZN3sce16CommonDialogUtil12getSelfAppIdEv— NID2RdicdHhtGA -
_ZN3sce16CommonDialogUtil6Client11closeModuleEv— NIDI+tdxsCap08 -
_ZN3sce16CommonDialogUtil6Client11updateStateEv— NIDv4+gzuTkv6k -
_ZN3sce16CommonDialogUtil6Client15launchCmnDialogEv— NIDCwCzG0nnLg8 -
_ZN3sce16CommonDialogUtil6ClientD0Ev— NIDIb1SMmbr07k -
_ZN3sce16CommonDialogUtil6ClientD1Ev— NID6TIMpGvsrC4 -
_ZN3sce16CommonDialogUtil6ClientD2Ev— NID+UyKxWAnqIU -
_ZNK3sce16CommonDialogUtil6Client10isCloseReqEv— NIDbUCx72-9f0g -
_ZNK3sce16CommonDialogUtil6Client13getFinishDataEPvm— NIDxZtXq554Lbg -
_ZNK3sce16CommonDialogUtil6Client14getClientStateEv— NIDC-EZ3PkhibQ -
_ZNK3sce16CommonDialogUtil6Client19isInitializedStatusEv— NID70niEKUAnZ0 -
_ZNK3sce16CommonDialogUtil6Client8getAppIdEv— NIDmdJgdwoM0Mo -
_ZNK3sce16CommonDialogUtil6Client8isFinishEv— NID87GekE1nowg -
_ZNK3sce16CommonDialogUtil6Client9getResultEv— NID6ljeTSi+fjs
Functional
- sceCommonDialogInitialize (libSceCommonDialog) - returning
ALREADY_SYSTEM_INITIALIZED(0x80B80002) from a repeated call is not measured on a console by the project. A third-party PS5 log (obSCEne, firmware 12.40) records two calls,0x0and then0x80b80002; a third call is not covered. The SDK error names, shadPS4 (a PS4 emulator) and SharpProspero give the same value; PPSA09695 compares the result with0x80b80002(call site 0x5F7BD0) and PPSA06327 stops on0x80b80004. Closes when: measured on a PS5, including a third call. - sceCommonDialogIsUsed (libSceCommonDialog) - reports whether a common dialog holds the system, like shadPS4's
g_isUsed. Only libSceInvitationDialog takes and frees it so far, throughCommonDialogAcquire_nid_no_patchandCommonDialogRelease_nid_no_patch, so a dialog of another library that is in use is not seen. Not measured on a console. sce::CommonDialogUtil::ClientgetAppId, getClientState, launchCmnDialog, updateState, getFinishData, closeModule, getResult, isInitializedStatus, isFinish and isCloseReq (libSceCommonDialog) - only the answer for a client without an implementation is implemented. In firmware 13.42 each first loads the 64-bit pointer at offset 8 of the client; while it is null, getAppId, getClientState and launchCmnDialog return -1, updateState, getFinishData, closeModule and getResult return0x80B8000E, and isInitializedStatus, isFinish and isCloseReq return 0. A non-null pointer leads into the implementation, which is not modelled, and throws; so does an unreadable client, which the module reads through. The parameters beyond the client are from the mangled names. Read from disassembly, not measured on a console.- Zaa6fhiKQDE, SDpCfY9uB0g, mVRnPerBcK0, yxjgDvqUbGQ, aUS4PgJye98, D-V35OhFeIM, p9TTq4bLdFU and afLdI6i0lQw (libSceCommonDialog) - read from the 13.42 disassembly, not measured on a console.
D-V35OhFeIMandp9TTq4bLdFUreturn 0 and read no argument. The next five take a client like theClientmethods and answer only while the pointer at its offset 8 is null:aUS4PgJye98returns 0 and the other four0x80B8000E; otherwise they throw.Zaa6fhiKQDEpasses four more arguments on, which are not declared.afLdI6i0lQwreturns 0 for a valid common dialog base parameter (magic matching its address, size 0x30, 36 zero reserved bytes) and0x80B8000Aotherwise; it reads the magic at 0x2C first, so a block with a wrong magic returns the error even when its start is unreadable.