//
// sub_DC0F24 from 0xdc0f24 to 0xdc0f94 (112 bytes)
//
// 2 xrefs:
// > OBJ_NAME_init @ 0xdc10c4
// > OBJ_NAME_init @ 0xdc10d0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_DC0F24(int *a1)
{
int v2; // w0
__int64 v3; // x1
__int64 (__fastcall **v5)(_QWORD); // x0
if ( !qword_125F180 )
return (unsigned __int64)OPENSSL_LH_strhash(*((unsigned __int8 **)a1 + 1)) ^ *a1;
v2 = OPENSSL_sk_num(qword_125F180);
v3 = (unsigned int)*a1;
if ( (int)v3 >= v2 )
return (unsigned __int64)OPENSSL_LH_strhash(*((unsigned __int8 **)a1 + 1)) ^ *a1;
v5 = (__int64 (__fastcall **)(_QWORD))OPENSSL_sk_value(qword_125F180, v3);
return (*v5)(*((_QWORD *)a1 + 1)) ^ *a1;
}