//
// CTLOG_STORE_new from 0x9efd58 to 0x9efdd8 (128 bytes)
//
// 2 xrefs:
// > SSL_CTX_new @ 0x9ad598
// > ??> @ 0x759ac
//
// 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:07:29 +0000
//
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;
}