//
// CTLOG_STORE_new from 0x1000f7c to 0x1001004 (136 bytes)
//
// 2 xrefs:
// > SSL_CTX_new @ 0xfbf874
// > ??> @ 0x7cd08
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:53 +0000
//
_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;
}