diff --git a/CMakeLists.txt b/CMakeLists.txt index b742bc28..bdd6d2bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,8 +95,12 @@ include_directories(src) set(LIBRARIES src/core/libraries/library_common.h src/core/libraries/error_codes.h + src/core/libraries/libscecommondialog.cpp + src/core/libraries/libscecommondialog.h src/core/libraries/libscegnmdriver.cpp src/core/libraries/libscegnmdriver.h + src/core/libraries/libscemsgdialog.cpp + src/core/libraries/libscemsgdialog.h src/core/libraries/libscesystemservice.cpp src/core/libraries/libscesystemservice.h src/core/libraries/libsceuserservice.cpp diff --git a/src/core/hle/libraries/libs.cpp b/src/core/hle/libraries/libs.cpp index 02b8db38..84997d04 100644 --- a/src/core/hle/libraries/libs.cpp +++ b/src/core/hle/libraries/libs.cpp @@ -7,6 +7,8 @@ #include "core/hle/libraries/libpad/pad.h" #include "core/hle/libraries/libs.h" #include "core/hle/libraries/libscegnmdriver/libscegnmdriver.h" +#include "src/core/libraries/libscecommondialog.h" +#include "src/core/libraries/libscemsgdialog.h" #include "src/core/libraries/libscesystemservice.h" #include "src/core/libraries/libsceuserservice.h" @@ -21,6 +23,8 @@ void InitHLELibs(Core::Loader::SymbolsResolver* sym) { Libraries::UserService::RegisterlibSceUserService(sym); Libraries::SystemService::RegisterlibSceSystemService(sym); + Libraries::CommonDialog::RegisterlibSceCommonDialog(sym); + Libraries::MsgDialog::RegisterlibSceMsgDialog(sym); } } // namespace OldLibraries diff --git a/src/core/libraries/libscecommondialog.cpp b/src/core/libraries/libscecommondialog.cpp new file mode 100644 index 00000000..c2aef009 --- /dev/null +++ b/src/core/libraries/libscecommondialog.cpp @@ -0,0 +1,210 @@ +// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +// Generated By moduleGenerator +#include "common/log.h" +#include "error_codes.h" +#include "libscecommondialog.h" + +namespace Libraries::CommonDialog { + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil12getSelfAppIdEv() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11closeModuleEv() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11updateStateEv() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client15launchCmnDialogEv() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD0Ev() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD1Ev() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD2Ev() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client10isCloseReqEv() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client13getFinishDataEPvm() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client14getClientStateEv() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client19isInitializedStatusEv() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8getAppIdEv() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8isFinishEv() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client9getResultEv() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZTVN3sce16CommonDialogUtil6ClientE() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceCommonDialogInitialize() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceCommonDialogIsUsed() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_0FF577E4E8457883() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_41716C2CE379416C() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_483A427D8F6E0748() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_6944B83E02727BDF() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_69F2DD23A8B4950C() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_9954673DEAC170AD() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_A7D4D3AB86CB7455() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_ADE4C51256B8350C() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_B71349CF15FACAB0() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_CB18E00EFA946C64() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_F2AEE270605622B0() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +void RegisterlibSceCommonDialog(Core::Loader::SymbolsResolver* sym) { + LIB_FUNCTION("2RdicdHhtGA", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZN3sce16CommonDialogUtil12getSelfAppIdEv); + LIB_FUNCTION("I+tdxsCap08", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZN3sce16CommonDialogUtil6Client11closeModuleEv); + LIB_FUNCTION("v4+gzuTkv6k", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZN3sce16CommonDialogUtil6Client11updateStateEv); + LIB_FUNCTION("CwCzG0nnLg8", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZN3sce16CommonDialogUtil6Client15launchCmnDialogEv); + LIB_FUNCTION("Ib1SMmbr07k", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZN3sce16CommonDialogUtil6ClientD0Ev); + LIB_FUNCTION("6TIMpGvsrC4", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZN3sce16CommonDialogUtil6ClientD1Ev); + LIB_FUNCTION("+UyKxWAnqIU", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZN3sce16CommonDialogUtil6ClientD2Ev); + LIB_FUNCTION("bUCx72-9f0g", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZNK3sce16CommonDialogUtil6Client10isCloseReqEv); + LIB_FUNCTION("xZtXq554Lbg", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZNK3sce16CommonDialogUtil6Client13getFinishDataEPvm); + LIB_FUNCTION("C-EZ3PkhibQ", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZNK3sce16CommonDialogUtil6Client14getClientStateEv); + LIB_FUNCTION("70niEKUAnZ0", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZNK3sce16CommonDialogUtil6Client19isInitializedStatusEv); + LIB_FUNCTION("mdJgdwoM0Mo", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZNK3sce16CommonDialogUtil6Client8getAppIdEv); + LIB_FUNCTION("87GekE1nowg", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZNK3sce16CommonDialogUtil6Client8isFinishEv); + LIB_FUNCTION("6ljeTSi+fjs", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZNK3sce16CommonDialogUtil6Client9getResultEv); + LIB_FUNCTION("W2MzrWix2mM", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + _ZTVN3sce16CommonDialogUtil6ClientE); + LIB_FUNCTION("uoUpLGNkygk", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + sceCommonDialogInitialize); + LIB_FUNCTION("BQ3tey0JmQM", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + sceCommonDialogIsUsed); + LIB_FUNCTION("D-V35OhFeIM", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_0FF577E4E8457883); + LIB_FUNCTION("QXFsLON5QWw", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_41716C2CE379416C); + LIB_FUNCTION("SDpCfY9uB0g", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_483A427D8F6E0748); + LIB_FUNCTION("aUS4PgJye98", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_6944B83E02727BDF); + LIB_FUNCTION("afLdI6i0lQw", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_69F2DD23A8B4950C); + LIB_FUNCTION("mVRnPerBcK0", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_9954673DEAC170AD); + LIB_FUNCTION("p9TTq4bLdFU", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_A7D4D3AB86CB7455); + LIB_FUNCTION("reTFEla4NQw", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_ADE4C51256B8350C); + LIB_FUNCTION("txNJzxX6yrA", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_B71349CF15FACAB0); + LIB_FUNCTION("yxjgDvqUbGQ", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_CB18E00EFA946C64); + LIB_FUNCTION("8q7icGBWIrA", "libSceCommonDialog", 1, "libSceCommonDialog", 1, 1, + Func_F2AEE270605622B0); +}; + +} // namespace Libraries::CommonDialog \ No newline at end of file diff --git a/src/core/libraries/libscecommondialog.h b/src/core/libraries/libscecommondialog.h new file mode 100644 index 00000000..43d62897 --- /dev/null +++ b/src/core/libraries/libscecommondialog.h @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "library_common.h" + +namespace Libraries::CommonDialog { + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil12getSelfAppIdEv(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11closeModuleEv(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11updateStateEv(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client15launchCmnDialogEv(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD0Ev(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD1Ev(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD2Ev(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client10isCloseReqEv(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client13getFinishDataEPvm(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client14getClientStateEv(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client19isInitializedStatusEv(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8getAppIdEv(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8isFinishEv(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client9getResultEv(); +int PS4_SYSV_ABI _ZTVN3sce16CommonDialogUtil6ClientE(); +int PS4_SYSV_ABI sceCommonDialogInitialize(); +int PS4_SYSV_ABI sceCommonDialogIsUsed(); +int PS4_SYSV_ABI Func_0FF577E4E8457883(); +int PS4_SYSV_ABI Func_41716C2CE379416C(); +int PS4_SYSV_ABI Func_483A427D8F6E0748(); +int PS4_SYSV_ABI Func_6944B83E02727BDF(); +int PS4_SYSV_ABI Func_69F2DD23A8B4950C(); +int PS4_SYSV_ABI Func_9954673DEAC170AD(); +int PS4_SYSV_ABI Func_A7D4D3AB86CB7455(); +int PS4_SYSV_ABI Func_ADE4C51256B8350C(); +int PS4_SYSV_ABI Func_B71349CF15FACAB0(); +int PS4_SYSV_ABI Func_CB18E00EFA946C64(); +int PS4_SYSV_ABI Func_F2AEE270605622B0(); + +void RegisterlibSceCommonDialog(Core::Loader::SymbolsResolver* sym); +} // namespace Libraries::CommonDialog \ No newline at end of file diff --git a/src/core/libraries/libscemsgdialog.cpp b/src/core/libraries/libscemsgdialog.cpp new file mode 100644 index 00000000..a9d578f4 --- /dev/null +++ b/src/core/libraries/libscemsgdialog.cpp @@ -0,0 +1,82 @@ +// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +// Generated By moduleGenerator +#include "common/log.h" +#include "error_codes.h" +#include "libscemsgdialog.h" + +namespace Libraries::MsgDialog { + +int PS4_SYSV_ABI sceMsgDialogClose() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogGetResult() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogGetStatus() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogInitialize() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogOpen() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogProgressBarInc() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogProgressBarSetMsg() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogProgressBarSetValue() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogTerminate() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogUpdateStatus() { + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +void RegisterlibSceMsgDialog(Core::Loader::SymbolsResolver* sym) { + LIB_FUNCTION("HTrcDKlFKuM", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, sceMsgDialogClose); + LIB_FUNCTION("Lr8ovHH9l6A", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, + sceMsgDialogGetResult); + LIB_FUNCTION("CWVW78Qc3fI", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, + sceMsgDialogGetStatus); + LIB_FUNCTION("lDqxaY1UbEo", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, + sceMsgDialogInitialize); + LIB_FUNCTION("b06Hh0DPEaE", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, sceMsgDialogOpen); + LIB_FUNCTION("Gc5k1qcK4fs", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, + sceMsgDialogProgressBarInc); + LIB_FUNCTION("6H-71OdrpXM", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, + sceMsgDialogProgressBarSetMsg); + LIB_FUNCTION("wTpfglkmv34", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, + sceMsgDialogProgressBarSetValue); + LIB_FUNCTION("ePw-kqZmelo", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, + sceMsgDialogTerminate); + LIB_FUNCTION("6fIC3XKt2k0", "libSceMsgDialog", 1, "libSceMsgDialog", 1, 1, + sceMsgDialogUpdateStatus); +}; + +} // namespace Libraries::MsgDialog \ No newline at end of file diff --git a/src/core/libraries/libscemsgdialog.h b/src/core/libraries/libscemsgdialog.h new file mode 100644 index 00000000..a685c383 --- /dev/null +++ b/src/core/libraries/libscemsgdialog.h @@ -0,0 +1,22 @@ +// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "library_common.h" + +namespace Libraries::MsgDialog { + +int PS4_SYSV_ABI sceMsgDialogClose(); +int PS4_SYSV_ABI sceMsgDialogGetResult(); +int PS4_SYSV_ABI sceMsgDialogGetStatus(); +int PS4_SYSV_ABI sceMsgDialogInitialize(); +int PS4_SYSV_ABI sceMsgDialogOpen(); +int PS4_SYSV_ABI sceMsgDialogProgressBarInc(); +int PS4_SYSV_ABI sceMsgDialogProgressBarSetMsg(); +int PS4_SYSV_ABI sceMsgDialogProgressBarSetValue(); +int PS4_SYSV_ABI sceMsgDialogTerminate(); +int PS4_SYSV_ABI sceMsgDialogUpdateStatus(); + +void RegisterlibSceMsgDialog(Core::Loader::SymbolsResolver* sym); +} // namespace Libraries::MsgDialog \ No newline at end of file diff --git a/tools/ModuleGenerator/libraries/libscecommondialog.cpp b/tools/ModuleGenerator/libraries/libscecommondialog.cpp new file mode 100644 index 00000000..c70ed7e5 --- /dev/null +++ b/tools/ModuleGenerator/libraries/libscecommondialog.cpp @@ -0,0 +1,210 @@ +// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +// Generated By moduleGenerator +#include "libscecommondialog.h" +#include "common/log.h" +#include "error_codes.h" + +namespace Libraries::CommonDialog{ + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil12getSelfAppIdEv() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11closeModuleEv() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11updateStateEv() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client15launchCmnDialogEv() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD0Ev() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD1Ev() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD2Ev() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client10isCloseReqEv() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client13getFinishDataEPvm() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client14getClientStateEv() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client19isInitializedStatusEv() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8getAppIdEv() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8isFinishEv() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client9getResultEv() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI _ZTVN3sce16CommonDialogUtil6ClientE() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceCommonDialogInitialize() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceCommonDialogIsUsed() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_0FF577E4E8457883() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_41716C2CE379416C() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_483A427D8F6E0748() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_6944B83E02727BDF() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_69F2DD23A8B4950C() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_9954673DEAC170AD() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_A7D4D3AB86CB7455() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_ADE4C51256B8350C() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_B71349CF15FACAB0() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_CB18E00EFA946C64() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI Func_F2AEE270605622B0() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +void RegisterlibSceCommonDialog(Core::Loader::SymbolsResolver * sym) { + LIB_FUNCTION("2RdicdHhtGA", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZN3sce16CommonDialogUtil12getSelfAppIdEv ); + LIB_FUNCTION("I+tdxsCap08", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZN3sce16CommonDialogUtil6Client11closeModuleEv ); + LIB_FUNCTION("v4+gzuTkv6k", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZN3sce16CommonDialogUtil6Client11updateStateEv ); + LIB_FUNCTION("CwCzG0nnLg8", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZN3sce16CommonDialogUtil6Client15launchCmnDialogEv ); + LIB_FUNCTION("Ib1SMmbr07k", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZN3sce16CommonDialogUtil6ClientD0Ev ); + LIB_FUNCTION("6TIMpGvsrC4", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZN3sce16CommonDialogUtil6ClientD1Ev ); + LIB_FUNCTION("+UyKxWAnqIU", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZN3sce16CommonDialogUtil6ClientD2Ev ); + LIB_FUNCTION("bUCx72-9f0g", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZNK3sce16CommonDialogUtil6Client10isCloseReqEv ); + LIB_FUNCTION("xZtXq554Lbg", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZNK3sce16CommonDialogUtil6Client13getFinishDataEPvm ); + LIB_FUNCTION("C-EZ3PkhibQ", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZNK3sce16CommonDialogUtil6Client14getClientStateEv ); + LIB_FUNCTION("70niEKUAnZ0", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZNK3sce16CommonDialogUtil6Client19isInitializedStatusEv ); + LIB_FUNCTION("mdJgdwoM0Mo", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZNK3sce16CommonDialogUtil6Client8getAppIdEv ); + LIB_FUNCTION("87GekE1nowg", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZNK3sce16CommonDialogUtil6Client8isFinishEv ); + LIB_FUNCTION("6ljeTSi+fjs", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZNK3sce16CommonDialogUtil6Client9getResultEv ); + LIB_FUNCTION("W2MzrWix2mM", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , _ZTVN3sce16CommonDialogUtil6ClientE ); + LIB_FUNCTION("uoUpLGNkygk", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , sceCommonDialogInitialize ); + LIB_FUNCTION("BQ3tey0JmQM", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , sceCommonDialogIsUsed ); + LIB_FUNCTION("D-V35OhFeIM", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_0FF577E4E8457883 ); + LIB_FUNCTION("QXFsLON5QWw", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_41716C2CE379416C ); + LIB_FUNCTION("SDpCfY9uB0g", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_483A427D8F6E0748 ); + LIB_FUNCTION("aUS4PgJye98", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_6944B83E02727BDF ); + LIB_FUNCTION("afLdI6i0lQw", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_69F2DD23A8B4950C ); + LIB_FUNCTION("mVRnPerBcK0", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_9954673DEAC170AD ); + LIB_FUNCTION("p9TTq4bLdFU", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_A7D4D3AB86CB7455 ); + LIB_FUNCTION("reTFEla4NQw", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_ADE4C51256B8350C ); + LIB_FUNCTION("txNJzxX6yrA", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_B71349CF15FACAB0 ); + LIB_FUNCTION("yxjgDvqUbGQ", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_CB18E00EFA946C64 ); + LIB_FUNCTION("8q7icGBWIrA", "libSceCommonDialog" , 1 , "libSceCommonDialog", 1, 1 , Func_F2AEE270605622B0 ); +}; + +} \ No newline at end of file diff --git a/tools/ModuleGenerator/libraries/libscecommondialog.h b/tools/ModuleGenerator/libraries/libscecommondialog.h new file mode 100644 index 00000000..e88e3d9d --- /dev/null +++ b/tools/ModuleGenerator/libraries/libscecommondialog.h @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "library_common.h" + +namespace Libraries::CommonDialog{ + +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil12getSelfAppIdEv(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11closeModuleEv(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client11updateStateEv(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6Client15launchCmnDialogEv(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD0Ev(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD1Ev(); +int PS4_SYSV_ABI _ZN3sce16CommonDialogUtil6ClientD2Ev(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client10isCloseReqEv(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client13getFinishDataEPvm(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client14getClientStateEv(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client19isInitializedStatusEv(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8getAppIdEv(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client8isFinishEv(); +int PS4_SYSV_ABI _ZNK3sce16CommonDialogUtil6Client9getResultEv(); +int PS4_SYSV_ABI _ZTVN3sce16CommonDialogUtil6ClientE(); +int PS4_SYSV_ABI sceCommonDialogInitialize(); +int PS4_SYSV_ABI sceCommonDialogIsUsed(); +int PS4_SYSV_ABI Func_0FF577E4E8457883(); +int PS4_SYSV_ABI Func_41716C2CE379416C(); +int PS4_SYSV_ABI Func_483A427D8F6E0748(); +int PS4_SYSV_ABI Func_6944B83E02727BDF(); +int PS4_SYSV_ABI Func_69F2DD23A8B4950C(); +int PS4_SYSV_ABI Func_9954673DEAC170AD(); +int PS4_SYSV_ABI Func_A7D4D3AB86CB7455(); +int PS4_SYSV_ABI Func_ADE4C51256B8350C(); +int PS4_SYSV_ABI Func_B71349CF15FACAB0(); +int PS4_SYSV_ABI Func_CB18E00EFA946C64(); +int PS4_SYSV_ABI Func_F2AEE270605622B0(); + +void RegisterlibSceCommonDialog(Core::Loader::SymbolsResolver * sym); +} \ No newline at end of file diff --git a/tools/ModuleGenerator/libraries/libscemsgdialog.cpp b/tools/ModuleGenerator/libraries/libscemsgdialog.cpp new file mode 100644 index 00000000..c01dc5a4 --- /dev/null +++ b/tools/ModuleGenerator/libraries/libscemsgdialog.cpp @@ -0,0 +1,84 @@ +// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +// Generated By moduleGenerator +#include "libscemsgdialog.h" +#include "common/log.h" +#include "error_codes.h" + +namespace Libraries::MsgDialog{ + +int PS4_SYSV_ABI sceMsgDialogClose() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogGetResult() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogGetStatus() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogInitialize() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogOpen() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogProgressBarInc() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogProgressBarSetMsg() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogProgressBarSetValue() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogTerminate() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +int PS4_SYSV_ABI sceMsgDialogUpdateStatus() +{ + PRINT_UNIMPLEMENTED_FUNCTION_NAME(); + return ORBIS_OK; +} + +void RegisterlibSceMsgDialog(Core::Loader::SymbolsResolver * sym) { + LIB_FUNCTION("HTrcDKlFKuM", "libSceMsgDialog" , 1 , "libSceMsgDialog", 1, 1 , sceMsgDialogClose ); + LIB_FUNCTION("Lr8ovHH9l6A", "libSceMsgDialog" , 1 , "libSceMsgDialog", 1, 1 , sceMsgDialogGetResult ); + LIB_FUNCTION("CWVW78Qc3fI", "libSceMsgDialog" , 1 , "libSceMsgDialog", 1, 1 , sceMsgDialogGetStatus ); + LIB_FUNCTION("lDqxaY1UbEo", "libSceMsgDialog" , 1 , "libSceMsgDialog", 1, 1 , sceMsgDialogInitialize ); + LIB_FUNCTION("b06Hh0DPEaE", "libSceMsgDialog" , 1 , "libSceMsgDialog", 1, 1 , sceMsgDialogOpen ); + LIB_FUNCTION("Gc5k1qcK4fs", "libSceMsgDialog" , 1 , "libSceMsgDialog", 1, 1 , sceMsgDialogProgressBarInc ); + LIB_FUNCTION("6H-71OdrpXM", "libSceMsgDialog" , 1 , "libSceMsgDialog", 1, 1 , sceMsgDialogProgressBarSetMsg ); + LIB_FUNCTION("wTpfglkmv34", "libSceMsgDialog" , 1 , "libSceMsgDialog", 1, 1 , sceMsgDialogProgressBarSetValue ); + LIB_FUNCTION("ePw-kqZmelo", "libSceMsgDialog" , 1 , "libSceMsgDialog", 1, 1 , sceMsgDialogTerminate ); + LIB_FUNCTION("6fIC3XKt2k0", "libSceMsgDialog" , 1 , "libSceMsgDialog", 1, 1 , sceMsgDialogUpdateStatus ); +}; + +} \ No newline at end of file diff --git a/tools/ModuleGenerator/libraries/libscemsgdialog.h b/tools/ModuleGenerator/libraries/libscemsgdialog.h new file mode 100644 index 00000000..2ba3ddff --- /dev/null +++ b/tools/ModuleGenerator/libraries/libscemsgdialog.h @@ -0,0 +1,22 @@ +// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "library_common.h" + +namespace Libraries::MsgDialog{ + +int PS4_SYSV_ABI sceMsgDialogClose(); +int PS4_SYSV_ABI sceMsgDialogGetResult(); +int PS4_SYSV_ABI sceMsgDialogGetStatus(); +int PS4_SYSV_ABI sceMsgDialogInitialize(); +int PS4_SYSV_ABI sceMsgDialogOpen(); +int PS4_SYSV_ABI sceMsgDialogProgressBarInc(); +int PS4_SYSV_ABI sceMsgDialogProgressBarSetMsg(); +int PS4_SYSV_ABI sceMsgDialogProgressBarSetValue(); +int PS4_SYSV_ABI sceMsgDialogTerminate(); +int PS4_SYSV_ABI sceMsgDialogUpdateStatus(); + +void RegisterlibSceMsgDialog(Core::Loader::SymbolsResolver * sym); +} \ No newline at end of file diff --git a/tools/ModuleGenerator/main.cpp b/tools/ModuleGenerator/main.cpp index 391441e1..2b4ee162 100644 --- a/tools/ModuleGenerator/main.cpp +++ b/tools/ModuleGenerator/main.cpp @@ -166,7 +166,8 @@ int main(int argc, char* argv[]) { modules_to_generate.push_back(std::string("libSceVideoOut")); modules_to_generate.push_back(std::string("libkernel")); modules_to_generate.push_back(std::string("libSceSystemService")); - modules_to_generate.push_back(std::string("libSceUserService")); + modules_to_generate.push_back(std::string("libSceCommonDialog")); + modules_to_generate.push_back(std::string("libSceMsgDialog")); GetSymbolsFromLibDoc(modules_to_generate); return 0;