copied from shadps4 repo

This commit is contained in:
georgemoralis 2024-03-22 15:22:56 +02:00
parent 13fae39511
commit 30ec33924d
25 changed files with 45774 additions and 0 deletions

91
.clang-format Normal file
View File

@ -0,0 +1,91 @@
# SPDX-FileCopyrightText: 2016 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
# SPDX-License-Identifier: GPL-2.0-or-later
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: false
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
- Regex: '^\<[^Q][^/.>]*\>'
Priority: -2
- Regex: '^\<'
Priority: -1
- Regex: '^\"'
Priority: 0
IndentCaseLabels: false
IndentWidth: 4
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 150
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 4
UseTab: Never
...

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/.vs/*
/out/*

4
.gitmodules vendored Normal file
View File

@ -0,0 +1,4 @@
[submodule "externals/ps4libdoc"]
path = externals/ps4libdoc
url = https://github.com/idc/ps4libdoc.git
branch = 9.00

23
CMakeLists.txt Normal file
View File

@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
cmake_minimum_required(VERSION 3.22)
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
project(modgen VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_definitions( -DMODULE_DIR="${CMAKE_CURRENT_SOURCE_DIR}/libraries/" )
add_definitions( -DLIBDOC_DIR="${CMAKE_CURRENT_SOURCE_DIR}/externals/ps4libdoc/system/common/lib/" )
add_executable(modgen
main.cpp
json.hpp
)

1
externals/ps4libdoc vendored Submodule

@ -0,0 +1 @@
Subproject commit a71315e7f36e312ae71e9e3a92982e9ffbfc725f

24596
json.hpp Normal file

File diff suppressed because it is too large Load Diff

7646
libraries/libkernel.cpp Normal file

File diff suppressed because it is too large Load Diff

1061
libraries/libkernel.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,511 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// Generated By moduleGenerator
#include "libsceaudioout.h"
#include "common/log.h"
#include "error_codes.h"
namespace Libraries::AudioOut{
int PS4_SYSV_ABI sceAudioOutDeviceIdOpen()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioDeviceControlGet()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioDeviceControlSet()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutA3dControl()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutA3dExit()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutA3dInit()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutAttachToApplicationByPid()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutChangeAppModuleState()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutClose()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutDetachFromApplicationByPid()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutExConfigureOutputMode()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutExGetSystemInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutExPtClose()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutExPtGetLastOutputTime()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutExPtOpen()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutExSystemInfoIsSupportedAudioOutExMode()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetFocusEnablePid()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetHandleStatusInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetInfoOpenNum()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetLastOutputTime()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetPortState()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetSimulatedBusUsableStatusByBusType()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetSimulatedHandleStatusInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetSimulatedHandleStatusInfo2()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetSparkVss()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutGetSystemState()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutInit()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutInitIpmiGetSession()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutMasteringGetState()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutMasteringInit()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutMasteringSetParam()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutMasteringTerm()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutMbusInit()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutOpen()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutOpenEx()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutOutput()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutOutputs()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutPtClose()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutPtGetLastOutputTime()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutPtOpen()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetConnections()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetConnectionsForUser()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetDevConnection()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetHeadphoneOutMode()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetJediJackVolume()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetJediSpkVolume()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetMainOutput()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetMixLevelPadSpk()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetMorpheusParam()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetMorpheusWorkingMode()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetPortConnections()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetPortStatuses()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetRecMode()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetSparkParam()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetUsbVolume()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetVolume()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetVolumeDown()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutStartAuxBroadcast()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutStartSharePlay()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutStopAuxBroadcast()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutStopSharePlay()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSuspendResume()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSysConfigureOutputMode()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSysGetHdmiMonitorInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSysGetSystemInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSysHdmiMonitorInfoIsSupportedAudioOutMode()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSystemControlGet()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSystemControlSet()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSparkControlSetEqCoef()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI sceAudioOutSetSystemDebugState()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
void RegisterlibSceAudioOut(Core::Loader::SymbolsResolver * sym) {
LIB_FUNCTION("cx2dYFbzIAg", "libSceAudioOutDeviceService" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutDeviceIdOpen );
LIB_FUNCTION("tKumjQSzhys", "libSceAudioDeviceControl" , 1 , "libSceAudioOut", 1, 1 , sceAudioDeviceControlGet );
LIB_FUNCTION("5ChfcHOf3SM", "libSceAudioDeviceControl" , 1 , "libSceAudioOut", 1, 1 , sceAudioDeviceControlSet );
LIB_FUNCTION("Iz9X7ISldhs", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutA3dControl );
LIB_FUNCTION("9RVIoocOVAo", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutA3dExit );
LIB_FUNCTION("n7KgxE8rOuE", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutA3dInit );
LIB_FUNCTION("WBAO6-n0-4M", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutAttachToApplicationByPid );
LIB_FUNCTION("O3FM2WXIJaI", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutChangeAppModuleState );
LIB_FUNCTION("s1--uE9mBFw", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutClose );
LIB_FUNCTION("ol4LbeTG8mc", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutDetachFromApplicationByPid );
LIB_FUNCTION("r1V9IFEE+Ts", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutExConfigureOutputMode );
LIB_FUNCTION("wZakRQsWGos", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutExGetSystemInfo );
LIB_FUNCTION("xjjhT5uw08o", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutExPtClose );
LIB_FUNCTION("DsST7TNsyfo", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutExPtGetLastOutputTime );
LIB_FUNCTION("4UlW3CSuCa4", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutExPtOpen );
LIB_FUNCTION("Xcj8VTtnZw0", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutExSystemInfoIsSupportedAudioOutExMode );
LIB_FUNCTION("I3Fwcmkg5Po", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetFocusEnablePid );
LIB_FUNCTION("Y3lXfCFEWFY", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetHandleStatusInfo );
LIB_FUNCTION("-00OAutAw+c", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetInfo );
LIB_FUNCTION("RqmKxBqB8B4", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetInfoOpenNum );
LIB_FUNCTION("Ptlts326pds", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetLastOutputTime );
LIB_FUNCTION("GrQ9s4IrNaQ", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetPortState );
LIB_FUNCTION("c7mVozxJkPU", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetSimulatedBusUsableStatusByBusType );
LIB_FUNCTION("pWmS7LajYlo", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetSimulatedHandleStatusInfo );
LIB_FUNCTION("oPLghhAWgMM", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetSimulatedHandleStatusInfo2 );
LIB_FUNCTION("5+r7JYHpkXg", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetSparkVss );
LIB_FUNCTION("R5hemoKKID8", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutGetSystemState );
LIB_FUNCTION("JfEPXVxhFqA", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutInit );
LIB_FUNCTION("n16Kdoxnvl0", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutInitIpmiGetSession );
LIB_FUNCTION("r+qKw+ueD+Q", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutMasteringGetState );
LIB_FUNCTION("xX4RLegarbg", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutMasteringInit );
LIB_FUNCTION("4055yaUg3EY", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutMasteringSetParam );
LIB_FUNCTION("RVWtUgoif5o", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutMasteringTerm );
LIB_FUNCTION("-LXhcGARw3k", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutMbusInit );
LIB_FUNCTION("ekNvsT22rsY", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutOpen );
LIB_FUNCTION("qLpSK75lXI4", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutOpenEx );
LIB_FUNCTION("QOQtbeDqsT4", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutOutput );
LIB_FUNCTION("w3PdaSTSwGE", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutOutputs );
LIB_FUNCTION("MapHTgeogbk", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutPtClose );
LIB_FUNCTION("YZaq+UKbriQ", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutPtGetLastOutputTime );
LIB_FUNCTION("xyT8IUCL3CI", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutPtOpen );
LIB_FUNCTION("o4OLQQqqA90", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetConnections );
LIB_FUNCTION("QHq2ylFOZ0k", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetConnectionsForUser );
LIB_FUNCTION("r9KGqGpwTpg", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetDevConnection );
LIB_FUNCTION("08MKi2E-RcE", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetHeadphoneOutMode );
LIB_FUNCTION("18IVGrIQDU4", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetJediJackVolume );
LIB_FUNCTION("h0o+D4YYr1k", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetJediSpkVolume );
LIB_FUNCTION("KI9cl22to7E", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetMainOutput );
LIB_FUNCTION("wVwPU50pS1c", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetMixLevelPadSpk );
LIB_FUNCTION("eeRsbeGYe20", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetMorpheusParam );
LIB_FUNCTION("IZrItPnflBM", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetMorpheusWorkingMode );
LIB_FUNCTION("Gy0ReOgXW00", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetPortConnections );
LIB_FUNCTION("oRBFflIrCg0", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetPortStatuses );
LIB_FUNCTION("ae-IVPMSWjU", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetRecMode );
LIB_FUNCTION("d3WL2uPE1eE", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetSparkParam );
LIB_FUNCTION("X7Cfsiujm8Y", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetUsbVolume );
LIB_FUNCTION("b+uAV89IlxE", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetVolume );
LIB_FUNCTION("rho9DH-0ehs", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetVolumeDown );
LIB_FUNCTION("I91P0HAPpjw", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutStartAuxBroadcast );
LIB_FUNCTION("uo+eoPzdQ-s", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutStartSharePlay );
LIB_FUNCTION("AImiaYFrKdc", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutStopAuxBroadcast );
LIB_FUNCTION("teCyKKZPjME", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutStopSharePlay );
LIB_FUNCTION("95bdtHdNUic", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSuspendResume );
LIB_FUNCTION("oRJZnXxok-M", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSysConfigureOutputMode );
LIB_FUNCTION("Tf9-yOJwF-A", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSysGetHdmiMonitorInfo );
LIB_FUNCTION("y2-hP-KoTMI", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSysGetSystemInfo );
LIB_FUNCTION("YV+bnMvMfYg", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSysHdmiMonitorInfoIsSupportedAudioOutMode );
LIB_FUNCTION("JEHhANREcLs", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSystemControlGet );
LIB_FUNCTION("9CHWVv6r3Dg", "libSceAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSystemControlSet );
LIB_FUNCTION("Mt7JB3lOyJk", "libSceAudioOutSparkControl" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSparkControlSetEqCoef );
LIB_FUNCTION("7UsdDOEvjlk", "libSceDbgAudioOut" , 1 , "libSceAudioOut", 1, 1 , sceAudioOutSetSystemDebugState );
};
}

View File

@ -0,0 +1,83 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "library_common.h"
namespace Libraries::AudioOut{
int PS4_SYSV_ABI sceAudioOutDeviceIdOpen();
int PS4_SYSV_ABI sceAudioDeviceControlGet();
int PS4_SYSV_ABI sceAudioDeviceControlSet();
int PS4_SYSV_ABI sceAudioOutA3dControl();
int PS4_SYSV_ABI sceAudioOutA3dExit();
int PS4_SYSV_ABI sceAudioOutA3dInit();
int PS4_SYSV_ABI sceAudioOutAttachToApplicationByPid();
int PS4_SYSV_ABI sceAudioOutChangeAppModuleState();
int PS4_SYSV_ABI sceAudioOutClose();
int PS4_SYSV_ABI sceAudioOutDetachFromApplicationByPid();
int PS4_SYSV_ABI sceAudioOutExConfigureOutputMode();
int PS4_SYSV_ABI sceAudioOutExGetSystemInfo();
int PS4_SYSV_ABI sceAudioOutExPtClose();
int PS4_SYSV_ABI sceAudioOutExPtGetLastOutputTime();
int PS4_SYSV_ABI sceAudioOutExPtOpen();
int PS4_SYSV_ABI sceAudioOutExSystemInfoIsSupportedAudioOutExMode();
int PS4_SYSV_ABI sceAudioOutGetFocusEnablePid();
int PS4_SYSV_ABI sceAudioOutGetHandleStatusInfo();
int PS4_SYSV_ABI sceAudioOutGetInfo();
int PS4_SYSV_ABI sceAudioOutGetInfoOpenNum();
int PS4_SYSV_ABI sceAudioOutGetLastOutputTime();
int PS4_SYSV_ABI sceAudioOutGetPortState();
int PS4_SYSV_ABI sceAudioOutGetSimulatedBusUsableStatusByBusType();
int PS4_SYSV_ABI sceAudioOutGetSimulatedHandleStatusInfo();
int PS4_SYSV_ABI sceAudioOutGetSimulatedHandleStatusInfo2();
int PS4_SYSV_ABI sceAudioOutGetSparkVss();
int PS4_SYSV_ABI sceAudioOutGetSystemState();
int PS4_SYSV_ABI sceAudioOutInit();
int PS4_SYSV_ABI sceAudioOutInitIpmiGetSession();
int PS4_SYSV_ABI sceAudioOutMasteringGetState();
int PS4_SYSV_ABI sceAudioOutMasteringInit();
int PS4_SYSV_ABI sceAudioOutMasteringSetParam();
int PS4_SYSV_ABI sceAudioOutMasteringTerm();
int PS4_SYSV_ABI sceAudioOutMbusInit();
int PS4_SYSV_ABI sceAudioOutOpen();
int PS4_SYSV_ABI sceAudioOutOpenEx();
int PS4_SYSV_ABI sceAudioOutOutput();
int PS4_SYSV_ABI sceAudioOutOutputs();
int PS4_SYSV_ABI sceAudioOutPtClose();
int PS4_SYSV_ABI sceAudioOutPtGetLastOutputTime();
int PS4_SYSV_ABI sceAudioOutPtOpen();
int PS4_SYSV_ABI sceAudioOutSetConnections();
int PS4_SYSV_ABI sceAudioOutSetConnectionsForUser();
int PS4_SYSV_ABI sceAudioOutSetDevConnection();
int PS4_SYSV_ABI sceAudioOutSetHeadphoneOutMode();
int PS4_SYSV_ABI sceAudioOutSetJediJackVolume();
int PS4_SYSV_ABI sceAudioOutSetJediSpkVolume();
int PS4_SYSV_ABI sceAudioOutSetMainOutput();
int PS4_SYSV_ABI sceAudioOutSetMixLevelPadSpk();
int PS4_SYSV_ABI sceAudioOutSetMorpheusParam();
int PS4_SYSV_ABI sceAudioOutSetMorpheusWorkingMode();
int PS4_SYSV_ABI sceAudioOutSetPortConnections();
int PS4_SYSV_ABI sceAudioOutSetPortStatuses();
int PS4_SYSV_ABI sceAudioOutSetRecMode();
int PS4_SYSV_ABI sceAudioOutSetSparkParam();
int PS4_SYSV_ABI sceAudioOutSetUsbVolume();
int PS4_SYSV_ABI sceAudioOutSetVolume();
int PS4_SYSV_ABI sceAudioOutSetVolumeDown();
int PS4_SYSV_ABI sceAudioOutStartAuxBroadcast();
int PS4_SYSV_ABI sceAudioOutStartSharePlay();
int PS4_SYSV_ABI sceAudioOutStopAuxBroadcast();
int PS4_SYSV_ABI sceAudioOutStopSharePlay();
int PS4_SYSV_ABI sceAudioOutSuspendResume();
int PS4_SYSV_ABI sceAudioOutSysConfigureOutputMode();
int PS4_SYSV_ABI sceAudioOutSysGetHdmiMonitorInfo();
int PS4_SYSV_ABI sceAudioOutSysGetSystemInfo();
int PS4_SYSV_ABI sceAudioOutSysHdmiMonitorInfoIsSupportedAudioOutMode();
int PS4_SYSV_ABI sceAudioOutSystemControlGet();
int PS4_SYSV_ABI sceAudioOutSystemControlSet();
int PS4_SYSV_ABI sceAudioOutSparkControlSetEqCoef();
int PS4_SYSV_ABI sceAudioOutSetSystemDebugState();
void RegisterlibSceAudioOut(Core::Loader::SymbolsResolver * sym);
}

View File

@ -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 );
};
}

View File

@ -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);
}

File diff suppressed because it is too large Load Diff

263
libraries/libscegnmdriver.h Normal file
View File

@ -0,0 +1,263 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "library_common.h"
namespace Libraries::GnmDriver{
int PS4_SYSV_ABI sceGnmAddEqEvent();
int PS4_SYSV_ABI sceGnmAreSubmitsAllowed();
int PS4_SYSV_ABI sceGnmBeginWorkload();
int PS4_SYSV_ABI sceGnmComputeWaitOnAddress();
int PS4_SYSV_ABI sceGnmComputeWaitSemaphore();
int PS4_SYSV_ABI sceGnmCreateWorkloadStream();
int PS4_SYSV_ABI sceGnmDebuggerGetAddressWatch();
int PS4_SYSV_ABI sceGnmDebuggerHaltWavefront();
int PS4_SYSV_ABI sceGnmDebuggerReadGds();
int PS4_SYSV_ABI sceGnmDebuggerReadSqIndirectRegister();
int PS4_SYSV_ABI sceGnmDebuggerResumeWavefront();
int PS4_SYSV_ABI sceGnmDebuggerResumeWavefrontCreation();
int PS4_SYSV_ABI sceGnmDebuggerSetAddressWatch();
int PS4_SYSV_ABI sceGnmDebuggerWriteGds();
int PS4_SYSV_ABI sceGnmDebuggerWriteSqIndirectRegister();
int PS4_SYSV_ABI sceGnmDebugHardwareStatus();
int PS4_SYSV_ABI sceGnmDeleteEqEvent();
int PS4_SYSV_ABI sceGnmDestroyWorkloadStream();
int PS4_SYSV_ABI sceGnmDingDong();
int PS4_SYSV_ABI sceGnmDingDongForWorkload();
int PS4_SYSV_ABI sceGnmDisableMipStatsReport();
int PS4_SYSV_ABI sceGnmDispatchDirect();
int PS4_SYSV_ABI sceGnmDispatchIndirect();
int PS4_SYSV_ABI sceGnmDispatchIndirectOnMec();
int PS4_SYSV_ABI sceGnmDispatchInitDefaultHardwareState();
int PS4_SYSV_ABI sceGnmDrawIndex();
int PS4_SYSV_ABI sceGnmDrawIndexAuto();
int PS4_SYSV_ABI sceGnmDrawIndexIndirect();
int PS4_SYSV_ABI sceGnmDrawIndexIndirectCountMulti();
int PS4_SYSV_ABI sceGnmDrawIndexIndirectMulti();
int PS4_SYSV_ABI sceGnmDrawIndexMultiInstanced();
int PS4_SYSV_ABI sceGnmDrawIndexOffset();
int PS4_SYSV_ABI sceGnmDrawIndirect();
int PS4_SYSV_ABI sceGnmDrawIndirectCountMulti();
int PS4_SYSV_ABI sceGnmDrawIndirectMulti();
int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState();
int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState175();
int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState200();
int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState350();
int PS4_SYSV_ABI sceGnmDrawInitToDefaultContextState();
int PS4_SYSV_ABI sceGnmDrawInitToDefaultContextState400();
int PS4_SYSV_ABI sceGnmDrawOpaqueAuto();
int PS4_SYSV_ABI sceGnmDriverCaptureInProgress();
int PS4_SYSV_ABI sceGnmDriverInternalRetrieveGnmInterface();
int PS4_SYSV_ABI sceGnmDriverInternalRetrieveGnmInterfaceForGpuDebugger();
int PS4_SYSV_ABI sceGnmDriverInternalRetrieveGnmInterfaceForGpuException();
int PS4_SYSV_ABI sceGnmDriverInternalRetrieveGnmInterfaceForHDRScopes();
int PS4_SYSV_ABI sceGnmDriverInternalRetrieveGnmInterfaceForReplay();
int PS4_SYSV_ABI sceGnmDriverInternalRetrieveGnmInterfaceForResourceRegistration();
int PS4_SYSV_ABI sceGnmDriverInternalRetrieveGnmInterfaceForValidation();
int PS4_SYSV_ABI sceGnmDriverInternalVirtualQuery();
int PS4_SYSV_ABI sceGnmDriverTraceInProgress();
int PS4_SYSV_ABI sceGnmDriverTriggerCapture();
int PS4_SYSV_ABI sceGnmEndWorkload();
int PS4_SYSV_ABI sceGnmFindResourcesPublic();
int PS4_SYSV_ABI sceGnmFlushGarlic();
int PS4_SYSV_ABI sceGnmGetCoredumpAddress();
int PS4_SYSV_ABI sceGnmGetCoredumpMode();
int PS4_SYSV_ABI sceGnmGetCoredumpProtectionFaultTimestamp();
int PS4_SYSV_ABI sceGnmGetDbgGcHandle();
int PS4_SYSV_ABI sceGnmGetDebugTimestamp();
int PS4_SYSV_ABI sceGnmGetEqEventType();
int PS4_SYSV_ABI sceGnmGetEqTimeStamp();
int PS4_SYSV_ABI sceGnmGetGpuBlockStatus();
int PS4_SYSV_ABI sceGnmGetGpuCoreClockFrequency();
int PS4_SYSV_ABI sceGnmGetGpuInfoStatus();
int PS4_SYSV_ABI sceGnmGetLastWaitedAddress();
int PS4_SYSV_ABI sceGnmGetNumTcaUnits();
int PS4_SYSV_ABI sceGnmGetOffChipTessellationBufferSize();
int PS4_SYSV_ABI sceGnmGetOwnerName();
int PS4_SYSV_ABI sceGnmGetPhysicalCounterFromVirtualized();
int PS4_SYSV_ABI sceGnmGetProtectionFaultTimeStamp();
int PS4_SYSV_ABI sceGnmGetResourceBaseAddressAndSizeInBytes();
int PS4_SYSV_ABI sceGnmGetResourceName();
int PS4_SYSV_ABI sceGnmGetResourceShaderGuid();
int PS4_SYSV_ABI sceGnmGetResourceType();
int PS4_SYSV_ABI sceGnmGetResourceUserData();
int PS4_SYSV_ABI sceGnmGetShaderProgramBaseAddress();
int PS4_SYSV_ABI sceGnmGetShaderStatus();
int PS4_SYSV_ABI sceGnmGetTheTessellationFactorRingBufferBaseAddress();
int PS4_SYSV_ABI sceGnmGpuPaDebugEnter();
int PS4_SYSV_ABI sceGnmGpuPaDebugLeave();
int PS4_SYSV_ABI sceGnmInsertDingDongMarker();
int PS4_SYSV_ABI sceGnmInsertPopMarker();
int PS4_SYSV_ABI sceGnmInsertPushColorMarker();
int PS4_SYSV_ABI sceGnmInsertPushMarker();
int PS4_SYSV_ABI sceGnmInsertSetColorMarker();
int PS4_SYSV_ABI sceGnmInsertSetMarker();
int PS4_SYSV_ABI sceGnmInsertThreadTraceMarker();
int PS4_SYSV_ABI sceGnmInsertWaitFlipDone();
int PS4_SYSV_ABI sceGnmIsCoredumpValid();
int PS4_SYSV_ABI sceGnmIsUserPaEnabled();
int PS4_SYSV_ABI sceGnmLogicalCuIndexToPhysicalCuIndex();
int PS4_SYSV_ABI sceGnmLogicalCuMaskToPhysicalCuMask();
int PS4_SYSV_ABI sceGnmLogicalTcaUnitToPhysical();
int PS4_SYSV_ABI sceGnmMapComputeQueue();
int PS4_SYSV_ABI sceGnmMapComputeQueueWithPriority();
int PS4_SYSV_ABI sceGnmPaDisableFlipCallbacks();
int PS4_SYSV_ABI sceGnmPaEnableFlipCallbacks();
int PS4_SYSV_ABI sceGnmPaHeartbeat();
int PS4_SYSV_ABI sceGnmQueryResourceRegistrationUserMemoryRequirements();
int PS4_SYSV_ABI sceGnmRaiseUserExceptionEvent();
int PS4_SYSV_ABI sceGnmRegisterGdsResource();
int PS4_SYSV_ABI sceGnmRegisterGnmLiveCallbackConfig();
int PS4_SYSV_ABI sceGnmRegisterOwner();
int PS4_SYSV_ABI sceGnmRegisterResource();
int PS4_SYSV_ABI sceGnmRequestFlipAndSubmitDone();
int PS4_SYSV_ABI sceGnmRequestFlipAndSubmitDoneForWorkload();
int PS4_SYSV_ABI sceGnmRequestMipStatsReportAndReset();
int PS4_SYSV_ABI sceGnmResetVgtControl();
int PS4_SYSV_ABI sceGnmSdmaClose();
int PS4_SYSV_ABI sceGnmSdmaConstFill();
int PS4_SYSV_ABI sceGnmSdmaCopyLinear();
int PS4_SYSV_ABI sceGnmSdmaCopyTiled();
int PS4_SYSV_ABI sceGnmSdmaCopyWindow();
int PS4_SYSV_ABI sceGnmSdmaFlush();
int PS4_SYSV_ABI sceGnmSdmaGetMinCmdSize();
int PS4_SYSV_ABI sceGnmSdmaOpen();
int PS4_SYSV_ABI sceGnmSetCsShader();
int PS4_SYSV_ABI sceGnmSetCsShaderWithModifier();
int PS4_SYSV_ABI sceGnmSetEmbeddedPsShader();
int PS4_SYSV_ABI sceGnmSetEmbeddedVsShader();
int PS4_SYSV_ABI sceGnmSetEsShader();
int PS4_SYSV_ABI sceGnmSetGsRingSizes();
int PS4_SYSV_ABI sceGnmSetGsShader();
int PS4_SYSV_ABI sceGnmSetHsShader();
int PS4_SYSV_ABI sceGnmSetLsShader();
int PS4_SYSV_ABI sceGnmSetPsShader();
int PS4_SYSV_ABI sceGnmSetPsShader350();
int PS4_SYSV_ABI sceGnmSetResourceRegistrationUserMemory();
int PS4_SYSV_ABI sceGnmSetResourceUserData();
int PS4_SYSV_ABI sceGnmSetSpiEnableSqCounters();
int PS4_SYSV_ABI sceGnmSetSpiEnableSqCountersForUnitInstance();
int PS4_SYSV_ABI sceGnmSetupMipStatsReport();
int PS4_SYSV_ABI sceGnmSetVgtControl();
int PS4_SYSV_ABI sceGnmSetVsShader();
int PS4_SYSV_ABI sceGnmSetWaveLimitMultiplier();
int PS4_SYSV_ABI sceGnmSetWaveLimitMultipliers();
int PS4_SYSV_ABI sceGnmSpmEndSpm();
int PS4_SYSV_ABI sceGnmSpmInit();
int PS4_SYSV_ABI sceGnmSpmInit2();
int PS4_SYSV_ABI sceGnmSpmSetDelay();
int PS4_SYSV_ABI sceGnmSpmSetMuxRam();
int PS4_SYSV_ABI sceGnmSpmSetMuxRam2();
int PS4_SYSV_ABI sceGnmSpmSetSelectCounter();
int PS4_SYSV_ABI sceGnmSpmSetSpmSelects();
int PS4_SYSV_ABI sceGnmSpmSetSpmSelects2();
int PS4_SYSV_ABI sceGnmSpmStartSpm();
int PS4_SYSV_ABI sceGnmSqttFini();
int PS4_SYSV_ABI sceGnmSqttFinishTrace();
int PS4_SYSV_ABI sceGnmSqttGetBcInfo();
int PS4_SYSV_ABI sceGnmSqttGetGpuClocks();
int PS4_SYSV_ABI sceGnmSqttGetHiWater();
int PS4_SYSV_ABI sceGnmSqttGetStatus();
int PS4_SYSV_ABI sceGnmSqttGetTraceCounter();
int PS4_SYSV_ABI sceGnmSqttGetTraceWptr();
int PS4_SYSV_ABI sceGnmSqttGetWrapCounts();
int PS4_SYSV_ABI sceGnmSqttGetWrapCounts2();
int PS4_SYSV_ABI sceGnmSqttGetWritebackLabels();
int PS4_SYSV_ABI sceGnmSqttInit();
int PS4_SYSV_ABI sceGnmSqttSelectMode();
int PS4_SYSV_ABI sceGnmSqttSelectTarget();
int PS4_SYSV_ABI sceGnmSqttSelectTokens();
int PS4_SYSV_ABI sceGnmSqttSetCuPerfMask();
int PS4_SYSV_ABI sceGnmSqttSetDceEventWrite();
int PS4_SYSV_ABI sceGnmSqttSetHiWater();
int PS4_SYSV_ABI sceGnmSqttSetTraceBuffer2();
int PS4_SYSV_ABI sceGnmSqttSetTraceBuffers();
int PS4_SYSV_ABI sceGnmSqttSetUserData();
int PS4_SYSV_ABI sceGnmSqttSetUserdataTimer();
int PS4_SYSV_ABI sceGnmSqttStartTrace();
int PS4_SYSV_ABI sceGnmSqttStopTrace();
int PS4_SYSV_ABI sceGnmSqttSwitchTraceBuffer();
int PS4_SYSV_ABI sceGnmSqttSwitchTraceBuffer2();
int PS4_SYSV_ABI sceGnmSqttWaitForEvent();
int PS4_SYSV_ABI sceGnmSubmitAndFlipCommandBuffers();
int PS4_SYSV_ABI sceGnmSubmitAndFlipCommandBuffersForWorkload();
int PS4_SYSV_ABI sceGnmSubmitCommandBuffers();
int PS4_SYSV_ABI sceGnmSubmitCommandBuffersForWorkload();
int PS4_SYSV_ABI sceGnmSubmitDone();
int PS4_SYSV_ABI sceGnmUnmapComputeQueue();
int PS4_SYSV_ABI sceGnmUnregisterAllResourcesForOwner();
int PS4_SYSV_ABI sceGnmUnregisterOwnerAndResources();
int PS4_SYSV_ABI sceGnmUnregisterResource();
int PS4_SYSV_ABI sceGnmUpdateGsShader();
int PS4_SYSV_ABI sceGnmUpdateHsShader();
int PS4_SYSV_ABI sceGnmUpdatePsShader();
int PS4_SYSV_ABI sceGnmUpdatePsShader350();
int PS4_SYSV_ABI sceGnmUpdateVsShader();
int PS4_SYSV_ABI sceGnmValidateCommandBuffers();
int PS4_SYSV_ABI sceGnmValidateDisableDiagnostics();
int PS4_SYSV_ABI sceGnmValidateDisableDiagnostics2();
int PS4_SYSV_ABI sceGnmValidateDispatchCommandBuffers();
int PS4_SYSV_ABI sceGnmValidateDrawCommandBuffers();
int PS4_SYSV_ABI sceGnmValidateGetDiagnosticInfo();
int PS4_SYSV_ABI sceGnmValidateGetDiagnostics();
int PS4_SYSV_ABI sceGnmValidateGetVersion();
int PS4_SYSV_ABI sceGnmValidateOnSubmitEnabled();
int PS4_SYSV_ABI sceGnmValidateResetState();
int PS4_SYSV_ABI sceGnmValidationRegisterMemoryCheckCallback();
int PS4_SYSV_ABI sceRazorCaptureCommandBuffersOnlyImmediate();
int PS4_SYSV_ABI sceRazorCaptureCommandBuffersOnlySinceLastFlip();
int PS4_SYSV_ABI sceRazorCaptureImmediate();
int PS4_SYSV_ABI sceRazorCaptureSinceLastFlip();
int PS4_SYSV_ABI sceRazorIsLoaded();
int PS4_SYSV_ABI Func_063D065A2D6359C3();
int PS4_SYSV_ABI Func_0CABACAFB258429D();
int PS4_SYSV_ABI Func_150CF336FC2E99A3();
int PS4_SYSV_ABI Func_17CA687F9EE52D49();
int PS4_SYSV_ABI Func_1870B89F759C6B45();
int PS4_SYSV_ABI Func_26F9029EF68A955E();
int PS4_SYSV_ABI Func_301E3DBBAB092DB0();
int PS4_SYSV_ABI Func_30BAFE172AF17FEF();
int PS4_SYSV_ABI Func_3E6A3E8203D95317();
int PS4_SYSV_ABI Func_40FEEF0C6534C434();
int PS4_SYSV_ABI Func_416B9079DE4CBACE();
int PS4_SYSV_ABI Func_4774D83BB4DDBF9A();
int PS4_SYSV_ABI Func_50678F1CCEEB9A00();
int PS4_SYSV_ABI Func_54A2EC5FA4C62413();
int PS4_SYSV_ABI Func_5A9C52C83138AE6B();
int PS4_SYSV_ABI Func_5D22193A31EA1142();
int PS4_SYSV_ABI Func_725A36DEBB60948D();
int PS4_SYSV_ABI Func_8021A502FA61B9BB();
int PS4_SYSV_ABI Func_9D002FE0FA40F0E6();
int PS4_SYSV_ABI Func_9D297F36A7028B71();
int PS4_SYSV_ABI Func_A2D7EC7A7BCF79B3();
int PS4_SYSV_ABI Func_AA12A3CB8990854A();
int PS4_SYSV_ABI Func_ADC8DDC005020BC6();
int PS4_SYSV_ABI Func_B0A8688B679CB42D();
int PS4_SYSV_ABI Func_B489020B5157A5FF();
int PS4_SYSV_ABI Func_BADE7B4C199140DD();
int PS4_SYSV_ABI Func_D1511B9DCFFB3DD9();
int PS4_SYSV_ABI Func_D53446649B02E58E();
int PS4_SYSV_ABI Func_D8B6E8E28E1EF0A3();
int PS4_SYSV_ABI Func_D93D733A19DD7454();
int PS4_SYSV_ABI Func_DE995443BC2A8317();
int PS4_SYSV_ABI Func_DF6E9528150C23FF();
int PS4_SYSV_ABI Func_ECB4C6BA41FE3350();
int PS4_SYSV_ABI sceGnmDebugModuleReset();
int PS4_SYSV_ABI sceGnmDebugReset();
int PS4_SYSV_ABI Func_C4C328B7CF3B4171();
int PS4_SYSV_ABI sceGnmDrawInitToDefaultContextStateInternalCommand();
int PS4_SYSV_ABI sceGnmDrawInitToDefaultContextStateInternalSize();
int PS4_SYSV_ABI sceGnmFindResources();
int PS4_SYSV_ABI sceGnmGetResourceRegistrationBuffers();
int PS4_SYSV_ABI sceGnmRegisterOwnerForSystem();
int PS4_SYSV_ABI Func_1C43886B16EE5530();
int PS4_SYSV_ABI Func_81037019ECCD0E01();
int PS4_SYSV_ABI Func_BFB41C057478F0BF();
int PS4_SYSV_ABI Func_E51D44DB8151238C();
int PS4_SYSV_ABI Func_F916890425496553();
void RegisterlibSceGnmDriver(Core::Loader::SymbolsResolver * sym);
}

View File

@ -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 );
};
}

View File

@ -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);
}

658
libraries/libscepad.cpp Normal file
View File

@ -0,0 +1,658 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// Generated By moduleGenerator
#include "libscepad.h"
#include "common/log.h"
#include "error_codes.h"
namespace Libraries::Pad{
int PS4_SYSV_ABI scePadClose()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadConnectPort()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadDeviceClassGetExtendedInformation()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadDeviceClassParseData()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadDeviceOpen()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadDisableVibration()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadDisconnectDevice()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadDisconnectPort()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadEnableAutoDetect()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadEnableExtensionPort()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadEnableSpecificDeviceClass()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadEnableUsbConnection()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetBluetoothAddress()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetCapability()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetControllerInformation()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetDataInternal()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetDeviceId()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetDeviceInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetExtControllerInformation()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetExtensionUnitInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetFeatureReport()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetHandle()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetIdleCount()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetInfoByPortType()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetLicenseControllerInformation()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetMotionSensorPosition()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetMotionTimerUnit()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetSphereRadius()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadGetVersionInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadInit()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadIsBlasterConnected()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadIsDS4Connected()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadIsLightBarBaseBrightnessControllable()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadIsMoveConnected()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadIsMoveReproductionModel()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadIsValidHandle()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadMbusInit()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadMbusTerm()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadOpen()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadOpenExt()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadOpenExt2()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadOutputReport()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadRead()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadReadBlasterForTracker()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadReadExt()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadReadForTracker()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadReadHistory()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadReadState()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadReadStateExt()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadResetLightBar()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadResetLightBarAll()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadResetLightBarAllByPortType()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadResetOrientation()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadResetOrientationForTracker()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetAngularVelocityDeadbandState()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetAutoPowerOffCount()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetButtonRemappingInfo()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetConnection()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetExtensionReport()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetFeatureReport()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetForceIntercepted()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetLightBar()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetLightBarBaseBrightness()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetLightBarBlinking()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetLightBarForTracker()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetLoginUserNumber()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetMotionSensorState()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetProcessFocus()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetProcessPrivilege()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetProcessPrivilegeOfButtonRemapping()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetShareButtonMaskForRemotePlay()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetTiltCorrectionState()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetUserColor()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetVibration()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetVibrationForce()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSetVrTrackingMode()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadShareOutputData()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadStartRecording()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadStopRecording()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadSwitchConnection()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadVertualDeviceAddDevice()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadVirtualDeviceAddDevice()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadVirtualDeviceDeleteDevice()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadVirtualDeviceDisableButtonRemapping()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadVirtualDeviceGetRemoteSetting()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI scePadVirtualDeviceInsertData()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_28B998C7D8A3DA1D()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_298D21481F94C9FA()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_51E514BCD3A05CA5()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_89C9237E393DA243()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
int PS4_SYSV_ABI Func_EF103E845B6F0420()
{
PRINT_UNIMPLEMENTED_FUNCTION_NAME();
return ORBIS_OK;
}
void RegisterlibScePad(Core::Loader::SymbolsResolver * sym) {
LIB_FUNCTION("6ncge5+l5Qs", "libScePad" , 1 , "libScePad", 1, 1 , scePadClose );
LIB_FUNCTION("kazv1NzSB8c", "libScePad" , 1 , "libScePad", 1, 1 , scePadConnectPort );
LIB_FUNCTION("AcslpN1jHR8", "libScePad" , 1 , "libScePad", 1, 1 , scePadDeviceClassGetExtendedInformation );
LIB_FUNCTION("IHPqcbc0zCA", "libScePad" , 1 , "libScePad", 1, 1 , scePadDeviceClassParseData );
LIB_FUNCTION("d7bXuEBycDI", "libScePad" , 1 , "libScePad", 1, 1 , scePadDeviceOpen );
LIB_FUNCTION("0aziJjRZxqQ", "libScePad" , 1 , "libScePad", 1, 1 , scePadDisableVibration );
LIB_FUNCTION("pnZXireDoeI", "libScePad" , 1 , "libScePad", 1, 1 , scePadDisconnectDevice );
LIB_FUNCTION("9ez71nWSvD0", "libScePad" , 1 , "libScePad", 1, 1 , scePadDisconnectPort );
LIB_FUNCTION("77ooWxGOIVs", "libScePad" , 1 , "libScePad", 1, 1 , scePadEnableAutoDetect );
LIB_FUNCTION("+cE4Jx431wc", "libScePad" , 1 , "libScePad", 1, 1 , scePadEnableExtensionPort );
LIB_FUNCTION("E1KEw5XMGQQ", "libScePad" , 1 , "libScePad", 1, 1 , scePadEnableSpecificDeviceClass );
LIB_FUNCTION("DD-KiRLBqkQ", "libScePad" , 1 , "libScePad", 1, 1 , scePadEnableUsbConnection );
LIB_FUNCTION("Q66U8FdrMaw", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetBluetoothAddress );
LIB_FUNCTION("qtasqbvwgV4", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetCapability );
LIB_FUNCTION("gjP9-KQzoUk", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetControllerInformation );
LIB_FUNCTION("Uq6LgTJEmQs", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetDataInternal );
LIB_FUNCTION("hDgisSGkOgw", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetDeviceId );
LIB_FUNCTION("4rS5zG7RFaM", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetDeviceInfo );
LIB_FUNCTION("hGbf2QTBmqc", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetExtControllerInformation );
LIB_FUNCTION("1DmZjZAuzEM", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetExtensionUnitInfo );
LIB_FUNCTION("PZSoY8j0Pko", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetFeatureReport );
LIB_FUNCTION("u1GRHp+oWoY", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetHandle );
LIB_FUNCTION("kiA9bZhbnAg", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetIdleCount );
LIB_FUNCTION("1Odcw19nADw", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetInfo );
LIB_FUNCTION("4x5Im8pr0-4", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetInfoByPortType );
LIB_FUNCTION("vegw8qax5MI", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetLicenseControllerInformation );
LIB_FUNCTION("WPIB7zBWxVE", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetMotionSensorPosition );
LIB_FUNCTION("k4+nDV9vbT0", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetMotionTimerUnit );
LIB_FUNCTION("do-JDWX+zRs", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetSphereRadius );
LIB_FUNCTION("QuOaoOcSOw0", "libScePad" , 1 , "libScePad", 1, 1 , scePadGetVersionInfo );
LIB_FUNCTION("hv1luiJrqQM", "libScePad" , 1 , "libScePad", 1, 1 , scePadInit );
LIB_FUNCTION("bi0WNvZ1nug", "libScePad" , 1 , "libScePad", 1, 1 , scePadIsBlasterConnected );
LIB_FUNCTION("mEC+xJKyIjQ", "libScePad" , 1 , "libScePad", 1, 1 , scePadIsDS4Connected );
LIB_FUNCTION("d2Qk-i8wGak", "libScePad" , 1 , "libScePad", 1, 1 , scePadIsLightBarBaseBrightnessControllable );
LIB_FUNCTION("4y9RNPSBsqg", "libScePad" , 1 , "libScePad", 1, 1 , scePadIsMoveConnected );
LIB_FUNCTION("9e56uLgk5y0", "libScePad" , 1 , "libScePad", 1, 1 , scePadIsMoveReproductionModel );
LIB_FUNCTION("pFTi-yOrVeQ", "libScePad" , 1 , "libScePad", 1, 1 , scePadIsValidHandle );
LIB_FUNCTION("CfwUlQtCFi4", "libScePad" , 1 , "libScePad", 1, 1 , scePadMbusInit );
LIB_FUNCTION("s7CvzS+9ZIs", "libScePad" , 1 , "libScePad", 1, 1 , scePadMbusTerm );
LIB_FUNCTION("xk0AcarP3V4", "libScePad" , 1 , "libScePad", 1, 1 , scePadOpen );
LIB_FUNCTION("WFIiSfXGUq8", "libScePad" , 1 , "libScePad", 1, 1 , scePadOpenExt );
LIB_FUNCTION("71E9e6n+2R8", "libScePad" , 1 , "libScePad", 1, 1 , scePadOpenExt2 );
LIB_FUNCTION("DrUu8cPrje8", "libScePad" , 1 , "libScePad", 1, 1 , scePadOutputReport );
LIB_FUNCTION("q1cHNfGycLI", "libScePad" , 1 , "libScePad", 1, 1 , scePadRead );
LIB_FUNCTION("fm1r2vv5+OU", "libScePad" , 1 , "libScePad", 1, 1 , scePadReadBlasterForTracker );
LIB_FUNCTION("QjwkT2Ycmew", "libScePad" , 1 , "libScePad", 1, 1 , scePadReadExt );
LIB_FUNCTION("2NhkFTRnXHk", "libScePad" , 1 , "libScePad", 1, 1 , scePadReadForTracker );
LIB_FUNCTION("3u4M8ck9vJM", "libScePad" , 1 , "libScePad", 1, 1 , scePadReadHistory );
LIB_FUNCTION("YndgXqQVV7c", "libScePad" , 1 , "libScePad", 1, 1 , scePadReadState );
LIB_FUNCTION("5Wf4q349s+Q", "libScePad" , 1 , "libScePad", 1, 1 , scePadReadStateExt );
LIB_FUNCTION("DscD1i9HX1w", "libScePad" , 1 , "libScePad", 1, 1 , scePadResetLightBar );
LIB_FUNCTION("+4c9xRLmiXQ", "libScePad" , 1 , "libScePad", 1, 1 , scePadResetLightBarAll );
LIB_FUNCTION("+Yp6+orqf1M", "libScePad" , 1 , "libScePad", 1, 1 , scePadResetLightBarAllByPortType );
LIB_FUNCTION("rIZnR6eSpvk", "libScePad" , 1 , "libScePad", 1, 1 , scePadResetOrientation );
LIB_FUNCTION("jbAqAvLEP4A", "libScePad" , 1 , "libScePad", 1, 1 , scePadResetOrientationForTracker );
LIB_FUNCTION("r44mAxdSG+U", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetAngularVelocityDeadbandState );
LIB_FUNCTION("ew647HuKi2Y", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetAutoPowerOffCount );
LIB_FUNCTION("MbTt1EHYCTg", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetButtonRemappingInfo );
LIB_FUNCTION("MLA06oNfF+4", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetConnection );
LIB_FUNCTION("bsbHFI0bl5s", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetExtensionReport );
LIB_FUNCTION("xqgVCEflEDY", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetFeatureReport );
LIB_FUNCTION("lrjFx4xWnY8", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetForceIntercepted );
LIB_FUNCTION("RR4novUEENY", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetLightBar );
LIB_FUNCTION("dhQXEvmrVNQ", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetLightBarBaseBrightness );
LIB_FUNCTION("etaQhgPHDRY", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetLightBarBlinking );
LIB_FUNCTION("iHuOWdvQVpg", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetLightBarForTracker );
LIB_FUNCTION("o-6Y99a8dKU", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetLoginUserNumber );
LIB_FUNCTION("clVvL4ZDntw", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetMotionSensorState );
LIB_FUNCTION("flYYxek1wy8", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetProcessFocus );
LIB_FUNCTION("DmBx8K+jDWw", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetProcessPrivilege );
LIB_FUNCTION("FbxEpTRDou8", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetProcessPrivilegeOfButtonRemapping );
LIB_FUNCTION("yah8Bk4TcYY", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetShareButtonMaskForRemotePlay );
LIB_FUNCTION("vDLMoJLde8I", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetTiltCorrectionState );
LIB_FUNCTION("z+GEemoTxOo", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetUserColor );
LIB_FUNCTION("yFVnOdGxvZY", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetVibration );
LIB_FUNCTION("8BOObG94-tc", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetVibrationForce );
LIB_FUNCTION("--jrY4SHfm8", "libScePad" , 1 , "libScePad", 1, 1 , scePadSetVrTrackingMode );
LIB_FUNCTION("zFJ35q3RVnY", "libScePad" , 1 , "libScePad", 1, 1 , scePadShareOutputData );
LIB_FUNCTION("80XdmVYsNPA", "libScePad" , 1 , "libScePad", 1, 1 , scePadStartRecording );
LIB_FUNCTION("gAHvg6JPIic", "libScePad" , 1 , "libScePad", 1, 1 , scePadStopRecording );
LIB_FUNCTION("Oi7FzRWFr0Y", "libScePad" , 1 , "libScePad", 1, 1 , scePadSwitchConnection );
LIB_FUNCTION("0MB5x-ieRGI", "libScePad" , 1 , "libScePad", 1, 1 , scePadVertualDeviceAddDevice );
LIB_FUNCTION("N7tpsjWQ87s", "libScePad" , 1 , "libScePad", 1, 1 , scePadVirtualDeviceAddDevice );
LIB_FUNCTION("PFec14-UhEQ", "libScePad" , 1 , "libScePad", 1, 1 , scePadVirtualDeviceDeleteDevice );
LIB_FUNCTION("pjPCronWdxI", "libScePad" , 1 , "libScePad", 1, 1 , scePadVirtualDeviceDisableButtonRemapping );
LIB_FUNCTION("LKXfw7VJYqg", "libScePad" , 1 , "libScePad", 1, 1 , scePadVirtualDeviceGetRemoteSetting );
LIB_FUNCTION("IWOyO5jKuZg", "libScePad" , 1 , "libScePad", 1, 1 , scePadVirtualDeviceInsertData );
LIB_FUNCTION("KLmYx9ij2h0", "libScePad" , 1 , "libScePad", 1, 1 , Func_28B998C7D8A3DA1D );
LIB_FUNCTION("KY0hSB+Uyfo", "libScePad" , 1 , "libScePad", 1, 1 , Func_298D21481F94C9FA );
LIB_FUNCTION("UeUUvNOgXKU", "libScePad" , 1 , "libScePad", 1, 1 , Func_51E514BCD3A05CA5 );
LIB_FUNCTION("ickjfjk9okM", "libScePad" , 1 , "libScePad", 1, 1 , Func_89C9237E393DA243 );
LIB_FUNCTION("7xA+hFtvBCA", "libScePad" , 1 , "libScePad", 1, 1 , Func_EF103E845B6F0420 );
};
}

104
libraries/libscepad.h Normal file
View File

@ -0,0 +1,104 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "library_common.h"
namespace Libraries::Pad{
int PS4_SYSV_ABI scePadClose();
int PS4_SYSV_ABI scePadConnectPort();
int PS4_SYSV_ABI scePadDeviceClassGetExtendedInformation();
int PS4_SYSV_ABI scePadDeviceClassParseData();
int PS4_SYSV_ABI scePadDeviceOpen();
int PS4_SYSV_ABI scePadDisableVibration();
int PS4_SYSV_ABI scePadDisconnectDevice();
int PS4_SYSV_ABI scePadDisconnectPort();
int PS4_SYSV_ABI scePadEnableAutoDetect();
int PS4_SYSV_ABI scePadEnableExtensionPort();
int PS4_SYSV_ABI scePadEnableSpecificDeviceClass();
int PS4_SYSV_ABI scePadEnableUsbConnection();
int PS4_SYSV_ABI scePadGetBluetoothAddress();
int PS4_SYSV_ABI scePadGetCapability();
int PS4_SYSV_ABI scePadGetControllerInformation();
int PS4_SYSV_ABI scePadGetDataInternal();
int PS4_SYSV_ABI scePadGetDeviceId();
int PS4_SYSV_ABI scePadGetDeviceInfo();
int PS4_SYSV_ABI scePadGetExtControllerInformation();
int PS4_SYSV_ABI scePadGetExtensionUnitInfo();
int PS4_SYSV_ABI scePadGetFeatureReport();
int PS4_SYSV_ABI scePadGetHandle();
int PS4_SYSV_ABI scePadGetIdleCount();
int PS4_SYSV_ABI scePadGetInfo();
int PS4_SYSV_ABI scePadGetInfoByPortType();
int PS4_SYSV_ABI scePadGetLicenseControllerInformation();
int PS4_SYSV_ABI scePadGetMotionSensorPosition();
int PS4_SYSV_ABI scePadGetMotionTimerUnit();
int PS4_SYSV_ABI scePadGetSphereRadius();
int PS4_SYSV_ABI scePadGetVersionInfo();
int PS4_SYSV_ABI scePadInit();
int PS4_SYSV_ABI scePadIsBlasterConnected();
int PS4_SYSV_ABI scePadIsDS4Connected();
int PS4_SYSV_ABI scePadIsLightBarBaseBrightnessControllable();
int PS4_SYSV_ABI scePadIsMoveConnected();
int PS4_SYSV_ABI scePadIsMoveReproductionModel();
int PS4_SYSV_ABI scePadIsValidHandle();
int PS4_SYSV_ABI scePadMbusInit();
int PS4_SYSV_ABI scePadMbusTerm();
int PS4_SYSV_ABI scePadOpen();
int PS4_SYSV_ABI scePadOpenExt();
int PS4_SYSV_ABI scePadOpenExt2();
int PS4_SYSV_ABI scePadOutputReport();
int PS4_SYSV_ABI scePadRead();
int PS4_SYSV_ABI scePadReadBlasterForTracker();
int PS4_SYSV_ABI scePadReadExt();
int PS4_SYSV_ABI scePadReadForTracker();
int PS4_SYSV_ABI scePadReadHistory();
int PS4_SYSV_ABI scePadReadState();
int PS4_SYSV_ABI scePadReadStateExt();
int PS4_SYSV_ABI scePadResetLightBar();
int PS4_SYSV_ABI scePadResetLightBarAll();
int PS4_SYSV_ABI scePadResetLightBarAllByPortType();
int PS4_SYSV_ABI scePadResetOrientation();
int PS4_SYSV_ABI scePadResetOrientationForTracker();
int PS4_SYSV_ABI scePadSetAngularVelocityDeadbandState();
int PS4_SYSV_ABI scePadSetAutoPowerOffCount();
int PS4_SYSV_ABI scePadSetButtonRemappingInfo();
int PS4_SYSV_ABI scePadSetConnection();
int PS4_SYSV_ABI scePadSetExtensionReport();
int PS4_SYSV_ABI scePadSetFeatureReport();
int PS4_SYSV_ABI scePadSetForceIntercepted();
int PS4_SYSV_ABI scePadSetLightBar();
int PS4_SYSV_ABI scePadSetLightBarBaseBrightness();
int PS4_SYSV_ABI scePadSetLightBarBlinking();
int PS4_SYSV_ABI scePadSetLightBarForTracker();
int PS4_SYSV_ABI scePadSetLoginUserNumber();
int PS4_SYSV_ABI scePadSetMotionSensorState();
int PS4_SYSV_ABI scePadSetProcessFocus();
int PS4_SYSV_ABI scePadSetProcessPrivilege();
int PS4_SYSV_ABI scePadSetProcessPrivilegeOfButtonRemapping();
int PS4_SYSV_ABI scePadSetShareButtonMaskForRemotePlay();
int PS4_SYSV_ABI scePadSetTiltCorrectionState();
int PS4_SYSV_ABI scePadSetUserColor();
int PS4_SYSV_ABI scePadSetVibration();
int PS4_SYSV_ABI scePadSetVibrationForce();
int PS4_SYSV_ABI scePadSetVrTrackingMode();
int PS4_SYSV_ABI scePadShareOutputData();
int PS4_SYSV_ABI scePadStartRecording();
int PS4_SYSV_ABI scePadStopRecording();
int PS4_SYSV_ABI scePadSwitchConnection();
int PS4_SYSV_ABI scePadVertualDeviceAddDevice();
int PS4_SYSV_ABI scePadVirtualDeviceAddDevice();
int PS4_SYSV_ABI scePadVirtualDeviceDeleteDevice();
int PS4_SYSV_ABI scePadVirtualDeviceDisableButtonRemapping();
int PS4_SYSV_ABI scePadVirtualDeviceGetRemoteSetting();
int PS4_SYSV_ABI scePadVirtualDeviceInsertData();
int PS4_SYSV_ABI Func_28B998C7D8A3DA1D();
int PS4_SYSV_ABI Func_298D21481F94C9FA();
int PS4_SYSV_ABI Func_51E514BCD3A05CA5();
int PS4_SYSV_ABI Func_89C9237E393DA243();
int PS4_SYSV_ABI Func_EF103E845B6F0420();
void RegisterlibScePad(Core::Loader::SymbolsResolver * sym);
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,481 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "library_common.h"
namespace Libraries::SystemService{
int PS4_SYSV_ABI sceAppMessagingClearEventFlag();
int PS4_SYSV_ABI sceAppMessagingReceiveMsg();
int PS4_SYSV_ABI sceAppMessagingSendMsg();
int PS4_SYSV_ABI sceAppMessagingSendMsgToShellCore();
int PS4_SYSV_ABI sceAppMessagingSendMsgToShellUI();
int PS4_SYSV_ABI sceAppMessagingSetEventFlag();
int PS4_SYSV_ABI sceAppMessagingTryGetEventFlag();
int PS4_SYSV_ABI sceAppMessagingTryReceiveMsg();
int PS4_SYSV_ABI Func_C8E899ABEF7F64C4();
int PS4_SYSV_ABI Func_F74BA759B9C8D2A1();
int PS4_SYSV_ABI sceLncUtilAcquireCpuBudgetOfExtraAudioDevices();
int PS4_SYSV_ABI sceLncUtilAcquireCpuBudgetOfImeForBigApp();
int PS4_SYSV_ABI sceLncUtilAcquireCpuBudgetOfInGameStore();
int PS4_SYSV_ABI sceLncUtilActivateCdlg();
int PS4_SYSV_ABI sceLncUtilAddLocalProcess();
int PS4_SYSV_ABI sceLncUtilBlockAppSuspend();
int PS4_SYSV_ABI sceLncUtilBlockingGetEventForDaemon();
int PS4_SYSV_ABI sceLncUtilContinueApp();
int PS4_SYSV_ABI sceLncUtilCrashSyscore();
int PS4_SYSV_ABI sceLncUtilDeactivateCdlg();
int PS4_SYSV_ABI sceLncUtilDeclareReadyForSuspend();
int PS4_SYSV_ABI sceLncUtilDisableSuspendNotification();
int PS4_SYSV_ABI sceLncUtilEnableSuspendNotification();
int PS4_SYSV_ABI sceLncUtilFinishSpecialResume();
int PS4_SYSV_ABI sceLncUtilForceKillApp();
int PS4_SYSV_ABI sceLncUtilForceKillLocalProcess();
int PS4_SYSV_ABI sceLncUtilGetApp0DirPath();
int PS4_SYSV_ABI sceLncUtilGetAppCategory();
int PS4_SYSV_ABI sceLncUtilGetAppFocusedAppStatus();
int PS4_SYSV_ABI sceLncUtilGetAppId();
int PS4_SYSV_ABI sceLncUtilGetAppIdOfBigApp();
int PS4_SYSV_ABI sceLncUtilGetAppIdOfMiniApp();
int PS4_SYSV_ABI sceLncUtilGetAppLaunchedUser();
int PS4_SYSV_ABI sceLncUtilGetAppStatus();
int PS4_SYSV_ABI sceLncUtilGetAppStatusListForShellUIReboot();
int PS4_SYSV_ABI sceLncUtilGetAppTitleId();
int PS4_SYSV_ABI sceLncUtilGetAppType();
int PS4_SYSV_ABI sceLncUtilGetCdlgExec();
int PS4_SYSV_ABI sceLncUtilGetCoredumpState();
int PS4_SYSV_ABI sceLncUtilGetDbgExecutablePath();
int PS4_SYSV_ABI sceLncUtilGetEventForDaemon();
int PS4_SYSV_ABI sceLncUtilGetEventForShellUI();
int PS4_SYSV_ABI sceLncUtilGetGpuCrashFullDumpAppStatus();
int PS4_SYSV_ABI sceLncUtilGetLocalProcessStatusList();
int PS4_SYSV_ABI sceLncUtilGetParentSocket();
int PS4_SYSV_ABI sceLncUtilGetResultKillApp();
int PS4_SYSV_ABI sceLncUtilGetResultLaunchAppByTitleId();
int PS4_SYSV_ABI sceLncUtilInitialize();
int PS4_SYSV_ABI sceLncUtilIsActiveCdlg();
int PS4_SYSV_ABI sceLncUtilIsAppLaunched();
int PS4_SYSV_ABI sceLncUtilIsAppSuspended();
int PS4_SYSV_ABI sceLncUtilIsCpuBudgetOfExtraAudioDevicesAvailable();
int PS4_SYSV_ABI sceLncUtilIsPs2Emu();
int PS4_SYSV_ABI sceLncUtilIsShellUiFgAndGameBgCpuMode();
int PS4_SYSV_ABI sceLncUtilKickCoredumpOnlyProcMem();
int PS4_SYSV_ABI sceLncUtilKillApp();
int PS4_SYSV_ABI sceLncUtilKillAppWithReason();
int PS4_SYSV_ABI sceLncUtilKillLocalProcess();
int PS4_SYSV_ABI sceLncUtilLaunchApp();
int PS4_SYSV_ABI sceLncUtilLoadExec();
int PS4_SYSV_ABI sceLncUtilNotifyCoredumpRequestEnd();
int PS4_SYSV_ABI sceLncUtilNotifyCoredumpRequestProgress();
int PS4_SYSV_ABI sceLncUtilNotifyVshReady();
int PS4_SYSV_ABI sceLncUtilRaiseException();
int PS4_SYSV_ABI sceLncUtilRaiseExceptionLocalProcess();
int PS4_SYSV_ABI sceLncUtilRegisterCdlgSharedMemoryName();
int PS4_SYSV_ABI sceLncUtilRegisterDaemon();
int PS4_SYSV_ABI sceLncUtilRegisterShellUI();
int PS4_SYSV_ABI sceLncUtilReleaseCpuBudgetOfExtraAudioDevices();
int PS4_SYSV_ABI sceLncUtilReleaseCpuBudgetOfImeForBigApp();
int PS4_SYSV_ABI sceLncUtilReleaseCpuBudgetOfInGameStore();
int PS4_SYSV_ABI sceLncUtilResumeApp();
int PS4_SYSV_ABI sceLncUtilResumeLocalProcess();
int PS4_SYSV_ABI sceLncUtilSetAppFocus();
int PS4_SYSV_ABI sceLncUtilSetCdlgExec();
int PS4_SYSV_ABI sceLncUtilSetControllerFocus();
int PS4_SYSV_ABI sceLncUtilSetControllerFocusPermission();
int PS4_SYSV_ABI sceLncUtilStartKillApp();
int PS4_SYSV_ABI sceLncUtilStartLaunchAppByTitleId();
int PS4_SYSV_ABI sceLncUtilSuspendApp();
int PS4_SYSV_ABI sceLncUtilSuspendBackgroundApp();
int PS4_SYSV_ABI sceLncUtilSuspendLocalProcess();
int PS4_SYSV_ABI sceLncUtilSystemSuspend();
int PS4_SYSV_ABI sceLncUtilTerminate();
int PS4_SYSV_ABI sceLncUtilTryBlockAppSuspend();
int PS4_SYSV_ABI sceLncUtilUnblockAppSuspend();
int PS4_SYSV_ABI sceLncUtilUnregisterCdlgSharedMemoryName();
int PS4_SYSV_ABI sceLncUtilUnregisterDaemon();
int PS4_SYSV_ABI sceLncUtilUnregisterShellUI();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoft();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftAbort();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftGetStatus();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftInit();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftIsActivated();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftStart();
int PS4_SYSV_ABI sceSystemServiceActivateHevcSoftTerm();
int PS4_SYSV_ABI sceShellCoreUtilAccessibilityZoomLock();
int PS4_SYSV_ABI sceShellCoreUtilAccessibilityZoomUnlock();
int PS4_SYSV_ABI sceShellCoreUtilAcquireBgmCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilAcquireRemotePlayCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilAcquireSharePlayCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilActivateAbort();
int PS4_SYSV_ABI sceShellCoreUtilActivateGetStatus();
int PS4_SYSV_ABI sceShellCoreUtilActivateInit();
int PS4_SYSV_ABI sceShellCoreUtilActivateIsActivated();
int PS4_SYSV_ABI sceShellCoreUtilActivateRecordActivation();
int PS4_SYSV_ABI sceShellCoreUtilActivateStart();
int PS4_SYSV_ABI sceShellCoreUtilActivateStartAsync();
int PS4_SYSV_ABI sceShellCoreUtilActivateTerm();
int PS4_SYSV_ABI sceShellCoreUtilChangeRunLevel();
int PS4_SYSV_ABI sceShellCoreUtilChangeToStaffModeForIDU();
int PS4_SYSV_ABI sceShellCoreUtilCheckerAbort();
int PS4_SYSV_ABI sceShellCoreUtilCleanupCrashReport();
int PS4_SYSV_ABI sceShellCoreUtilClearAppData();
int PS4_SYSV_ABI sceShellCoreUtilClearPsnAccountInfo();
int PS4_SYSV_ABI sceShellCoreUtilCrashReportRequestCancel();
int PS4_SYSV_ABI sceShellCoreUtilDeclareBeginOfExternalStorageAppMove();
int PS4_SYSV_ABI sceShellCoreUtilDeclareEndOfExternalStorageAppMove();
int PS4_SYSV_ABI sceShellCoreUtilDeleteDiscInstalledTitleWorkaroundFile();
int PS4_SYSV_ABI sceShellCoreUtilDeleteDownloadedHidConfigFile();
int PS4_SYSV_ABI sceShellCoreUtilDeleteDownloadedNetEvConfigFile();
int PS4_SYSV_ABI sceShellCoreUtilDeleteDownloadedTitleWorkaroundFile();
int PS4_SYSV_ABI sceShellCoreUtilDeleteSmrHddDummyData();
int PS4_SYSV_ABI sceShellCoreUtilDoFsck();
int PS4_SYSV_ABI sceShellCoreUtilDownloadHidConfigFileFromServer();
int PS4_SYSV_ABI sceShellCoreUtilDownloadNetEvConfigFileFromServer();
int PS4_SYSV_ABI sceShellCoreUtilDownloadTitleWorkaroundFileFromServer();
int PS4_SYSV_ABI sceShellCoreUtilEnterPowerLockSection();
int PS4_SYSV_ABI sceShellCoreUtilExecuteCrashReport();
int PS4_SYSV_ABI sceShellCoreUtilExfatFormatExternalHdd();
int PS4_SYSV_ABI sceShellCoreUtilExitMiniApp();
int PS4_SYSV_ABI sceShellCoreUtilExitMiniAppWithValue();
int PS4_SYSV_ABI sceShellCoreUtilFillUpSpaceOnSmrHdd();
int PS4_SYSV_ABI sceShellCoreUtilFormatExternalHdd();
int PS4_SYSV_ABI sceShellCoreUtilFormatHddForRestore();
int PS4_SYSV_ABI sceShellCoreUtilFreeUpSpaceOnSmrHdd();
int PS4_SYSV_ABI sceShellCoreUtilGetAppData();
int PS4_SYSV_ABI sceShellCoreUtilGetAppEnableTTS();
int PS4_SYSV_ABI sceShellCoreUtilGetAppEnterButtonAssign();
int PS4_SYSV_ABI sceShellCoreUtilGetAppLaunchedParamInt();
int PS4_SYSV_ABI sceShellCoreUtilGetAppLaunchedParamIntByBudgetType();
int PS4_SYSV_ABI sceShellCoreUtilGetAppLaunchedParamString();
int PS4_SYSV_ABI sceShellCoreUtilGetAppLaunchedParamStringByBudgetType();
int PS4_SYSV_ABI sceShellCoreUtilGetAppLaunchTypeInfo();
int PS4_SYSV_ABI sceShellCoreUtilGetAutoPowerDownRemainingSeconds();
int PS4_SYSV_ABI sceShellCoreUtilGetBasicProductShape();
int PS4_SYSV_ABI sceShellCoreUtilGetCheckerString();
int PS4_SYSV_ABI sceShellCoreUtilGetCheckerStringEx();
int PS4_SYSV_ABI sceShellCoreUtilGetCloudClientStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportCoreFileSetSize();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportFilterInfoStart();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportInfoForBoot();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportInfoForBootStart();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportInfoStart();
int PS4_SYSV_ABI sceShellCoreutilGetCrashReportProcessInformation();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportResult();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetCrashReportUploadStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetDeviceIndexBehavior();
int PS4_SYSV_ABI sceShellCoreUtilGetDeviceIndexBehaviorWithTimeout();
int PS4_SYSV_ABI sceShellCoreUtilGetEffectiveTotalSizeOfUserPartition();
int PS4_SYSV_ABI sceShellCoreUtilGetFreeSizeOfAvContentsTmp();
int PS4_SYSV_ABI sceShellCoreUtilGetFreeSizeOfUserPartition();
int PS4_SYSV_ABI sceShellCoreUtilGetFsckProgress();
int PS4_SYSV_ABI sceShellCoreUtilGetGameLiveStreamingStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetGnmCompositorOnScreenProfilerFlag();
int PS4_SYSV_ABI sceShellCoreUtilGetGpuLoadEmulationMode();
int PS4_SYSV_ABI sceShellCoreUtilGetGpuLoadEmulationModeByAppId();
int PS4_SYSV_ABI sceShellCoreUtilGetHidConfigFileInfoString();
int PS4_SYSV_ABI sceShellCoreUtilGetHidConfigFileString();
int PS4_SYSV_ABI sceShellCoreUtilGetHidConfigName();
int PS4_SYSV_ABI sceShellCoreUtilGetHidConfigNum();
int PS4_SYSV_ABI sceShellCoreUtilGetIDUMode();
int PS4_SYSV_ABI sceShellCoreUtilGetImposeMenuFlagForPs2Emu();
int PS4_SYSV_ABI sceShellCoreUtilGetManifestFileStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetNeedSizeOfAppContent();
int PS4_SYSV_ABI sceShellCoreUtilGetNetEvConfigFileInfoString();
int PS4_SYSV_ABI sceShellCoreUtilGetOptimizationStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetOutOfVrPlayZoneWarning();
int PS4_SYSV_ABI sceShellCoreUtilGetPapcGamePcl();
int PS4_SYSV_ABI sceShellCoreUtilGetPbtcUserInfoList();
int PS4_SYSV_ABI sceShellCoreUtilGetPlatformPrivacyDefinitionEventData();
int PS4_SYSV_ABI sceShellCoreUtilGetPlatformPrivacySetting();
int PS4_SYSV_ABI sceShellCoreUtilGetProgressOfFormatExternalHdd();
int PS4_SYSV_ABI sceShellCoreUtilGetProgressOfFsck();
int PS4_SYSV_ABI sceShellCoreUtilGetPsnAccountInfo();
int PS4_SYSV_ABI sceShellCoreUtilGetPsStoreIconLayout();
int PS4_SYSV_ABI sceShellCoreUtilGetPsStoreIconState();
int PS4_SYSV_ABI sceShellCoreUtilGetRegion();
int PS4_SYSV_ABI sceShellCoreUtilGetRemotePlayStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetRunLevel();
int PS4_SYSV_ABI sceShellCoreUtilGetSharePlayStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetShellUIVMStats();
int PS4_SYSV_ABI sceShellCoreUtilGetSmrHddInfoString();
int PS4_SYSV_ABI sceShellCoreUtilGetSocialScreenStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetSplashScreenState();
int PS4_SYSV_ABI sceShellCoreUtilGetSupportSiteURL();
int PS4_SYSV_ABI sceShellCoreUtilGetSuspendConfirmationDialogFlag();
int PS4_SYSV_ABI sceShellCoreUtilGetSystemBGState();
int PS4_SYSV_ABI sceShellCoreUtilGetSystemBGWaveColor();
int PS4_SYSV_ABI sceShellCoreUtilGetSystemBGWaveState();
int PS4_SYSV_ABI sceShellCoreUtilGetTitleWorkaroundFileInfoString();
int PS4_SYSV_ABI sceShellCoreUtilGetTitleWorkaroundFileString();
int PS4_SYSV_ABI sceShellCoreUtilGetUIStatus();
int PS4_SYSV_ABI sceShellCoreUtilGetUserFocus();
int PS4_SYSV_ABI sceShellCoreUtilGetUserIdOfMorpheusUser();
int PS4_SYSV_ABI sceShellCoreUtilGetVersionNumberOfCameraCalibrationData();
int PS4_SYSV_ABI sceShellCoreUtilGoBackToKratosCurrentSessionGame();
int PS4_SYSV_ABI sceShellCoreUtilHideBlocksFromUser();
int PS4_SYSV_ABI sceShellCoreUtilIncrementVersionNumberOfCameraCalibrationData();
int PS4_SYSV_ABI sceShellCoreUtilIsAccessibilityZoomLocked();
int PS4_SYSV_ABI sceShellCoreUtilIsBgmCpuBudgetAcquired();
int PS4_SYSV_ABI sceShellCoreUtilIsBgmCpuBudgetAvailable();
int PS4_SYSV_ABI sceShellCoreUtilIsBgmPlaying();
int PS4_SYSV_ABI sceShellCoreUtilIsExternalStorageAppMoveInProgress();
int PS4_SYSV_ABI sceShellCoreUtilIsEyeToEyeDistanceAdjusted();
int PS4_SYSV_ABI sceShellCoreUtilIsGameLiveStreamingOnAir();
int PS4_SYSV_ABI sceShellCoreUtilIsImposeScreenOverlaid();
int PS4_SYSV_ABI sceShellCoreUtilIsInSystemSuspendBlackList();
int PS4_SYSV_ABI sceShellCoreUtilIsInternalKratosUser();
int PS4_SYSV_ABI sceShellCoreUtilIsKilledOrSuspendedByLogout();
int PS4_SYSV_ABI sceShellCoreUtilIsNeededCrashReport();
int PS4_SYSV_ABI sceShellCoreUtilIsPowerSaveAlertRequested();
int PS4_SYSV_ABI sceShellCoreUtilIsRemotePlayCpuBudgetAcquired();
int PS4_SYSV_ABI sceShellCoreUtilIsScreenSaverOn();
int PS4_SYSV_ABI sceShellCoreUtilIsSharePlayCpuBudgetAcquired();
int PS4_SYSV_ABI sceShellCoreUtilIsShowCrashReport();
int PS4_SYSV_ABI sceShellCoreUtilIsTemperatureDanger();
int PS4_SYSV_ABI sceShellCoreUtilIsTitleWorkaroundEnabled();
int PS4_SYSV_ABI sceShellCoreUtilIsUsbMassStorageMounted();
int PS4_SYSV_ABI sceShellCoreUtilLaunchByUri();
int PS4_SYSV_ABI sceShellCoreUtilLeavePowerLockSection();
int PS4_SYSV_ABI sceShellCoreUtilLog();
int PS4_SYSV_ABI sceShellCoreUtilMakeManifestFile();
int PS4_SYSV_ABI sceShellCoreUtilMountAppRight();
int PS4_SYSV_ABI sceShellCoreUtilMountDownloadDataForShellUI();
int PS4_SYSV_ABI sceShellCoreUtilMountHddForBackup();
int PS4_SYSV_ABI sceShellCoreUtilMountHddForRestore();
int PS4_SYSV_ABI sceShellCoreUtilNavigateToAnotherApp();
int PS4_SYSV_ABI sceShellCoreUtilNavigateToGoHome();
int PS4_SYSV_ABI sceShellCoreUtilNavigateToLaunchedApp();
int PS4_SYSV_ABI sceShellCoreUtilNotificationCancelForIDU();
int PS4_SYSV_ABI sceShellCoreUtilNotificationRequestedForIDU();
int PS4_SYSV_ABI sceShellCoreUtilNotifyBgmCoreTermination();
int PS4_SYSV_ABI sceShellCoreUtilNotifyFarsightUIDone();
int PS4_SYSV_ABI sceShellCoreUtilNotifyFsReadError();
int PS4_SYSV_ABI sceShellCoreUtilNotifyPsnAccountInfoReceived();
int PS4_SYSV_ABI sceShellCoreUtilNotifyYouTubeAccountLinkStatusChanged();
int PS4_SYSV_ABI sceShellCoreUtilPfAuthClientConsoleTokenClearCache();
int PS4_SYSV_ABI sceShellCoreUtilPostActivityForPsNow();
int PS4_SYSV_ABI sceShellCoreUtilPostErrorLog();
int PS4_SYSV_ABI sceShellCoreUtilPostLaunchConfirmResult();
int PS4_SYSV_ABI sceShellCoreUtilPostPsmEventToShellUI();
int PS4_SYSV_ABI sceShellCoreUtilPreNotifyOfGameLiveStreaming();
int PS4_SYSV_ABI sceShellCoreUtilPreNotifyOfRemotePlay();
int PS4_SYSV_ABI sceShellCoreUtilPreNotifyOfSharePlay();
int PS4_SYSV_ABI sceShellCoreUtilReleaseBgmCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilReleaseRemotePlayCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilReleaseSharePlayCpuBudget();
int PS4_SYSV_ABI sceShellCoreUtilReportSessionErrorToGaikaiController();
int PS4_SYSV_ABI sceShellCoreUtilReportUnexpectedFatalErrorToSystemTelemetry();
int PS4_SYSV_ABI sceShellCoreUtilRequestCameraCalibration();
int PS4_SYSV_ABI sceShellCoreUtilRequestEjectDevice();
int PS4_SYSV_ABI sceShellCoreUtilRequestRebootApp();
int PS4_SYSV_ABI sceShellCoreUtilRequestShutdown();
int PS4_SYSV_ABI sceShellCoreUtilResetAutoPowerDownTimer();
int PS4_SYSV_ABI sceShellCoreUtilResetBgdcConfig();
int PS4_SYSV_ABI sceShellCoreUtilSetAppData();
int PS4_SYSV_ABI sceShellCoreUtilSetBgmProhibition();
int PS4_SYSV_ABI sceShellCoreUtilSetDeviceIndexBehavior();
int PS4_SYSV_ABI sceShellCoreUtilSetGameLiveStreamingOnAirFlag();
int PS4_SYSV_ABI sceShellCoreUtilSetGameLiveStreamingStatus();
int PS4_SYSV_ABI sceShellCoreUtilSetGnmCompositorOnScreenProfilerFlag();
int PS4_SYSV_ABI sceShellCoreUtilSetGpuLoadEmulationMode();
int PS4_SYSV_ABI sceShellCoreUtilSetGpuLoadEmulationModeByAppId();
int PS4_SYSV_ABI sceShellCoreUtilSetIDUMode();
int PS4_SYSV_ABI sceShellCoreUtilSetImposeStatusFlag();
int PS4_SYSV_ABI sceShellCoreUtilSetPsStoreIconLayout();
int PS4_SYSV_ABI sceShellCoreUtilSetPsStoreIconState();
int PS4_SYSV_ABI sceShellCoreUtilSetRemotePlayStatus();
int PS4_SYSV_ABI sceShellCoreUtilSetSharePlayStatus();
int PS4_SYSV_ABI sceShellCoreUtilSetSkipUpdateCheck();
int PS4_SYSV_ABI sceShellCoreUtilSetSocialScreenStatus();
int PS4_SYSV_ABI sceShellCoreUtilSetSplashScreenState();
int PS4_SYSV_ABI sceShellCoreUtilSetSystemBGState();
int PS4_SYSV_ABI sceShellCoreUtilSetSystemBGWaveColor();
int PS4_SYSV_ABI sceShellCoreUtilSetSystemBGWaveState();
int PS4_SYSV_ABI sceShellCoreUtilSetUIStatus();
int PS4_SYSV_ABI sceShellCoreUtilSetUserFocus();
int PS4_SYSV_ABI sceShellCoreUtilShowCriticalErrorDialog();
int PS4_SYSV_ABI sceShellCoreUtilShowErrorDialog();
int PS4_SYSV_ABI sceShellCoreUtilShowErrorDialogWithFormatArgs();
int PS4_SYSV_ABI sceShellCoreUtilShowErrorDialogWithParam();
int PS4_SYSV_ABI sceShellCoreUtilShowPsUnderLockIndicator();
int PS4_SYSV_ABI sceShellCoreUtilSignalUserInput();
int PS4_SYSV_ABI sceShellCoreUtilStartOptimization();
int PS4_SYSV_ABI sceShellCoreUtilStartPsNowGame();
int PS4_SYSV_ABI sceShellCoreUtilStopOptimization();
int PS4_SYSV_ABI sceShellCoreUtilStopPsNowGame();
int PS4_SYSV_ABI sceShellCoreUtilTestBusTransferSpeed();
int PS4_SYSV_ABI sceShellCoreUtilTickHeartBeat();
int PS4_SYSV_ABI sceShellCoreUtilTriggerPapcRecalculation();
int PS4_SYSV_ABI sceShellCoreUtilTriggerPapcUpdate();
int PS4_SYSV_ABI sceShellCoreUtilTurnOffScreenSaver();
int PS4_SYSV_ABI sceShellCoreUtilUnmountAppRight();
int PS4_SYSV_ABI sceShellCoreUtilUnmountDownloadDataForShellUI();
int PS4_SYSV_ABI sceShellCoreUtilUnmountHddForBackup();
int PS4_SYSV_ABI sceShellCoreUtilUnmountHddForRestore();
int PS4_SYSV_ABI sceShellCoreUtilWriteSmrHddDummyData();
int PS4_SYSV_ABI Func_1E5CA5A71FA7F028();
int PS4_SYSV_ABI Func_6D43644F75C38346();
int PS4_SYSV_ABI Func_739FB849CB28F445();
int PS4_SYSV_ABI Func_B20628FF35C74111();
int PS4_SYSV_ABI sceSystemServiceAddLocalProcessForJvm();
int PS4_SYSV_ABI sceSystemServiceGetParentSocketForJvm();
int PS4_SYSV_ABI sceSystemServiceKillLocalProcessForJvm();
int PS4_SYSV_ABI sceSystemServiceAcquireFb0();
int PS4_SYSV_ABI sceSystemServiceAddLocalProcess();
int PS4_SYSV_ABI sceSystemServiceAddLocalProcessForPsmKit();
int PS4_SYSV_ABI sceSystemServiceChangeAcpClock();
int PS4_SYSV_ABI sceSystemServiceChangeCpuClock();
int PS4_SYSV_ABI sceSystemServiceChangeGpuClock();
int PS4_SYSV_ABI sceSystemServiceChangeMemoryClock();
int PS4_SYSV_ABI sceSystemServiceChangeMemoryClockToBaseMode();
int PS4_SYSV_ABI sceSystemServiceChangeMemoryClockToDefault();
int PS4_SYSV_ABI sceSystemServiceChangeMemoryClockToMultiMediaMode();
int PS4_SYSV_ABI sceSystemServiceChangeNumberOfGpuCu();
int PS4_SYSV_ABI sceSystemServiceChangeSamuClock();
int PS4_SYSV_ABI sceSystemServiceChangeUvdClock();
int PS4_SYSV_ABI sceSystemServiceChangeVceClock();
int PS4_SYSV_ABI sceSystemServiceDisableMusicPlayer();
int PS4_SYSV_ABI sceSystemServiceDisablePersonalEyeToEyeDistanceSetting();
int PS4_SYSV_ABI sceSystemServiceDisableSuspendConfirmationDialog();
int PS4_SYSV_ABI sceSystemServiceEnablePersonalEyeToEyeDistanceSetting();
int PS4_SYSV_ABI sceSystemServiceEnableSuspendConfirmationDialog();
int PS4_SYSV_ABI sceSystemServiceGetAppFocusedAppStatus();
int PS4_SYSV_ABI sceSystemServiceGetAppIdOfBigApp();
int PS4_SYSV_ABI sceSystemServiceGetAppIdOfMiniApp();
int PS4_SYSV_ABI sceSystemServiceGetAppStatus();
int PS4_SYSV_ABI sceSystemServiceGetAppType();
int PS4_SYSV_ABI sceSystemServiceGetDisplaySafeAreaInfo();
int PS4_SYSV_ABI sceSystemServiceGetEventForDaemon();
int PS4_SYSV_ABI sceSystemServiceGetGpuLoadEmulationMode();
int PS4_SYSV_ABI sceSystemServiceGetHdrToneMapLuminance();
int PS4_SYSV_ABI sceSystemServiceGetLocalProcessStatusList();
int PS4_SYSV_ABI sceSystemServiceGetParentSocket();
int PS4_SYSV_ABI sceSystemServiceGetParentSocketForPsmKit();
int PS4_SYSV_ABI sceSystemServiceGetPSButtonEvent();
int PS4_SYSV_ABI sceSystemServiceGetRenderingMode();
int PS4_SYSV_ABI sceSystemServiceGetStatus();
int PS4_SYSV_ABI sceSystemServiceGetTitleWorkaroundInfo();
int PS4_SYSV_ABI sceSystemServiceGetVersionNumberOfCameraCalibrationData();
int PS4_SYSV_ABI sceSystemServiceHideSplashScreen();
int PS4_SYSV_ABI sceSystemServiceIsAppSuspended();
int PS4_SYSV_ABI sceSystemServiceIsBgmPlaying();
int PS4_SYSV_ABI sceSystemServiceIsEyeToEyeDistanceAdjusted();
int PS4_SYSV_ABI sceSystemServiceIsScreenSaverOn();
int PS4_SYSV_ABI sceSystemServiceIsShellUiFgAndGameBgCpuMode();
int PS4_SYSV_ABI sceSystemServiceKillApp();
int PS4_SYSV_ABI sceSystemServiceKillLocalProcess();
int PS4_SYSV_ABI sceSystemServiceKillLocalProcessForPsmKit();
int PS4_SYSV_ABI sceSystemServiceLaunchApp();
int PS4_SYSV_ABI sceSystemServiceLaunchEventDetails();
int PS4_SYSV_ABI sceSystemServiceLaunchTournamentList();
int PS4_SYSV_ABI sceSystemServiceLaunchTournamentsTeamProfile();
int PS4_SYSV_ABI sceSystemServiceLaunchWebBrowser();
int PS4_SYSV_ABI sceSystemServiceLoadExec();
int PS4_SYSV_ABI sceSystemServiceNavigateToAnotherApp();
int PS4_SYSV_ABI sceSystemServiceNavigateToGoBack();
int PS4_SYSV_ABI sceSystemServiceNavigateToGoBackWithValue();
int PS4_SYSV_ABI sceSystemServiceNavigateToGoHome();
int PS4_SYSV_ABI sceSystemServiceParamGetInt();
int PS4_SYSV_ABI sceSystemServiceParamGetString();
int PS4_SYSV_ABI sceSystemServicePowerTick();
int PS4_SYSV_ABI sceSystemServiceRaiseExceptionLocalProcess();
int PS4_SYSV_ABI sceSystemServiceReceiveEvent();
int PS4_SYSV_ABI sceSystemServiceReenableMusicPlayer();
int PS4_SYSV_ABI sceSystemServiceRegisterDaemon();
int PS4_SYSV_ABI sceSystemServiceReleaseFb0();
int PS4_SYSV_ABI sceSystemServiceReportAbnormalTermination();
int PS4_SYSV_ABI sceSystemServiceRequestCameraCalibration();
int PS4_SYSV_ABI sceSystemServiceRequestToChangeRenderingMode();
int PS4_SYSV_ABI sceSystemServiceResumeLocalProcess();
int PS4_SYSV_ABI sceSystemServiceSetControllerFocusPermission();
int PS4_SYSV_ABI sceSystemServiceSetGpuLoadEmulationMode();
int PS4_SYSV_ABI sceSystemServiceSetOutOfVrPlayAreaFlag();
int PS4_SYSV_ABI sceSystemServiceSetOutOfVrPlayZoneWarning();
int PS4_SYSV_ABI sceSystemServiceShowControllerSettings();
int PS4_SYSV_ABI sceSystemServiceShowDisplaySafeAreaSettings();
int PS4_SYSV_ABI sceSystemServiceShowEyeToEyeDistanceSetting();
int PS4_SYSV_ABI sceSystemServiceSuspendBackgroundApp();
int PS4_SYSV_ABI sceSystemServiceSuspendLocalProcess();
int PS4_SYSV_ABI sceSystemServiceTickVideoPlayback();
int PS4_SYSV_ABI sceSystemServiceTurnOffScreenSaver();
int PS4_SYSV_ABI Func_9031A344CB540F1A();
int PS4_SYSV_ABI Func_A9D4CF2568EAB837();
int PS4_SYSV_ABI sceSystemServiceLaunchWebApp();
int PS4_SYSV_ABI Func_B8495C766861FDCF();
int PS4_SYSV_ABI sceSystemServiceGetDbgExecutablePath();
int PS4_SYSV_ABI sceSystemServiceActivateHevc();
int PS4_SYSV_ABI sceSystemServiceActivateHevcAbort();
int PS4_SYSV_ABI sceSystemServiceActivateHevcGetStatus();
int PS4_SYSV_ABI sceSystemServiceActivateHevcInit();
int PS4_SYSV_ABI sceSystemServiceActivateHevcIsActivated();
int PS4_SYSV_ABI sceSystemServiceActivateHevcStart();
int PS4_SYSV_ABI sceSystemServiceActivateHevcTerm();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2Abort();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2GetStatus();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2Init();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2IsActivated();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2Start();
int PS4_SYSV_ABI sceSystemServiceActivateMpeg2Term();
int PS4_SYSV_ABI sceSystemStateMgrCancelShutdownTimer();
int PS4_SYSV_ABI sceSystemStateMgrEnterMediaPlaybackMode();
int PS4_SYSV_ABI sceSystemStateMgrEnterStandby();
int PS4_SYSV_ABI sceSystemStateMgrExtendShutdownTimer();
int PS4_SYSV_ABI sceSystemStateMgrExtendShutdownTimerForPostAutoUpdateProcess();
int PS4_SYSV_ABI sceSystemStateMgrGetCurrentState();
int PS4_SYSV_ABI sceSystemStateMgrGetTriggerCode();
int PS4_SYSV_ABI sceSystemStateMgrIsBdDriveReady();
int PS4_SYSV_ABI sceSystemStateMgrIsGpuPerformanceNormal();
int PS4_SYSV_ABI sceSystemStateMgrIsShellUIShutdownInProgress();
int PS4_SYSV_ABI sceSystemStateMgrIsStandbyModeEnabled();
int PS4_SYSV_ABI sceSystemStateMgrLeaveMediaPlaybackMode();
int PS4_SYSV_ABI sceSystemStateMgrNotifySystemSuspendResumeProgress();
int PS4_SYSV_ABI sceSystemStateMgrReboot();
int PS4_SYSV_ABI sceSystemStateMgrSendCecOneTouchPlayCommand();
int PS4_SYSV_ABI sceSystemStateMgrStartRebootTimer();
int PS4_SYSV_ABI sceSystemStateMgrStartShutdownTimer();
int PS4_SYSV_ABI sceSystemStateMgrStartStadbyTimer();
int PS4_SYSV_ABI sceSystemStateMgrStartVshAutoUpdateTimer();
int PS4_SYSV_ABI sceSystemStateMgrTickMusicPlayback();
int PS4_SYSV_ABI sceSystemStateMgrTickPartyChat();
int PS4_SYSV_ABI sceSystemStateMgrTurnOff();
int PS4_SYSV_ABI sceSystemStateMgrVshAutoUpdate();
int PS4_SYSV_ABI sceSystemStateMgrWaitVshAutoUpdateVerifyDone();
int PS4_SYSV_ABI sceSystemStateMgrWakeUp();
int PS4_SYSV_ABI Func_89F262179C22B49E();
int PS4_SYSV_ABI Func_AC8A8FAB4A1696B8();
int PS4_SYSV_ABI sceSystemServiceInvokeAppLaunchLink();
int PS4_SYSV_ABI sceSystemServiceShowClosedCaptionAdvancedSettings();
int PS4_SYSV_ABI sceSystemServiceShowClosedCaptionSettings();
int PS4_SYSV_ABI sceSystemServiceSetPowerSaveLevel();
int PS4_SYSV_ABI sceSystemServiceInitializeForShellCore();
int PS4_SYSV_ABI Func_7C1183FC73629929();
int PS4_SYSV_ABI sceSystemServiceDisablePartyVoice();
int PS4_SYSV_ABI sceSystemServiceReenablePartyVoice();
int PS4_SYSV_ABI sceSystemServiceGetPlatformPrivacyDefinitionData();
int PS4_SYSV_ABI sceSystemServiceGetPlatformPrivacyDefinitionVersion();
int PS4_SYSV_ABI sceSystemServiceGetPlatformPrivacySetting();
int PS4_SYSV_ABI sceSystemServiceDeclareReadyForSuspend();
int PS4_SYSV_ABI sceSystemServiceDisableSuspendNotification();
int PS4_SYSV_ABI sceSystemServiceEnableSuspendNotification();
int PS4_SYSV_ABI sceSystemServiceRequestPowerOff();
int PS4_SYSV_ABI sceSystemServiceRequestReboot();
int PS4_SYSV_ABI sceSystemServiceAddLocalProcessForPs2Emu();
int PS4_SYSV_ABI sceSystemServiceGetParentSocketForPs2Emu();
int PS4_SYSV_ABI sceSystemServiceKillLocalProcessForPs2Emu();
int PS4_SYSV_ABI sceSystemServiceShowImposeMenuForPs2Emu();
int PS4_SYSV_ABI sceSystemServiceSaveVideoToken();
int PS4_SYSV_ABI sceSystemServiceLaunchStore();
int PS4_SYSV_ABI sceSystemServiceTelemetrySetData();
int PS4_SYSV_ABI Func_C67FC780F5B6F71E();
int PS4_SYSV_ABI sceSystemServiceLaunchUdsApp();
int PS4_SYSV_ABI sceSystemServiceLoadExecVideoServiceWebApp();
int PS4_SYSV_ABI sceSystemServiceDisableVoiceRecognition();
int PS4_SYSV_ABI sceSystemServiceReenableVoiceRecognition();
int PS4_SYSV_ABI Func_6B1CDB955F0EBD65();
int PS4_SYSV_ABI Func_CB5E885E225F69F0();
void RegisterlibSceSystemService(Core::Loader::SymbolsResolver * sym);
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,435 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "library_common.h"
namespace Libraries::UserService{
int PS4_SYSV_ABI sceUserServiceInitializeForShellCore();
int PS4_SYSV_ABI sceUserServiceTerminateForShellCore();
int PS4_SYSV_ABI sceUserServiceDestroyUser();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityKeyremapData();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityKeyremapEnable();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityPressAndHoldDelay();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityVibration();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityZoom();
int PS4_SYSV_ABI sceUserServiceGetAccessibilityZoomEnabled();
int PS4_SYSV_ABI sceUserServiceGetAccountRemarks();
int PS4_SYSV_ABI sceUserServiceGetAgeVerified();
int PS4_SYSV_ABI sceUserServiceGetAppearOfflineSetting();
int PS4_SYSV_ABI sceUserServiceGetAppSortOrder();
int PS4_SYSV_ABI sceUserServiceGetAutoLoginEnabled();
int PS4_SYSV_ABI sceUserServiceGetCreatedVersion();
int PS4_SYSV_ABI sceUserServiceGetCurrentUserGroupIndex();
int PS4_SYSV_ABI sceUserServiceGetDefaultNewUserGroupName();
int PS4_SYSV_ABI sceUserServiceGetDeletedUserInfo();
int PS4_SYSV_ABI sceUserServiceGetDiscPlayerFlag();
int PS4_SYSV_ABI sceUserServiceGetEvent();
int PS4_SYSV_ABI sceUserServiceGetEventCalendarType();
int PS4_SYSV_ABI sceUserServiceGetEventFilterTeamEvent();
int PS4_SYSV_ABI sceUserServiceGetEventSortEvent();
int PS4_SYSV_ABI sceUserServiceGetEventSortTitle();
int PS4_SYSV_ABI sceUserServiceGetEventUiFlag();
int PS4_SYSV_ABI sceUserServiceGetEventVsh();
int PS4_SYSV_ABI sceUserServiceGetFaceRecognitionDeleteCount();
int PS4_SYSV_ABI sceUserServiceGetFaceRecognitionRegisterCount();
int PS4_SYSV_ABI sceUserServiceGetFileBrowserFilter();
int PS4_SYSV_ABI sceUserServiceGetFileBrowserSortContent();
int PS4_SYSV_ABI sceUserServiceGetFileBrowserSortTitle();
int PS4_SYSV_ABI sceUserServiceGetFileSelectorFilter();
int PS4_SYSV_ABI sceUserServiceGetFileSelectorSortContent();
int PS4_SYSV_ABI sceUserServiceGetFileSelectorSortTitle();
int PS4_SYSV_ABI sceUserServiceGetForegroundUser();
int PS4_SYSV_ABI sceUserServiceGetFriendCustomListLastFocus();
int PS4_SYSV_ABI sceUserServiceGetFriendFlag();
int PS4_SYSV_ABI sceUserServiceGetGlsAccessTokenNiconicoLive();
int PS4_SYSV_ABI sceUserServiceGetGlsAccessTokenTwitch();
int PS4_SYSV_ABI sceUserServiceGetGlsAccessTokenUstream();
int PS4_SYSV_ABI sceUserServiceGetGlsAnonymousUserId();
int PS4_SYSV_ABI sceUserServiceGetGlsBcTags();
int PS4_SYSV_ABI sceUserServiceGetGlsBcTitle();
int PS4_SYSV_ABI sceUserServiceGetGlsBroadcastChannel();
int PS4_SYSV_ABI sceUserServiceGetGlsBroadcastersComment();
int PS4_SYSV_ABI sceUserServiceGetGlsBroadcastersCommentColor();
int PS4_SYSV_ABI sceUserServiceGetGlsBroadcastService();
int PS4_SYSV_ABI sceUserServiceGetGlsBroadcastUiLayout();
int PS4_SYSV_ABI sceUserServiceGetGlsCamCrop();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraBgFilter();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraBrightness();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraChromaKeyLevel();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraContrast();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraDepthLevel();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraEdgeLevel();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraEffect();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraEliminationLevel();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraPosition();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraReflection();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraSize();
int PS4_SYSV_ABI sceUserServiceGetGlsCameraTransparency();
int PS4_SYSV_ABI sceUserServiceGetGlsCommunityId();
int PS4_SYSV_ABI sceUserServiceGetGlsFloatingMessage();
int PS4_SYSV_ABI sceUserServiceGetGlsHintFlag();
int PS4_SYSV_ABI sceUserServiceGetGlsInitSpectating();
int PS4_SYSV_ABI sceUserServiceGetGlsIsCameraHidden();
int PS4_SYSV_ABI sceUserServiceGetGlsIsFacebookEnabled();
int PS4_SYSV_ABI sceUserServiceGetGlsIsMuteEnabled();
int PS4_SYSV_ABI sceUserServiceGetGlsIsRecDisabled();
int PS4_SYSV_ABI sceUserServiceGetGlsIsRecievedMessageHidden();
int PS4_SYSV_ABI sceUserServiceGetGlsIsTwitterEnabled();
int PS4_SYSV_ABI sceUserServiceGetGlsLanguageFilter();
int PS4_SYSV_ABI sceUserServiceGetGlsLfpsSortOrder();
int PS4_SYSV_ABI sceUserServiceGetGlsLiveQuality();
int PS4_SYSV_ABI sceUserServiceGetGlsLiveQuality2();
int PS4_SYSV_ABI sceUserServiceGetGlsLiveQuality3();
int PS4_SYSV_ABI sceUserServiceGetGlsLiveQuality4();
int PS4_SYSV_ABI sceUserServiceGetGlsLiveQuality5();
int PS4_SYSV_ABI sceUserServiceGetGlsMessageFilterLevel();
int PS4_SYSV_ABI sceUserServiceGetGlsTtsFlags();
int PS4_SYSV_ABI sceUserServiceGetGlsTtsPitch();
int PS4_SYSV_ABI sceUserServiceGetGlsTtsSpeed();
int PS4_SYSV_ABI sceUserServiceGetGlsTtsVolume();
int PS4_SYSV_ABI sceUserServiceGetHmuBrightness();
int PS4_SYSV_ABI sceUserServiceGetHmuZoom();
int PS4_SYSV_ABI sceUserServiceGetHoldAudioOutDevice();
int PS4_SYSV_ABI sceUserServiceGetHomeDirectory();
int PS4_SYSV_ABI sceUserServiceGetImeAutoCapitalEnabled();
int PS4_SYSV_ABI sceUserServiceGetImeInitFlag();
int PS4_SYSV_ABI sceUserServiceGetImeInputType();
int PS4_SYSV_ABI sceUserServiceGetImeLastUnit();
int PS4_SYSV_ABI sceUserServiceGetImePointerMode();
int PS4_SYSV_ABI sceUserServiceGetImePredictiveTextEnabled();
int PS4_SYSV_ABI sceUserServiceGetImeRunCount();
int PS4_SYSV_ABI sceUserServiceGetInitialUser();
int PS4_SYSV_ABI sceUserServiceGetIPDLeft();
int PS4_SYSV_ABI sceUserServiceGetIPDRight();
int PS4_SYSV_ABI sceUserServiceGetIsFakePlus();
int PS4_SYSV_ABI sceUserServiceGetIsQuickSignup();
int PS4_SYSV_ABI sceUserServiceGetIsRemotePlayAllowed();
int PS4_SYSV_ABI sceUserServiceGetJapaneseInputType();
int PS4_SYSV_ABI sceUserServiceGetKeyboardType();
int PS4_SYSV_ABI sceUserServiceGetKeyRepeatSpeed();
int PS4_SYSV_ABI sceUserServiceGetKeyRepeatStartingTime();
int PS4_SYSV_ABI sceUserServiceGetKratosPrimaryUser();
int PS4_SYSV_ABI sceUserServiceGetLastLoginOrder();
int PS4_SYSV_ABI sceUserServiceGetLightBarBaseBrightness();
int PS4_SYSV_ABI sceUserServiceGetLoginFlag();
int PS4_SYSV_ABI sceUserServiceGetLoginUserIdList();
int PS4_SYSV_ABI sceUserServiceGetMicLevel();
int PS4_SYSV_ABI sceUserServiceGetMouseHandType();
int PS4_SYSV_ABI sceUserServiceGetMousePointerSpeed();
int PS4_SYSV_ABI sceUserServiceGetNotificationBehavior();
int PS4_SYSV_ABI sceUserServiceGetNotificationSettings();
int PS4_SYSV_ABI sceUserServiceGetNpAccountId();
int PS4_SYSV_ABI sceUserServiceGetNpAccountUpgradeFlag();
int PS4_SYSV_ABI sceUserServiceGetNpAge();
int PS4_SYSV_ABI sceUserServiceGetNpAuthErrorFlag();
int PS4_SYSV_ABI sceUserServiceGetNpCountryCode();
int PS4_SYSV_ABI sceUserServiceGetNpDateOfBirth();
int PS4_SYSV_ABI sceUserServiceGetNpEnv();
int PS4_SYSV_ABI sceUserServiceGetNpLanguageCode();
int PS4_SYSV_ABI sceUserServiceGetNpLanguageCode2();
int PS4_SYSV_ABI sceUserServiceGetNpLoginId();
int PS4_SYSV_ABI sceUserServiceGetNpMAccountId();
int PS4_SYSV_ABI sceUserServiceGetNpNpId();
int PS4_SYSV_ABI sceUserServiceGetNpOfflineAccountAdult();
int PS4_SYSV_ABI sceUserServiceGetNpOfflineAccountId();
int PS4_SYSV_ABI sceUserServiceGetNpOnlineId();
int PS4_SYSV_ABI sceUserServiceGetNpSubAccount();
int PS4_SYSV_ABI sceUserServiceGetPadSpeakerVolume();
int PS4_SYSV_ABI sceUserServiceGetParentalBdAge();
int PS4_SYSV_ABI sceUserServiceGetParentalBrowser();
int PS4_SYSV_ABI sceUserServiceGetParentalDvd();
int PS4_SYSV_ABI sceUserServiceGetParentalDvdRegion();
int PS4_SYSV_ABI sceUserServiceGetParentalGame();
int PS4_SYSV_ABI sceUserServiceGetParentalGameAgeLevel();
int PS4_SYSV_ABI sceUserServiceGetParentalMorpheus();
int PS4_SYSV_ABI sceUserServiceGetPartyMuteList();
int PS4_SYSV_ABI sceUserServiceGetPartyMuteListA();
int PS4_SYSV_ABI sceUserServiceGetPartySettingFlags();
int PS4_SYSV_ABI sceUserServiceGetPasscode();
int PS4_SYSV_ABI sceUserServiceGetPbtcAdditionalTime();
int PS4_SYSV_ABI sceUserServiceGetPbtcFlag();
int PS4_SYSV_ABI sceUserServiceGetPbtcFridayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcFridayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcFridayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcMode();
int PS4_SYSV_ABI sceUserServiceGetPbtcMondayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcMondayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcMondayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcPlayTime();
int PS4_SYSV_ABI sceUserServiceGetPbtcPlayTimeLastUpdated();
int PS4_SYSV_ABI sceUserServiceGetPbtcSaturdayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcSaturdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcSaturdayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcSundayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcSundayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcSundayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcThursdayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcThursdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcThursdayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcTuesdayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcTuesdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcTuesdayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPbtcTzOffset();
int PS4_SYSV_ABI sceUserServiceGetPbtcWednesdayDuration();
int PS4_SYSV_ABI sceUserServiceGetPbtcWednesdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceGetPbtcWednesdayHoursStart();
int PS4_SYSV_ABI sceUserServiceGetPlayTogetherFlags();
int PS4_SYSV_ABI sceUserServiceGetPsnPasswordForDebug();
int PS4_SYSV_ABI sceUserServiceGetRegisteredHomeUserIdList();
int PS4_SYSV_ABI sceUserServiceGetRegisteredUserIdList();
int PS4_SYSV_ABI sceUserServiceGetSaveDataAutoUpload();
int PS4_SYSV_ABI sceUserServiceGetSaveDataSort();
int PS4_SYSV_ABI sceUserServiceGetSaveDataTutorialFlag();
int PS4_SYSV_ABI sceUserServiceGetSecureHomeDirectory();
int PS4_SYSV_ABI sceUserServiceGetShareButtonAssign();
int PS4_SYSV_ABI sceUserServiceGetShareDailymotionAccessToken();
int PS4_SYSV_ABI sceUserServiceGetShareDailymotionRefreshToken();
int PS4_SYSV_ABI sceUserServiceGetSharePlayFlags();
int PS4_SYSV_ABI sceUserServiceGetSharePlayFramerateHost();
int PS4_SYSV_ABI sceUserServiceGetSharePlayResolutionHost();
int PS4_SYSV_ABI sceUserServiceGetShareStatus();
int PS4_SYSV_ABI sceUserServiceGetShareStatus2();
int PS4_SYSV_ABI sceUserServiceGetSystemLoggerHashedAccountId();
int PS4_SYSV_ABI sceUserServiceGetSystemLoggerHashedAccountIdClockType();
int PS4_SYSV_ABI sceUserServiceGetSystemLoggerHashedAccountIdParam();
int PS4_SYSV_ABI sceUserServiceGetSystemLoggerHashedAccountIdTtl();
int PS4_SYSV_ABI sceUserServiceGetTeamShowAboutTeam();
int PS4_SYSV_ABI sceUserServiceGetThemeBgImageDimmer();
int PS4_SYSV_ABI sceUserServiceGetThemeBgImageWaveColor();
int PS4_SYSV_ABI sceUserServiceGetThemeBgImageZoom();
int PS4_SYSV_ABI sceUserServiceGetThemeEntitlementId();
int PS4_SYSV_ABI sceUserServiceGetThemeHomeShareOwner();
int PS4_SYSV_ABI sceUserServiceGetThemeTextShadow();
int PS4_SYSV_ABI sceUserServiceGetThemeWaveColor();
int PS4_SYSV_ABI sceUserServiceGetTopMenuLimitItem();
int PS4_SYSV_ABI sceUserServiceGetTopMenuNotificationFlag();
int PS4_SYSV_ABI sceUserServiceGetTopMenuTutorialFlag();
int PS4_SYSV_ABI sceUserServiceGetTraditionalChineseInputType();
int PS4_SYSV_ABI sceUserServiceGetUserColor();
int PS4_SYSV_ABI sceUserServiceGetUserGroupName();
int PS4_SYSV_ABI sceUserServiceGetUserGroupNameList();
int PS4_SYSV_ABI sceUserServiceGetUserGroupNum();
int PS4_SYSV_ABI sceUserServiceGetUserName();
int PS4_SYSV_ABI sceUserServiceGetUserStatus();
int PS4_SYSV_ABI sceUserServiceGetVibrationEnabled();
int PS4_SYSV_ABI sceUserServiceGetVoiceRecognitionLastUsedOsk();
int PS4_SYSV_ABI sceUserServiceGetVoiceRecognitionTutorialState();
int PS4_SYSV_ABI sceUserServiceGetVolumeForController();
int PS4_SYSV_ABI sceUserServiceGetVolumeForGenericUSB();
int PS4_SYSV_ABI sceUserServiceGetVolumeForMorpheusSidetone();
int PS4_SYSV_ABI sceUserServiceGetVolumeForSidetone();
int PS4_SYSV_ABI sceUserServiceInitialize();
int PS4_SYSV_ABI sceUserServiceInitialize2();
int PS4_SYSV_ABI sceUserServiceIsGuestUser();
int PS4_SYSV_ABI sceUserServiceIsKratosPrimaryUser();
int PS4_SYSV_ABI sceUserServiceIsKratosUser();
int PS4_SYSV_ABI sceUserServiceIsLoggedIn();
int PS4_SYSV_ABI sceUserServiceIsLoggedInWithoutLock();
int PS4_SYSV_ABI sceUserServiceIsSharePlayClientUser();
int PS4_SYSV_ABI sceUserServiceIsUserStorageAccountBound();
int PS4_SYSV_ABI sceUserServiceLogin();
int PS4_SYSV_ABI sceUserServiceLogout();
int PS4_SYSV_ABI sceUserServiceRegisterEventCallback();
int PS4_SYSV_ABI sceUserServiceSetAccessibilityKeyremapData();
int PS4_SYSV_ABI sceUserServiceSetAccessibilityKeyremapEnable();
int PS4_SYSV_ABI sceUserServiceSetAccessibilityZoom();
int PS4_SYSV_ABI sceUserServiceSetAccountRemarks();
int PS4_SYSV_ABI sceUserServiceSetAgeVerified();
int PS4_SYSV_ABI sceUserServiceSetAppearOfflineSetting();
int PS4_SYSV_ABI sceUserServiceSetAppSortOrder();
int PS4_SYSV_ABI sceUserServiceSetAutoLoginEnabled();
int PS4_SYSV_ABI sceUserServiceSetCreatedVersion();
int PS4_SYSV_ABI sceUserServiceSetDiscPlayerFlag();
int PS4_SYSV_ABI sceUserServiceSetEventCalendarType();
int PS4_SYSV_ABI sceUserServiceSetEventFilterTeamEvent();
int PS4_SYSV_ABI sceUserServiceSetEventSortEvent();
int PS4_SYSV_ABI sceUserServiceSetEventSortTitle();
int PS4_SYSV_ABI sceUserServiceSetEventUiFlag();
int PS4_SYSV_ABI sceUserServiceSetFaceRecognitionDeleteCount();
int PS4_SYSV_ABI sceUserServiceSetFaceRecognitionRegisterCount();
int PS4_SYSV_ABI sceUserServiceSetFileBrowserFilter();
int PS4_SYSV_ABI sceUserServiceSetFileBrowserSortContent();
int PS4_SYSV_ABI sceUserServiceSetFileBrowserSortTitle();
int PS4_SYSV_ABI sceUserServiceSetFileSelectorFilter();
int PS4_SYSV_ABI sceUserServiceSetFileSelectorSortContent();
int PS4_SYSV_ABI sceUserServiceSetFileSelectorSortTitle();
int PS4_SYSV_ABI sceUserServiceSetForegroundUser();
int PS4_SYSV_ABI sceUserServiceSetFriendCustomListLastFocus();
int PS4_SYSV_ABI sceUserServiceSetFriendFlag();
int PS4_SYSV_ABI sceUserServiceSetGlsAccessTokenNiconicoLive();
int PS4_SYSV_ABI sceUserServiceSetGlsAccessTokenTwitch();
int PS4_SYSV_ABI sceUserServiceSetGlsAccessTokenUstream();
int PS4_SYSV_ABI sceUserServiceSetGlsAnonymousUserId();
int PS4_SYSV_ABI sceUserServiceSetGlsBcTags();
int PS4_SYSV_ABI sceUserServiceSetGlsBcTitle();
int PS4_SYSV_ABI sceUserServiceSetGlsBroadcastChannel();
int PS4_SYSV_ABI sceUserServiceSetGlsBroadcastersComment();
int PS4_SYSV_ABI sceUserServiceSetGlsBroadcastersCommentColor();
int PS4_SYSV_ABI sceUserServiceSetGlsBroadcastService();
int PS4_SYSV_ABI sceUserServiceSetGlsBroadcastUiLayout();
int PS4_SYSV_ABI sceUserServiceSetGlsCamCrop();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraBgFilter();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraBrightness();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraChromaKeyLevel();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraContrast();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraDepthLevel();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraEdgeLevel();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraEffect();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraEliminationLevel();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraPosition();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraReflection();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraSize();
int PS4_SYSV_ABI sceUserServiceSetGlsCameraTransparency();
int PS4_SYSV_ABI sceUserServiceSetGlsCommunityId();
int PS4_SYSV_ABI sceUserServiceSetGlsFloatingMessage();
int PS4_SYSV_ABI sceUserServiceSetGlsHintFlag();
int PS4_SYSV_ABI sceUserServiceSetGlsInitSpectating();
int PS4_SYSV_ABI sceUserServiceSetGlsIsCameraHidden();
int PS4_SYSV_ABI sceUserServiceSetGlsIsFacebookEnabled();
int PS4_SYSV_ABI sceUserServiceSetGlsIsMuteEnabled();
int PS4_SYSV_ABI sceUserServiceSetGlsIsRecDisabled();
int PS4_SYSV_ABI sceUserServiceSetGlsIsRecievedMessageHidden();
int PS4_SYSV_ABI sceUserServiceSetGlsIsTwitterEnabled();
int PS4_SYSV_ABI sceUserServiceSetGlsLanguageFilter();
int PS4_SYSV_ABI sceUserServiceSetGlsLfpsSortOrder();
int PS4_SYSV_ABI sceUserServiceSetGlsLiveQuality();
int PS4_SYSV_ABI sceUserServiceSetGlsLiveQuality2();
int PS4_SYSV_ABI sceUserServiceSetGlsLiveQuality3();
int PS4_SYSV_ABI sceUserServiceSetGlsLiveQuality4();
int PS4_SYSV_ABI sceUserServiceSetGlsLiveQuality5();
int PS4_SYSV_ABI sceUserServiceSetGlsMessageFilterLevel();
int PS4_SYSV_ABI sceUserServiceSetGlsTtsFlags();
int PS4_SYSV_ABI sceUserServiceSetGlsTtsPitch();
int PS4_SYSV_ABI sceUserServiceSetGlsTtsSpeed();
int PS4_SYSV_ABI sceUserServiceSetGlsTtsVolume();
int PS4_SYSV_ABI sceUserServiceSetHmuBrightness();
int PS4_SYSV_ABI sceUserServiceSetHmuZoom();
int PS4_SYSV_ABI sceUserServiceSetHoldAudioOutDevice();
int PS4_SYSV_ABI sceUserServiceSetImeAutoCapitalEnabled();
int PS4_SYSV_ABI sceUserServiceSetImeInitFlag();
int PS4_SYSV_ABI sceUserServiceSetImeInputType();
int PS4_SYSV_ABI sceUserServiceSetImeLastUnit();
int PS4_SYSV_ABI sceUserServiceSetImePointerMode();
int PS4_SYSV_ABI sceUserServiceSetImePredictiveTextEnabled();
int PS4_SYSV_ABI sceUserServiceSetImeRunCount();
int PS4_SYSV_ABI sceUserServiceSetIPDLeft();
int PS4_SYSV_ABI sceUserServiceSetIPDRight();
int PS4_SYSV_ABI sceUserServiceSetIsFakePlus();
int PS4_SYSV_ABI sceUserServiceSetIsQuickSignup();
int PS4_SYSV_ABI sceUserServiceSetIsRemotePlayAllowed();
int PS4_SYSV_ABI sceUserServiceSetJapaneseInputType();
int PS4_SYSV_ABI sceUserServiceSetKeyboardType();
int PS4_SYSV_ABI sceUserServiceSetKeyRepeatSpeed();
int PS4_SYSV_ABI sceUserServiceSetKeyRepeatStartingTime();
int PS4_SYSV_ABI sceUserServiceSetLightBarBaseBrightness();
int PS4_SYSV_ABI sceUserServiceSetLoginFlag();
int PS4_SYSV_ABI sceUserServiceSetMicLevel();
int PS4_SYSV_ABI sceUserServiceSetMouseHandType();
int PS4_SYSV_ABI sceUserServiceSetMousePointerSpeed();
int PS4_SYSV_ABI sceUserServiceSetNotificationBehavior();
int PS4_SYSV_ABI sceUserServiceSetNotificationSettings();
int PS4_SYSV_ABI sceUserServiceSetNpAccountUpgradeFlag();
int PS4_SYSV_ABI sceUserServiceSetNpAge();
int PS4_SYSV_ABI sceUserServiceSetNpAuthErrorFlag();
int PS4_SYSV_ABI sceUserServiceSetNpCountryCode();
int PS4_SYSV_ABI sceUserServiceSetNpDateOfBirth();
int PS4_SYSV_ABI sceUserServiceSetNpEnv();
int PS4_SYSV_ABI sceUserServiceSetNpLanguageCode();
int PS4_SYSV_ABI sceUserServiceSetNpLanguageCode2();
int PS4_SYSV_ABI sceUserServiceSetNpLoginId();
int PS4_SYSV_ABI sceUserServiceSetNpMAccountId();
int PS4_SYSV_ABI sceUserServiceSetNpNpId();
int PS4_SYSV_ABI sceUserServiceSetNpOfflineAccountAdult();
int PS4_SYSV_ABI sceUserServiceSetNpOnlineId();
int PS4_SYSV_ABI sceUserServiceSetNpSubAccount();
int PS4_SYSV_ABI sceUserServiceSetPadSpeakerVolume();
int PS4_SYSV_ABI sceUserServiceSetParentalBdAge();
int PS4_SYSV_ABI sceUserServiceSetParentalBrowser();
int PS4_SYSV_ABI sceUserServiceSetParentalDvd();
int PS4_SYSV_ABI sceUserServiceSetParentalDvdRegion();
int PS4_SYSV_ABI sceUserServiceSetParentalGame();
int PS4_SYSV_ABI sceUserServiceSetParentalGameAgeLevel();
int PS4_SYSV_ABI sceUserServiceSetParentalMorpheus();
int PS4_SYSV_ABI sceUserServiceSetPartyMuteList();
int PS4_SYSV_ABI sceUserServiceSetPartyMuteListA();
int PS4_SYSV_ABI sceUserServiceSetPartySettingFlags();
int PS4_SYSV_ABI sceUserServiceSetPasscode();
int PS4_SYSV_ABI sceUserServiceSetPbtcAdditionalTime();
int PS4_SYSV_ABI sceUserServiceSetPbtcFlag();
int PS4_SYSV_ABI sceUserServiceSetPbtcFridayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcFridayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcFridayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcMode();
int PS4_SYSV_ABI sceUserServiceSetPbtcMondayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcMondayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcMondayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcPlayTime();
int PS4_SYSV_ABI sceUserServiceSetPbtcPlayTimeLastUpdated();
int PS4_SYSV_ABI sceUserServiceSetPbtcSaturdayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcSaturdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcSaturdayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcSundayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcSundayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcSundayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcThursdayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcThursdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcThursdayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcTuesdayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcTuesdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcTuesdayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPbtcTzOffset();
int PS4_SYSV_ABI sceUserServiceSetPbtcWednesdayDuration();
int PS4_SYSV_ABI sceUserServiceSetPbtcWednesdayHoursEnd();
int PS4_SYSV_ABI sceUserServiceSetPbtcWednesdayHoursStart();
int PS4_SYSV_ABI sceUserServiceSetPlayTogetherFlags();
int PS4_SYSV_ABI sceUserServiceSetPsnPasswordForDebug();
int PS4_SYSV_ABI sceUserServiceSetSaveDataAutoUpload();
int PS4_SYSV_ABI sceUserServiceSetSaveDataSort();
int PS4_SYSV_ABI sceUserServiceSetSaveDataTutorialFlag();
int PS4_SYSV_ABI sceUserServiceSetShareButtonAssign();
int PS4_SYSV_ABI sceUserServiceSetShareDailymotionAccessToken();
int PS4_SYSV_ABI sceUserServiceSetShareDailymotionRefreshToken();
int PS4_SYSV_ABI sceUserServiceSetSharePlayFlags();
int PS4_SYSV_ABI sceUserServiceSetSharePlayFramerateHost();
int PS4_SYSV_ABI sceUserServiceSetSharePlayResolutionHost();
int PS4_SYSV_ABI sceUserServiceSetShareStatus();
int PS4_SYSV_ABI sceUserServiceSetShareStatus2();
int PS4_SYSV_ABI sceUserServiceSetSystemLoggerHashedAccountId();
int PS4_SYSV_ABI sceUserServiceSetSystemLoggerHashedAccountIdClockType();
int PS4_SYSV_ABI sceUserServiceSetSystemLoggerHashedAccountIdParam();
int PS4_SYSV_ABI sceUserServiceSetSystemLoggerHashedAccountIdTtl();
int PS4_SYSV_ABI sceUserServiceSetTeamShowAboutTeam();
int PS4_SYSV_ABI sceUserServiceSetThemeBgImageDimmer();
int PS4_SYSV_ABI sceUserServiceSetThemeBgImageWaveColor();
int PS4_SYSV_ABI sceUserServiceSetThemeBgImageZoom();
int PS4_SYSV_ABI sceUserServiceSetThemeEntitlementId();
int PS4_SYSV_ABI sceUserServiceSetThemeHomeShareOwner();
int PS4_SYSV_ABI sceUserServiceSetThemeTextShadow();
int PS4_SYSV_ABI sceUserServiceSetThemeWaveColor();
int PS4_SYSV_ABI sceUserServiceSetTopMenuLimitItem();
int PS4_SYSV_ABI sceUserServiceSetTopMenuNotificationFlag();
int PS4_SYSV_ABI sceUserServiceSetTopMenuTutorialFlag();
int PS4_SYSV_ABI sceUserServiceSetTraditionalChineseInputType();
int PS4_SYSV_ABI sceUserServiceSetUserGroupIndex();
int PS4_SYSV_ABI sceUserServiceSetUserGroupName();
int PS4_SYSV_ABI sceUserServiceSetUserName();
int PS4_SYSV_ABI sceUserServiceSetUserStatus();
int PS4_SYSV_ABI sceUserServiceSetVibrationEnabled();
int PS4_SYSV_ABI sceUserServiceSetVoiceRecognitionLastUsedOsk();
int PS4_SYSV_ABI sceUserServiceSetVoiceRecognitionTutorialState();
int PS4_SYSV_ABI sceUserServiceSetVolumeForController();
int PS4_SYSV_ABI sceUserServiceSetVolumeForGenericUSB();
int PS4_SYSV_ABI sceUserServiceSetVolumeForMorpheusSidetone();
int PS4_SYSV_ABI sceUserServiceSetVolumeForSidetone();
int PS4_SYSV_ABI sceUserServiceTerminate();
int PS4_SYSV_ABI sceUserServiceUnregisterEventCallback();
int PS4_SYSV_ABI Func_8AC6DC4168D5FEA5();
int PS4_SYSV_ABI Func_A6BDC9DFDAFD02B4();
int PS4_SYSV_ABI Func_BB9491DFE6B4953C();
int PS4_SYSV_ABI Func_D2B814603E7B4477();
void RegisterlibSceUserService(Core::Loader::SymbolsResolver * sym);
}

1065
libraries/libscevideoout.cpp Normal file

File diff suppressed because it is too large Load Diff

162
libraries/libscevideoout.h Normal file
View File

@ -0,0 +1,162 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "library_common.h"
namespace Libraries::VideoOut{
int PS4_SYSV_ABI sceDbgVideoOutAddOutputModeVr60Privilege();
int PS4_SYSV_ABI sceDbgVideoOutAddProcessAttribute();
int PS4_SYSV_ABI sceDbgVideoOutRemoveProcessAttribute();
int PS4_SYSV_ABI sceVideoOutAddBufferAnisoPrivilege();
int PS4_SYSV_ABI Func_87DE0FA368680D98();
int PS4_SYSV_ABI sceVideoOutAddBuffer();
int PS4_SYSV_ABI sceVideoOutAddBuffer4k2kPrivilege();
int PS4_SYSV_ABI sceVideoOutAddBufferYccPrivilege();
int PS4_SYSV_ABI sceVideoOutAddDisplayPositionEvent();
int PS4_SYSV_ABI sceVideoOutAddDriver();
int PS4_SYSV_ABI sceVideoOutAddFlipEvent();
int PS4_SYSV_ABI sceVideoOutAddPreVblankStartEvent();
int PS4_SYSV_ABI sceVideoOutAddS3dHmdPrivilege();
int PS4_SYSV_ABI sceVideoOutAddSetModeEvent();
int PS4_SYSV_ABI sceVideoOutAddStereoBuffer();
int PS4_SYSV_ABI sceVideoOutAddVblankEvent();
int PS4_SYSV_ABI sceVideoOutAdjustColor_();
int PS4_SYSV_ABI sceVideoOutClose();
int PS4_SYSV_ABI sceVideoOutColorSettingsSetGamma_();
int PS4_SYSV_ABI sceVideoOutConfigureOptionsInitialize_();
int PS4_SYSV_ABI sceVideoOutConfigureOutputMode_();
int PS4_SYSV_ABI sceVideoOutConfigureOutputModeEx_();
int PS4_SYSV_ABI sceVideoOutConfigureOutputModeExSubmitDoneUnsafe_();
int PS4_SYSV_ABI sceVideoOutControlHdcpEncryption();
int PS4_SYSV_ABI sceVideoOutCursorDisable();
int PS4_SYSV_ABI sceVideoOutCursorEnable();
int PS4_SYSV_ABI sceVideoOutCursorIsUpdatePending();
int PS4_SYSV_ABI sceVideoOutCursorSet2xMagnify();
int PS4_SYSV_ABI sceVideoOutCursorSetHotSpot();
int PS4_SYSV_ABI sceVideoOutCursorSetImageAddress();
int PS4_SYSV_ABI sceVideoOutCursorSetPosition();
int PS4_SYSV_ABI sceVideoOutCursorSetPositionStereo();
int PS4_SYSV_ABI sceVideoOutCurveSamplePointsCalc_();
int PS4_SYSV_ABI sceVideoOutDeleteDisplayPositionEvent();
int PS4_SYSV_ABI sceVideoOutDeleteDriver();
int PS4_SYSV_ABI sceVideoOutDeleteFlipEvent();
int PS4_SYSV_ABI sceVideoOutDeletePreVblankStartEvent();
int PS4_SYSV_ABI sceVideoOutDeleteSetModeEvent();
int PS4_SYSV_ABI sceVideoOutDeleteVblankEvent();
int PS4_SYSV_ABI sceVideoOutDriverAddEvent();
int PS4_SYSV_ABI sceVideoOutDriverDecrementBufferLabel();
int PS4_SYSV_ABI sceVideoOutDriverDeleteEvent();
int PS4_SYSV_ABI sceVideoOutDriverGetBufferLabelAddress();
int PS4_SYSV_ABI sceVideoOutDriverGetEopHandle();
int PS4_SYSV_ABI sceVideoOutDriverGetFinishedEopHandle();
int PS4_SYSV_ABI sceVideoOutDriverGetLatestEopHandle();
int PS4_SYSV_ABI sceVideoOutDriverIncrementBufferLabel();
int PS4_SYSV_ABI sceVideoOutDriverResetBufferLabel();
int PS4_SYSV_ABI sceVideoOutDriverTriggerEvent();
int PS4_SYSV_ABI sceVideoOutGetBufferInformation();
int PS4_SYSV_ABI sceVideoOutGetBufferLabelAddress();
int PS4_SYSV_ABI sceVideoOutGetCoredumpOutputMode();
int PS4_SYSV_ABI sceVideoOutGetCurrentOutputMode_();
int PS4_SYSV_ABI sceVideoOutGetDeviceCapabilityInfo_();
int PS4_SYSV_ABI sceVideoOutGetDeviceInfoEx_();
int PS4_SYSV_ABI sceVideoOutGetDeviceInfoExOts_();
int PS4_SYSV_ABI sceVideoOutGetEventCount();
int PS4_SYSV_ABI sceVideoOutGetEventData();
int PS4_SYSV_ABI sceVideoOutGetEventId();
int PS4_SYSV_ABI sceVideoOutGetFlipStatus();
int PS4_SYSV_ABI sceVideoOutGetHdmiKsvList_();
int PS4_SYSV_ABI sceVideoOutGetHdmiMonitorInfo_();
int PS4_SYSV_ABI sceVideoOutGetHdmiMonitorInfoNoMask_();
int PS4_SYSV_ABI sceVideoOutGetPortStatusInfo_();
int PS4_SYSV_ABI sceVideoOutGetPortStatusInfoByBusSpecifier_();
int PS4_SYSV_ABI sceVideoOutGetResolutionStatus();
int PS4_SYSV_ABI sceVideoOutGetStatusForWebcore();
int PS4_SYSV_ABI sceVideoOutGetVblankStatus();
int PS4_SYSV_ABI sceVideoOutGetVideoOutModeByBusSpecifier_();
int PS4_SYSV_ABI sceVideoOutHdmiMonitorInfoIsSupportedHdcpVersion_();
int PS4_SYSV_ABI sceVideoOutHdmiMonitorInfoIsSupportedVideoOutMode_();
int PS4_SYSV_ABI sceVideoOutIsFlipPending();
int PS4_SYSV_ABI sceVideoOutLockBuffer();
int PS4_SYSV_ABI sceVideoOutModeSetAny_();
int PS4_SYSV_ABI sceVideoOutOpen();
int PS4_SYSV_ABI sceVideoOutRazorAddCallback();
int PS4_SYSV_ABI sceVideoOutRazorRecallCallbacks();
int PS4_SYSV_ABI sceVideoOutRazorRemoveCallback();
int PS4_SYSV_ABI sceVideoOutRegisterBufferAttribute();
int PS4_SYSV_ABI sceVideoOutRegisterBuffers();
int PS4_SYSV_ABI sceVideoOutRegisterStereoBuffers();
int PS4_SYSV_ABI sceVideoOutRemoveBuffer();
int PS4_SYSV_ABI sceVideoOutSetBlankAfterResume();
int PS4_SYSV_ABI sceVideoOutSetBufferAttribute();
int PS4_SYSV_ABI sceVideoOutSetDisplayEventPosition();
int PS4_SYSV_ABI sceVideoOutSetFlipRate();
int PS4_SYSV_ABI sceVideoOutSetGamutMetadata_();
int PS4_SYSV_ABI sceVideoOutSetToneMap_();
int PS4_SYSV_ABI sceVideoOutSetWindowModeMargins();
int PS4_SYSV_ABI sceVideoOutSubmitChangeBufferAttribute();
int PS4_SYSV_ABI sceVideoOutSubmitEopFlip();
int PS4_SYSV_ABI sceVideoOutSubmitFlip();
int PS4_SYSV_ABI sceVideoOutSysAddSetModeEvent();
int PS4_SYSV_ABI sceVideoOutSysAddVblankEvent();
int PS4_SYSV_ABI sceVideoOutSysClose();
int PS4_SYSV_ABI sceVideoOutSysConfigureOutputMode_();
int PS4_SYSV_ABI sceVideoOutSysCursorDisable();
int PS4_SYSV_ABI sceVideoOutSysCursorEnable();
int PS4_SYSV_ABI sceVideoOutSysCursorIsUpdatePending();
int PS4_SYSV_ABI sceVideoOutSysCursorObtain();
int PS4_SYSV_ABI sceVideoOutSysCursorRelease();
int PS4_SYSV_ABI sceVideoOutSysCursorSetPosition();
int PS4_SYSV_ABI sceVideoOutSysDeleteVblankEvent();
int PS4_SYSV_ABI sceVideoOutSysGetColorConversionStatus();
int PS4_SYSV_ABI sceVideoOutSysGetCurrentOutputMode_();
int PS4_SYSV_ABI sceVideoOutSysGetDeviceCapabilityInfoByBusSpecifier_();
int PS4_SYSV_ABI sceVideoOutSysGetFlipStatus();
int PS4_SYSV_ABI sceVideoOutSysGetMonitorInfo_();
int PS4_SYSV_ABI sceVideoOutSysGetPortStatusInfo_();
int PS4_SYSV_ABI sceVideoOutSysGetPortStatusInfoByBusSpecifier_();
int PS4_SYSV_ABI sceVideoOutSysGetResolutionStatus();
int PS4_SYSV_ABI sceVideoOutSysGetVblankStatus();
int PS4_SYSV_ABI sceVideoOutSysIsSupportedByMonitorInfo_();
int PS4_SYSV_ABI sceVideoOutSysReadCrc();
int PS4_SYSV_ABI sceVideoOutSysReadCrc64();
int PS4_SYSV_ABI sceVideoOutSysResetAtGpuReset();
int PS4_SYSV_ABI sceVideoOutSysResetZoomBuffers();
int PS4_SYSV_ABI sceVideoOutSysSetBlackLevel();
int PS4_SYSV_ABI sceVideoOutSysSetDcePipeMode();
int PS4_SYSV_ABI sceVideoOutSysSetDimmer();
int PS4_SYSV_ABI sceVideoOutSysSetDisplayParameters();
int PS4_SYSV_ABI sceVideoOutSysSetHdrScopeCallbacks();
int PS4_SYSV_ABI sceVideoOutSysSetInvertedColors();
int PS4_SYSV_ABI sceVideoOutSysSetOutputCsc();
int PS4_SYSV_ABI sceVideoOutSysSetOverscanRatio();
int PS4_SYSV_ABI sceVideoOutSysSetRedirectFlip();
int PS4_SYSV_ABI sceVideoOutSysSetZoomBuffers();
int PS4_SYSV_ABI sceVideoOutSysSubmitSubWindowLayout();
int PS4_SYSV_ABI sceVideoOutSysUpdateDisplayParameter_();
int PS4_SYSV_ABI sceVideoOutSysUpdatePrivilege();
int PS4_SYSV_ABI sceVideoOutSysUpdateRenderingMode();
int PS4_SYSV_ABI sceVideoOutSysUpdateScalerParameters();
int PS4_SYSV_ABI sceVideoOutUnlockBuffer();
int PS4_SYSV_ABI sceVideoOutUnregisterBufferAttribute();
int PS4_SYSV_ABI sceVideoOutUnregisterBuffers();
int PS4_SYSV_ABI sceVideoOutWaitVblank();
int PS4_SYSV_ABI Func_124ED74010241580();
int PS4_SYSV_ABI Func_2438D6A18553BDD9();
int PS4_SYSV_ABI Func_3389533D3C6878DD();
int PS4_SYSV_ABI Func_3F96B7D8EBA56509();
int PS4_SYSV_ABI Func_94C92412FE1A6876();
int PS4_SYSV_ABI Func_A17AE74B11648BE7();
int PS4_SYSV_ABI Func_BD73297BB32EADF7();
int PS4_SYSV_ABI Func_C0A269161093AD7D();
int PS4_SYSV_ABI Func_C192387E6509325C();
int PS4_SYSV_ABI Func_FF9008114F7ED758();
int PS4_SYSV_ABI sceVideoOutAdjustColor2_();
int PS4_SYSV_ABI sceVideoOutGetHdmiRawEdid_();
int PS4_SYSV_ABI sceVideoOutAddBufferHdrPrivilege();
int PS4_SYSV_ABI Func_DF1AD257C5341EC8();
void RegisterlibSceVideoOut(Core::Loader::SymbolsResolver * sym);
}

176
main.cpp Normal file
View File

@ -0,0 +1,176 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <filesystem>
#include <fstream>
#include <iostream>
#include <string>
#include <unordered_set>
#include <vector>
#include <unordered_map>
#include "json.hpp"
struct NidFuncTable {
std::string m_encoded_id;
std::string m_hex_id;
std::string m_funcName;
int m_libversion;
int m_version_major;
int m_version_minor;
};
constexpr std::string_view SpdxHeader =
R"(// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
)";
void GenerateCodeFiles(
const std::unordered_map<std::string, std::vector<NidFuncTable>>& libName2FuncTableMap,
const std::string& moduleName) {
// Generate Header
std::string lowModName = moduleName;
std::transform(lowModName.begin(), lowModName.end(), lowModName.begin(), ::tolower);
std::string headerName(lowModName + ".h");
std::string spdx{SpdxHeader};
std::string headerCode(spdx);
headerCode += "\n";
headerCode += "#pragma once\n\n#include \"library_common.h\" \n\n";
std::string trimmedName = moduleName;
if (moduleName.find("libSce") != std::string::npos) {
trimmedName = moduleName.substr(6, moduleName.size() - 1);
} else if (moduleName.find("lib") != std::string::npos) {
trimmedName = moduleName.substr(3, moduleName.size() - 1);
trimmedName[0] = toupper(trimmedName[0]);
}
headerCode += "namespace Libraries::" + trimmedName + "{\n\n";
std::unordered_set<std::string> funcDeclares;
for (const auto& lib : libName2FuncTableMap) {
for (const auto& func : lib.second) {
if (funcDeclares.find(func.m_funcName) == funcDeclares.end()) {
const std::string funcDeclare("int PS4_SYSV_ABI " + func.m_funcName + "();\n");
headerCode += funcDeclare;
funcDeclares.insert(func.m_funcName);
}
}
}
headerCode += "\nvoid Register" + moduleName + "(Core::Loader::SymbolsResolver * sym);\n";
headerCode += "}";
std::ofstream headerFile(MODULE_DIR + headerName);
headerFile << headerCode;
headerFile.close();
std::string sourceName(lowModName + ".cpp");
std::string sourceCode(spdx);
sourceCode += "\n";
sourceCode += "// Generated By moduleGenerator\n#include \"" + headerName +
"\"\n#include \"common/log.h\"\n#include \"error_codes.h\"\n\n";
sourceCode += "namespace Libraries::" + trimmedName + "{\n\n";
// function implementation
std::unordered_set<std::string> funcImplementation;
for (const auto& lib : libName2FuncTableMap) {
for (const auto& func : lib.second) {
if (funcImplementation.find(func.m_funcName) == funcImplementation.end()) {
const std::string funcDeclare("int PS4_SYSV_ABI " + func.m_funcName + "()\n" +
"{\n" +
" PRINT_UNIMPLEMENTED_FUNCTION_NAME();\n"
" return ORBIS_OK;\n" +
"}\n\n");
sourceCode += funcDeclare;
funcImplementation.insert(func.m_funcName);
}
}
}
sourceCode += "void Register" + moduleName + "(Core::Loader::SymbolsResolver * sym) {\n";
for (const auto& lib : libName2FuncTableMap) {
for (const auto& func : lib.second) {
sourceCode += " LIB_FUNCTION(\"" + func.m_encoded_id + "\", \"" + lib.first + "\" , " +
std::to_string(func.m_libversion) + " , \"" + moduleName + "\", " +
std::to_string(func.m_version_major) + ", " +
std::to_string(func.m_version_minor) + " , " + func.m_funcName + " );\n";
}
}
sourceCode += "};\n\n";
sourceCode += "}";
std::ofstream sourceFile(MODULE_DIR + sourceName);
sourceFile << sourceCode;
sourceFile.close();
}
void GetSymbolsFromLibDoc(std::vector<std::string>& importModules) {
for (uint32_t index = 0; index < importModules.size(); index++) {
const std::string& moduleName = importModules[index] + ".sprx.json";
std::ifstream file(LIBDOC_DIR + moduleName);
if (std::filesystem::exists(LIBDOC_DIR + moduleName)) {
printf("module found %s\n", moduleName.c_str());
nlohmann::json m_json_data = nlohmann::json::parse(file);
bool bFound = false;
// parse "modules": [
for (auto& modules : m_json_data["modules"]) {
std::string subModuleName =
modules.at("name").get<std::string>(); // get the name of module
if (subModuleName == importModules[index]) {
int m_version_major = modules.at("version_major").get<int>();
int m_version_minor = modules.at("version_minor").get<int>();
std::unordered_map<std::string, std::vector<NidFuncTable>> libName2FuncTableMap;
for (auto& libraries : modules["libraries"]) {
std::string libName = libraries["name"].get<std::string>();
if (libName2FuncTableMap.find(libName) == libName2FuncTableMap.end()) {
libName2FuncTableMap.emplace(
std::make_pair(libName, std::vector<NidFuncTable>()));
}
int libVersion = libraries["version"].get<int>();
for (auto& symbols : libraries["symbols"]) {
std::string encoded_id = symbols["encoded_id"].get<std::string>();
std::string hex_id = symbols["hex_id"].get<std::string>();
std::string symName;
if (symbols["name"] != nullptr) {
symName = symbols["name"].get<std::string>();
} else {
symName = "Func_" + hex_id;
}
libName2FuncTableMap[libName].push_back(
NidFuncTable{encoded_id, hex_id, symName, libVersion,
m_version_major, m_version_minor});
}
}
GenerateCodeFiles(libName2FuncTableMap, subModuleName);
bFound = true;
}
}
if (!bFound) {
printf("module can't be found %s\n", moduleName.c_str());
}
} else {
printf("module can't be found %s\n", moduleName.c_str());
}
}
}
int main(int argc, char* argv[]) {
std::filesystem::path genFolder(MODULE_DIR);
if (!std::filesystem::exists(genFolder)) {
std::filesystem::create_directories(genFolder);
}
std::vector<std::string> modules_to_generate;
modules_to_generate.push_back(std::string("libSceGnmDriver"));
modules_to_generate.push_back(std::string("libScePad"));
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"));
modules_to_generate.push_back(std::string("libSceAudioOut"));
GetSymbolsFromLibDoc(modules_to_generate);
return 0;
}