From 86fcfdc60acaf890000595dbb60a436dad6b2263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 10 Sep 2026 09:44:37 -0600 Subject: [PATCH] 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). --- Core/HLE/sceAac.cpp | 2 ++ Core/HLE/sceHttp.cpp | 7 ++++--- Core/HLE/sceNet.cpp | 8 ++++---- Core/HLE/sceNetInet.cpp | 2 ++ Core/HLE/sceUmd.cpp | 2 ++ 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Core/HLE/sceAac.cpp b/Core/HLE/sceAac.cpp index 4df819912a..73567d0853 100644 --- a/Core/HLE/sceAac.cpp +++ b/Core/HLE/sceAac.cpp @@ -216,6 +216,8 @@ const HLEFunction sceAac[] = { {0X6DC7758A, &WrapU_U, "sceAacGetMaxOutputSample", 'x', "x" }, {0X506BF66C, &WrapU_U, "sceAacGetSumDecodedSample", 'x', "x" }, {0XD2DA2BBA, &WrapU_U, "sceAacResetPlayPosition", 'x', "x" }, + {0XE955E83A, nullptr, "sceAacLowLevelInit", '?', "" }, + {0XFA01FCB6, nullptr, "sceAacLowLevelDecode", '?', "" } }; void Register_sceAac() { diff --git a/Core/HLE/sceHttp.cpp b/Core/HLE/sceHttp.cpp index 954f6775aa..1ac71962f4 100644 --- a/Core/HLE/sceHttp.cpp +++ b/Core/HLE/sceHttp.cpp @@ -869,9 +869,10 @@ const HLEFunction sceHttp[] = { {0X267618F4, &WrapI_IUU, "sceHttpSetAuthInfoCallback", 'i', "ixx" }, {0X569A1481, &WrapI_IUU, "sceHttpsSetSslCallback", 'i', "ixx" }, {0XBAC31BF1, nullptr, "sceHttpsEnableOption", '?', "" }, -}; + {0xCC920C12, nullptr, "sceHttpEnableNagle", '?', "" }, + {0xD29163DA, nullptr, "sceHttpDisableNagle", '?', "" } +}; -void Register_sceHttp() -{ +void Register_sceHttp() { RegisterHLEModule("sceHttp",ARRAY_SIZE(sceHttp),sceHttp); } diff --git a/Core/HLE/sceNet.cpp b/Core/HLE/sceNet.cpp index e105c453bc..290a8190e8 100644 --- a/Core/HLE/sceNet.cpp +++ b/Core/HLE/sceNet.cpp @@ -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", 'i', "xx" }, {0X7CFAB990, &WrapI_UU, "sceNetApctlAddInternalHandler", 'i', "xx" }, {0XE11BAFAB, &WrapI_U, "sceNetApctlDelInternalHandler", 'i', "x" }, - {0XA7BB73DF, &WrapI_UU, "sceNetApctl_A7BB73DF", 'i', "xx" }, - {0X6F5D2981, &WrapI_U, "sceNetApctl_6F5D2981", 'i', "x" }, + {0XA7BB73DF, &WrapI_UU, "sceNetApctlAddInternal03Handler", 'i', "xx" }, + {0X6F5D2981, &WrapI_U, "sceNetApctlDelInternal03Handler", 'i', "x" }, {0X69745F0A, &WrapI_I, "sceNetApctl_lib2_69745F0A", 'i', "i" }, {0X4C19731F, &WrapI_IU, "sceNetApctl_lib2_4C19731F", 'i', "ix" }, {0XB3CF6849, &WrapI_V, "sceNetApctlScan", 'i', "" }, diff --git a/Core/HLE/sceNetInet.cpp b/Core/HLE/sceNetInet.cpp index 4ef836fc52..d522acb788 100644 --- a/Core/HLE/sceNetInet.cpp +++ b/Core/HLE/sceNetInet.cpp @@ -1237,6 +1237,8 @@ const HLEFunction sceNetInet[] = { {0X80A21ABD, &WrapI_I, "sceNetInetSocketAbort", 'i', "i" }, {0X39B0C7D3, nullptr, "sceNetInetGetUdpcbstat", '?', "" }, {0XB3888AD4, nullptr, "sceNetInetGetTcpcbstat", '?', "" }, + {0X2D5868C0, nullptr, "sceNetInetDelArp", '?', "" }, + {0XCCC18C45, nullptr, "sceNetInetAddArp", '?', "" } }; void Register_sceNetInet() { diff --git a/Core/HLE/sceUmd.cpp b/Core/HLE/sceUmd.cpp index 97e3b4ade1..659fda0812 100644 --- a/Core/HLE/sceUmd.cpp +++ b/Core/HLE/sceUmd.cpp @@ -533,6 +533,8 @@ const HLEFunction sceUmdUser[] = {0XCBE9F02A, &WrapU_V, "sceUmdReplacePermit", 'x', "" }, {0X14C6C45C, nullptr, "sceUmdUnuseUMDInMsUsbWlan", '?', "" }, {0XB103FA38, nullptr, "sceUmdUseUMDInMsUsbWlan", '?', "" }, + {0X1A2485D2, nullptr, "sceUmdUseUMDDetectIntr", '?', "" }, + {0X3BA4EC53, nullptr, "sceUmdUnuseUMDDetectIntr", '?', "" }, }; void Register_sceUmdUser()