Files
AnyPS5/docs/dev/debt/libSceInvitationDialog.md
KernelPanicNT 51b0d6bf0e docs(libSceInvitationDialog): list OpenA and GetResultA under Silent stubs
The A forms also finish canceled at once without a dialog and return
ARG_NULL for an unwritable result or user list.
2026-11-12 20:30:20 +00:00

5.8 KiB

libSceInvitationDialog technical debt

Silent stubs

  • sceInvitationDialogGetResult - returning COMMON_DIALOG_ERROR_ARG_NULL for an unwritable result pointer is a host-safety fallback with console behavior unmeasured.
  • sceInvitationDialogOpen (libSceInvitationDialog) - with ANYPS5_PSN_DIALOGS=show, a successful open shows AnyPS5's notice that the feature needs PlayStation Network; the console's own display without PlayStation Network is not measured, and the notice wording is AnyPS5's.
  • sceInvitationDialogOpen, sceInvitationDialogGetResult (libSceInvitationDialog, PS4) - no dialog is shown and no invitation is sent: Open moves the dialog straight to FINISHED, and GetResult returns 0 with errorCode 0, result USER_CANCELED (1), the callbackArg of the last Open and a recipient count of 0, as shadPS4 reports when its window is dismissed and as libSceNpProfileDialog does. Not measured on a console.
  • sceInvitationDialogOpenA, sceInvitationDialogGetResultA - no dialog is shown and no invitation is sent: OpenA moves the dialog straight to FINISHED, and GetResultA reports USER_CANCELED (1) with a user list count of 0. Returning COMMON_DIALOG_ERROR_ARG_NULL for an unwritable result or user list is a host-safety fallback with console behaviour unmeasured.

Unknown function info

  • sceInvitationDialogGetStatus (libSceInvitationDialog, PS5) - the name and NID (EiF92YDNHRA) appear in the PS5 3.20 export inventory. It returns the current dialog status (NONE, INITIALIZED, RUNNING or FINISHED) like sceInvitationDialogUpdateStatus; console behaviour is not measured.
  • sceInvitationDialogOpenA, sceInvitationDialogGetResultA (libSceInvitationDialog) - the layouts are not checked against a module; the 144-byte InvitationDialogParamA and the 520-byte list of 16 online id and account id pairs at sentUsers come from the shadPS4 header. As in shadPS4, the A forms share the state of Open and GetResult and finish canceled at once like them, and GetResultA writes only the user list count, 0 for a canceled dialog. A param whose size is not 144 or whose mode is neither 1 nor 2, a result with a non-zero reserved byte and OpenA before Initialize throw as for the non-A forms. dataParam is not read. Not measured on a console.
  • sceInvitationDialogOpen, sceInvitationDialogGetResult (libSceInvitationDialog, PS4) - the field names and the 144-byte InvitationDialogParam come from the shadPS4 header. They match the supplied libSceInvitationDialog.sprx: export 8XKR6wa64iQ at 0xFF0 checks the reserved bytes 0x18..0x37 of the result and writes its status at 0x08, and the helper at 0x410 copies eight bytes of the saved open parameter to 0x00, the eight result bytes to 0x08 and up to 16 20-byte online ids through the pointer at 0x10, after a four-byte count. A param whose size is not 144, or whose mode is neither 1 (send) nor 2 (receive), throws, and so does a result with a non-zero reserved byte. baseParam, userId and dataParam, with its 1 to 16 recipients, are not checked.
  • sceInvitationDialogOpen, sceInvitationDialogClose, sceInvitationDialogGetResult (libSceInvitationDialog, PS4) - two paths throw because shadPS4 and the other common dialogs here return different errors: Open before Initialize (shadPS4 INVALID_STATE, the Signin family NOT_INITIALIZED) and Close on a dialog that is not running, which is every Close after Initialize here (shadPS4 NOT_RUNNING, the Signin family 0). GetResult before the dialog finishes returns NOT_FINISHED even for a null result, as in shadPS4. shadPS4 returns the result value from GetResult; this returns 0, which the module writes at 0x08 as errorCode.

Functional

  • sceInvitationDialogOpen - returning 0x80B8000D (COMMON_DIALOG_ERROR_ARG_NULL) for an unmapped or unreadable parameter pointer is a host-safety fallback; whether console hardware faults or returns an argument error on unmapped memory is unmeasured.
  • sceInvitationDialogInitialize, sceInvitationDialogTerminate (libSceInvitationDialog, PS4) - Initialize returns NOT_SYSTEM_INITIALIZED before sceCommonDialogInitialize, then ALREADY_INITIALIZED, then BUSY while another dialog holds the common dialog system, in shadPS4's order, and Terminate frees the system. Only this library takes the system through libSceCommonDialog so far, so the other common dialogs neither return BUSY because of it nor make it return BUSY. Not measured on a console.