feat(libs): Cyberpunk 2077 loading support (REDGalaxy + stubs) #358
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/358"
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 Pouare514 on 2026-10-02T12:41:41Z.
What
Cyberpunk 2077 (PPSA04029, v02.120) resolves all 944 imports, loads every module and reaches the ELF entry point. New modules libREDGalaxy64 (game-bundled Galaxy wrapper, 29 exports with roles reversed from its export bodies) and minimal libScePlayGoDialog (5 exports, 4 names hash-verified); missing-export stubs (all throwing) for libc, libkernel, NpCppWebApi, Coredump, Http, Net, ContentExport, AppContent, Json2, MsgDialog.native and SaveData.native, plus 3 real libc functions (cbrtf, remainderf, wcsrtombs). Unknown NIDs are recorded in TechnicalDebt. NID-to-library attribution (X=IMPORT_LIB index, verified on TLOU) and call-site liveness (GOT xrefs through e8/e9 chains) are documented in the commit.
Overlaps open #300 (PlayGoDialog full state machine: 4 same function names, thin bodies here) and #405 (quick_exit: same NID qdGFBoLVNKI, stub here); whoever merges second drops the duplicate.
Tested
Checklist
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-02T12:42:04Z.
Progress report (
8ff209a→1c724c0)📉 System libraries: 77.06% (-3.57%, +3 implemented, +141 declared functions)
✅ 3 implemented
cbrtf_nid_postfixremainderf_nid_postfixwcsrtombs_nid_postfix🆕 141 declared as stubs
redGalaxy64GameServerInitredGalaxy64GetErrorStringredGalaxy64InitredGalaxy64ProcessDataredGalaxy64ProcessGameServerDataredGalaxy64Shutdownredgalaxy_stub_00redgalaxy_stub_01redgalaxy_stub_02redgalaxy_stub_03redgalaxy_stub_04redgalaxy_stub_05redgalaxy_stub_06redgalaxy_stub_07redgalaxy_stub_08redgalaxy_stub_09redgalaxy_stub_10redgalaxy_stub_11redgalaxy_stub_12redgalaxy_stub_13redgalaxy_stub_14redgalaxy_stub_15redgalaxy_stub_16redgalaxy_stub_17redgalaxy_stub_18redgalaxy_stub_19redgalaxy_stub_20redgalaxy_stub_21redgalaxy_stub_22sceAppContentUnknown00sceHttpUnknown00sceHttpUnknown01sceJson2Unknown00sceMsgDialogUnknown00sceNetUnknown00sceNpCppWebApiUnknown00sceNpCppWebApiUnknown01sceNpCppWebApiUnknown02sceNpCppWebApiUnknown03sceNpCppWebApiUnknown04sceNpCppWebApiUnknown05sceNpCppWebApiUnknown06sceNpCppWebApiUnknown07sceNpCppWebApiUnknown08sceNpCppWebApiUnknown09sceNpCppWebApiUnknown10sceNpCppWebApiUnknown11sceNpCppWebApiUnknown12sceNpCppWebApiUnknown13sceNpCppWebApiUnknown14sceNpCppWebApiUnknown15sceNpCppWebApiUnknown16sceNpCppWebApiUnknown17sceNpCppWebApiUnknown18sceNpCppWebApiUnknown19sceNpCppWebApiUnknown20sceNpCppWebApiUnknown21sceNpCppWebApiUnknown22sceNpCppWebApiUnknown23sceNpCppWebApiUnknown24sceNpCppWebApiUnknown25sceNpCppWebApiUnknown26sceNpCppWebApiUnknown27sceNpCppWebApiUnknown28sceNpCppWebApiUnknown29sceNpCppWebApiUnknown30sceNpCppWebApiUnknown31sceNpCppWebApiUnknown32sceNpCppWebApiUnknown33sceNpCppWebApiUnknown34sceNpCppWebApiUnknown35sceNpCppWebApiUnknown36sceNpCppWebApiUnknown37sceNpCppWebApiUnknown38sceNpCppWebApiUnknown39sceNpCppWebApiUnknown40sceNpCppWebApiUnknown41sceNpCppWebApiUnknown42sceNpCppWebApiUnknown43sceNpCppWebApiUnknown44sceNpCppWebApiUnknown45sceNpCppWebApiUnknown46sceNpCppWebApiUnknown47sceNpCppWebApiUnknown48sceNpCppWebApiUnknown49sceNpCppWebApiUnknown50sceNpCppWebApiUnknown51sceNpCppWebApiUnknown52sceNpCppWebApiUnknown53sceNpCppWebApiUnknown54sceNpCppWebApiUnknown55sceNpCppWebApiUnknown56sceNpCppWebApiUnknown57sceNpCppWebApiUnknown58sceNpCppWebApiUnknown59sceNpCppWebApiUnknown60sceNpCppWebApiUnknown61sceNpCppWebApiUnknown62sceNpCppWebApiUnknown63sceNpCppWebApiUnknown64