//
// _CONF_add_string from 0xe23038 to 0xe230ec (180 bytes)
//
// 2 xrefs:
// > sub_E23A38 @ 0xe2407c
// > ??> @ 0x3b160
//
// 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 CONF_add_string(__int64 a1, _QWORD *a2, _QWORD *a3)
{
int *v3; // x19
__int64 result; // x0
void **v6; // x0
void **v7; // x20
v3 = (int *)a2[2];
*a3 = *a2;
result = OPENSSL_sk_push(v3, (__int64)a3);
if ( (_DWORD)result )
{
v6 = (void **)OPENSSL_LH_insert(*(__int64 **)(a1 + 16), a3);
v7 = v6;
if ( v6 )
{
OPENSSL_sk_delete_ptr((__int64)v3, (__int64)v6);
CRYPTO_free(v7[1], (__int64)"crypto/conf/conf_api.c", 62);
CRYPTO_free(v7[2], (__int64)"crypto/conf/conf_api.c", 63);
CRYPTO_free(v7, (__int64)"crypto/conf/conf_api.c", 64);
}
return 1;
}
return result;
}