//
// _CONF_add_string from 0xa8d3ec to 0xa8d480 (148 bytes)
//
// 2 xrefs:
// > sub_A8DDC0 @ 0xa8e458
// > ??> @ 0x8413c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:08:55 +0000
//
int __fastcall CONF_add_string(int a1, _DWORD *a2, _DWORD *a3)
{
int *v3; // r5
int result; // r0
int v7; // r0
void **v8; // r6
v3 = (int *)a2[2];
*a3 = *a2;
result = OPENSSL_sk_push(v3, (int)a3);
if ( result )
{
v7 = OPENSSL_LH_insert(*(int **)(a1 + 8), (int)a3);
v8 = (void **)v7;
if ( v7 )
{
OPENSSL_sk_delete_ptr(v3, v7);
CRYPTO_free(v8[1], (int)"crypto/conf/conf_api.c", 62);
CRYPTO_free(v8[2], (int)"crypto/conf/conf_api.c", 63);
CRYPTO_free(v8, (int)"crypto/conf/conf_api.c", 64);
}
return 1;
}
return result;
}