libSceAgc debt: note the call sites of sceAgcCbMemsetExclusive in six titles #11168

Closed
opened 2026-10-25 20:26:14 +00:00 by xXPBSXx · 0 comments
xXPBSXx commented 2026-10-25 20:26:14 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-25T20:26:14Z.


The debt entry for sceAgcAcquireMemSetEngine and sceAgcCbMemsetExclusive records what this emulator does, but not how titles call sceAgcCbMemsetExclusive. Title call sites add this (call-site addresses included so the reading can be checked).

The entry then reads (the new part is its last three sentences):

sceAgcAcquireMemSetEngine, sceAgcCbMemsetExclusive (libSceAgc) - declared with canonical signatures from decrypted headers; behavior on retail consoles remains unmeasured. Both throw through NotImplemented_nid_no_patch. Six title binaries import sceAgcCbMemsetExclusive through a jump stub and call that stub at 12 sites (PPSA15246 0x6dcaf8, 0x6dd029; PPSA21480 0xc9e51, 0xca369; PPSA23827 0x54e5f0, 0x54eb51; PPSA24423 0x41768, 0x41c89; PPSA24779 0xc23f78, 0xc24499; PPSA35169 0x6eef90, 0x6ef4f1). At four sites read in the listing (PPSA21480 0xc9e51 and 0xca369, PPSA24423 0x41768, PPSA35169 0x6eef90) when the call returns 0, the calling function returns 0x8a6c002b instead of aborting, and at 0x41768 the call is made only for a flag byte of 1 and a size of at least 0x40000. Whether a title reaches these calls was not measured.

Fix: branch docs/debt-agc-cbmemsetexclusive-title.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6028910188 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/11168). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-25T20:26:14Z. --- The debt entry for `sceAgcAcquireMemSetEngine` and `sceAgcCbMemsetExclusive` records what this emulator does, but not how titles call `sceAgcCbMemsetExclusive`. Title call sites add this (call-site addresses included so the reading can be checked). The entry then reads (the new part is its last three sentences): > [sceAgcAcquireMemSetEngine, sceAgcCbMemsetExclusive](../../../core/libs/prx/libSceAgc/Unimplemented.cpp) (libSceAgc) - declared with canonical signatures from decrypted headers; behavior on retail consoles remains unmeasured. Both throw through `NotImplemented_nid_no_patch`. Six title binaries import `sceAgcCbMemsetExclusive` through a jump stub and call that stub at 12 sites (PPSA15246 0x6dcaf8, 0x6dd029; PPSA21480 0xc9e51, 0xca369; PPSA23827 0x54e5f0, 0x54eb51; PPSA24423 0x41768, 0x41c89; PPSA24779 0xc23f78, 0xc24499; PPSA35169 0x6eef90, 0x6ef4f1). At four sites read in the listing (PPSA21480 0xc9e51 and 0xca369, PPSA24423 0x41768, PPSA35169 0x6eef90) when the call returns 0, the calling function returns 0x8a6c002b instead of aborting, and at 0x41768 the call is made only for a flag byte of 1 and a size of at least 0x40000. Whether a title reaches these calls was not measured. Fix: branch `docs/debt-agc-cbmemsetexclusive-title`. AI-assisted (Claude Code).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#11168
No description provided.