docs(libSceMsgDialog): note the sceMsgDialogOpen param layout two titles write #11511
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/11511"
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 milescoviello on 2026-10-26T17:41:01Z.
What
The
sceMsgDialogOpenentry indocs/dev/debt/libSceMsgDialog.mdsays theSceMsgDialogParamlayout it reads isn't measured on a PS5. Two titles write exactly that layout. The entry now adds, before itsCloses when:Both also fill the common dialog base the usual way: 0x30 at 0 and the address-derived magic at 0x2C, which
Inspectdoesn't read. The same two titles use fields the entry doesn't name; they are left out of the entry because they don't reachInspect:Inspectreturns before reading anything for mode 3.Inspectreads only the button type and the message.Changed:
docs/dev/debt/libSceMsgDialog.md. No code change.Method: the addresses are virtual addresses in each title's
eboot.bin(unwrapped ELF, text at 0). Call sites were found through the import's PLT stub in therelinkeroutput (app.elf, the same text moved up by 0x400000; the bytes at each site were checked againsteboot.bin). The stores into the stack param before each call were read withobjdump. This is static reading only: nothing was run on a console. The listings are game code and are not attached.Tested
Documentation only.
tools/check_conventions.py --base upstream/mainpasses. Not built, no title run.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-26T17:43:06Z.
Review: APPROVED
Reviewed exact head
e9d8a2cc92b7c940e04a654d170730d63cef43a3. The entry is consistent with the fieldsInspectreads and keeps the new title-derived details explicitly scoped to static disassembly; the description also distinguishes the mode-3 path and other fields that do not reachInspect. I did not independently inspect the proprietary title binaries or run either title, so this is a review of the documentation’s scope and consistency, not a claim of console verification.tools/check_conventions.pyandgit show --checkpass locally. Hosted eligibility, conventions, intake and labels pass; product and relinker jobs are skipped for this documentation-only change. No documentation defect found; approved.Imported from boykopovar/AnyPS5. Originally posted by THEMANnt on 2026-10-28T10:51:08Z.
Review: APPROVED
Reviewed
e9d8a2cc92b7c940e04a654d170730d63cef43a3against author merge base88795ed44801fa719eb2df990cbe1f11a1f9bd81— approve the documentation change.The message-dialog mode/pointer offsets and the added caller layouts remain explicitly separated from an independently confirmed console ABI. No implementation or struct layout changes are introduced.
Validation: checked the submitted Markdown diff, pinned implementation references and relative links;
git diff --checkpassed. This changes documentation only. Title disassembly and console observations were not independently reproduced; no runtime regression result is claimed.