//
// CTLOG_STORE_new from 0x7db158 to 0x7db1d8 (128 bytes)
//
// 2 xrefs:
// > SSL_CTX_new @ 0x798994
// > ??> @ 0x5bf2c
//
// 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 *CTLOG_STORE_new()
{
int v0; // r0
int *v1; // r4
int v2; // r5
int *result; // r0
v0 = CRYPTO_zalloc(4, "crypto/ct/ct_log.c", 94);
v1 = (int *)v0;
if ( v0 )
{
v2 = OPENSSL_sk_new_null(v0);
result = v1;
*v1 = v2;
if ( !v2 )
{
CRYPTO_free(v1, "crypto/ct/ct_log.c", 107);
return nullptr;
}
}
else
{
ERR_put_error(50, 131, 65, "crypto/ct/ct_log.c", 97);
return nullptr;
}
return result;
}