mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 08:33:12 -05:00
The bundled PSNCore.prx of PPSA06888 calls sceNpTrophy2GetRewardIcon with (context, handle, reward_id, buffer, size): once with a null buffer to read the size, then with a buffer of that size. The function still throws because the reward icon data is unknown. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
990 B
990 B
libSceNpTrophy2 technical debt
Silent stubs
- libSceNpTrophy2:
sceNpTrophy2RegisterUnlockCallbackaccepts a callback that is never called, as no trophy is ever unlocked,sceNpTrophy2UnregisterUnlockCallbackonly returns success, andsceNpTrophy2ShowTrophyListreturns success without showing a list (there is no system trophy UI; seen on PPSA15552).
Unknown function info
- sceNpTrophy2GetRewardIcon (libSceNpTrophy2) takes
(int context, int handle, int reward_id, void* buffer, size_t* size), from the call sites in the bundledMedia/Plugins/PSNCore.prxof PPSA06888, the same shape assceNpTrophy2GetTrophyIcon. The title calls it twice: first with a null buffer to read the size, then with a buffer of that size allocated withmalloc. The meaning of the third argument is unverified, and the reward icon data is unknown, so every call throws