libSceSysmodule: sceSysmoduleLoadModule(0x97) returns INVALID_VALUE causing GTA V (CUSA00419) eboot assert #18138

Open
opened 2026-11-10 15:33:22 +00:00 by pushkarreddyy · 0 comments
pushkarreddyy commented 2026-11-10 15:33:22 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-11-10T15:33:22Z.


Problem

Grand Theft Auto V (CUSA00419 v01.57, discussion #18084 blocker 6) asserts with int 0x41 at eboot address 0x1b45414 after 4.8 seconds:

The title's own assert (int 0x41) after 4.8 s (main 70aab1bf93 + #16882; found in a traced start):
at eboot address 0x1b45414 it calls sceSysmoduleLoadModule(0x97) (libSceNpParty), gets 0x805A1000, and asserts.

In core/libs/prx/libSceSysmodule/ModuleTable.hpp, kModuleTable defines {0x00000097, "libSceNpParty"} at line 43.
However, 0x0097 is omitted from kPublicModuleIds (lines 358-371), which jumps from 0x0096 directly to 0x0098.
Because isPublicModuleId(0x0097) evaluates std::binary_search(kPublicModuleIds), 0x0097 is reported as non-public, causing sceSysmoduleLoadModule(0x97) to return SCE_SYSMODULE_ERROR_INVALID_VALUE (0x805A1000) instead of loading libSceNpParty.prx.

Solution

  • Add 0x0097 in sorted order to kPublicModuleIds in core/libs/prx/libSceSysmodule/ModuleTable.hpp.
  • Add unit test coverage in core/libs/tests/GuestSysmodule.cpp verifying sceSysmoduleIsLoaded(0x0097) returns kModuleUnloaded rather than kInvalidValue.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6310101890 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/18138). Originally posted by [pushkarreddyy](https://github.com/pushkarreddyy) on 2026-11-10T15:33:22Z. --- ### Problem Grand Theft Auto V (CUSA00419 v01.57, discussion #18084 blocker 6) asserts with `int 0x41` at eboot address `0x1b45414` after 4.8 seconds: ```text The title's own assert (int 0x41) after 4.8 s (main 70aab1bf93 + #16882; found in a traced start): at eboot address 0x1b45414 it calls sceSysmoduleLoadModule(0x97) (libSceNpParty), gets 0x805A1000, and asserts. ``` In `core/libs/prx/libSceSysmodule/ModuleTable.hpp`, `kModuleTable` defines `{0x00000097, "libSceNpParty"}` at line 43. However, `0x0097` is omitted from `kPublicModuleIds` (lines 358-371), which jumps from `0x0096` directly to `0x0098`. Because `isPublicModuleId(0x0097)` evaluates `std::binary_search(kPublicModuleIds)`, `0x0097` is reported as non-public, causing `sceSysmoduleLoadModule(0x97)` to return `SCE_SYSMODULE_ERROR_INVALID_VALUE` (`0x805A1000`) instead of loading `libSceNpParty.prx`. ### Solution - Add `0x0097` in sorted order to `kPublicModuleIds` in `core/libs/prx/libSceSysmodule/ModuleTable.hpp`. - Add unit test coverage in `core/libs/tests/GuestSysmodule.cpp` verifying `sceSysmoduleIsLoaded(0x0097)` returns `kModuleUnloaded` rather than `kInvalidValue`.
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#18138
No description provided.