//
// _CONF_new_data from 0x878954 to 0x87899c (72 bytes)
//
// 2 xrefs:
// > sub_8791C0 @ 0x879220
// > ??> @ 0x6a6cc
//
// 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
//
int __fastcall CONF_new_data(int result)
{
int v1; // r4
int *v2; // r0
if ( result )
{
if ( *(_DWORD *)(result + 8) )
{
return 1;
}
else
{
v1 = result;
v2 = OPENSSL_LH_new(
(unsigned __int8 *(__fastcall *)(unsigned __int8 *))sub_87863C,
(int (**)(const char *, const char *))sub_87867C);
*(_DWORD *)(v1 + 8) = v2;
return v2 != nullptr;
}
}
return result;
}