Add some new function names that were cracked from NIDs by zecoxao

He used Claude, never thought of this use case, but it's logical - it
can go reverse engineer the functions to come up with likely names,
making it easier to match the SHA1 hash. (NIDs are truncated SHA1 hashes
of names, except in firmwares later than around 3.50).
This commit is contained in:
Henrik Rydgård
2026-09-10 15:52:53 -06:00
parent 1d7c427eba
commit 86fcfdc60a
5 changed files with 14 additions and 7 deletions
+2
View File
@@ -216,6 +216,8 @@ const HLEFunction sceAac[] = {
{0X6DC7758A, &WrapU_U<sceAacGetMaxOutputSample>, "sceAacGetMaxOutputSample", 'x', "x" },
{0X506BF66C, &WrapU_U<sceAacGetSumDecodedSample>, "sceAacGetSumDecodedSample", 'x', "x" },
{0XD2DA2BBA, &WrapU_U<sceAacResetPlayPosition>, "sceAacResetPlayPosition", 'x', "x" },
{0XE955E83A, nullptr, "sceAacLowLevelInit", '?', "" },
{0XFA01FCB6, nullptr, "sceAacLowLevelDecode", '?', "" }
};
void Register_sceAac() {
+4 -3
View File
@@ -869,9 +869,10 @@ const HLEFunction sceHttp[] = {
{0X267618F4, &WrapI_IUU<sceHttpSetAuthInfoCallback>, "sceHttpSetAuthInfoCallback", 'i', "ixx" },
{0X569A1481, &WrapI_IUU<sceHttpsSetSslCallback>, "sceHttpsSetSslCallback", 'i', "ixx" },
{0XBAC31BF1, nullptr, "sceHttpsEnableOption", '?', "" },
};
{0xCC920C12, nullptr, "sceHttpEnableNagle", '?', "" },
{0xD29163DA, nullptr, "sceHttpDisableNagle", '?', "" }
};
void Register_sceHttp()
{
void Register_sceHttp() {
RegisterHLEModule("sceHttp",ARRAY_SIZE(sceHttp),sceHttp);
}
+4 -4
View File
@@ -1715,14 +1715,14 @@ static int sceNetApctlDelInternalHandler(u32 handlerID) {
return NetApctl_DelHandler(handlerID);
}
static int sceNetApctl_A7BB73DF(u32 handlerPtr, u32 handlerArg) {
static int sceNetApctlAddInternal03Handler(u32 handlerPtr, u32 handlerArg) {
ERROR_LOG(Log::sceNet, "UNIMPL %s(%08x, %08x)", __FUNCTION__, handlerPtr, handlerArg);
// This seems to be a 3rd kind of handler
// Simple forward, don't need to use hleCall
return sceNetApctlAddHandler(handlerPtr, handlerArg);
}
static int sceNetApctl_6F5D2981(u32 handlerID) {
static int sceNetApctlDelInternal03Handler(u32 handlerID) {
ERROR_LOG(Log::sceNet, "UNIMPL %s(%i)", __FUNCTION__, handlerID);
// This seems to be a 3rd kind of handler
// Simple forward, don't need to use hleCall
@@ -1819,8 +1819,8 @@ const HLEFunction sceNetApctl[] = {
{0X6BDDCB8C, &WrapI_UU<sceNetApctlGetBSSDescIDListUser>, "sceNetApctlGetBSSDescIDListUser", 'i', "xx" },
{0X7CFAB990, &WrapI_UU<sceNetApctlAddInternalHandler>, "sceNetApctlAddInternalHandler", 'i', "xx" },
{0XE11BAFAB, &WrapI_U<sceNetApctlDelInternalHandler>, "sceNetApctlDelInternalHandler", 'i', "x" },
{0XA7BB73DF, &WrapI_UU<sceNetApctl_A7BB73DF>, "sceNetApctl_A7BB73DF", 'i', "xx" },
{0X6F5D2981, &WrapI_U<sceNetApctl_6F5D2981>, "sceNetApctl_6F5D2981", 'i', "x" },
{0XA7BB73DF, &WrapI_UU<sceNetApctlAddInternal03Handler>, "sceNetApctlAddInternal03Handler", 'i', "xx" },
{0X6F5D2981, &WrapI_U<sceNetApctlDelInternal03Handler>, "sceNetApctlDelInternal03Handler", 'i', "x" },
{0X69745F0A, &WrapI_I<sceNetApctl_lib2_69745F0A>, "sceNetApctl_lib2_69745F0A", 'i', "i" },
{0X4C19731F, &WrapI_IU<sceNetApctl_lib2_4C19731F>, "sceNetApctl_lib2_4C19731F", 'i', "ix" },
{0XB3CF6849, &WrapI_V<sceNetApctlScan>, "sceNetApctlScan", 'i', "" },
+2
View File
@@ -1237,6 +1237,8 @@ const HLEFunction sceNetInet[] = {
{0X80A21ABD, &WrapI_I<sceNetInetSocketAbort>, "sceNetInetSocketAbort", 'i', "i" },
{0X39B0C7D3, nullptr, "sceNetInetGetUdpcbstat", '?', "" },
{0XB3888AD4, nullptr, "sceNetInetGetTcpcbstat", '?', "" },
{0X2D5868C0, nullptr, "sceNetInetDelArp", '?', "" },
{0XCCC18C45, nullptr, "sceNetInetAddArp", '?', "" }
};
void Register_sceNetInet() {
+2
View File
@@ -533,6 +533,8 @@ const HLEFunction sceUmdUser[] =
{0XCBE9F02A, &WrapU_V<sceUmdReplacePermit>, "sceUmdReplacePermit", 'x', "" },
{0X14C6C45C, nullptr, "sceUmdUnuseUMDInMsUsbWlan", '?', "" },
{0XB103FA38, nullptr, "sceUmdUseUMDInMsUsbWlan", '?', "" },
{0X1A2485D2, nullptr, "sceUmdUseUMDDetectIntr", '?', "" },
{0X3BA4EC53, nullptr, "sceUmdUnuseUMDDetectIntr", '?', "" },
};
void Register_sceUmdUser()