//
// CTLOG_STORE_new from 0xd82c1c to 0xd82ca4 (136 bytes)
//
// 2 xrefs:
// > SSL_CTX_new @ 0xd41520
// > ??> @ 0x5af48
//
// 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
//
_QWORD *CTLOG_STORE_new()
{
__int64 v0; // x0
_QWORD *v1; // x19
__int64 v2; // x21
_QWORD *result; // x0
v0 = CRYPTO_zalloc(8, "crypto/ct/ct_log.c", 94);
v1 = (_QWORD *)v0;
if ( v0 )
{
v2 = OPENSSL_sk_new_null(v0);
*v1 = v2;
result = v1;
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;
}