//
// SCT_set1_extensions from 0x100250c to 0x10025c0 (180 bytes)
//
// 1 xrefs:
// > ??> @ 0xebcf0
//
// 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:54 +0000
//
__int64 __fastcall SCT_set1_extensions(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // x0
CRYPTO_free(*(_QWORD *)(a1 + 48), "crypto/ct/ct_sct.c", 147);
*(_QWORD *)(a1 + 48) = 0;
*(_QWORD *)(a1 + 56) = 0;
*(_DWORD *)(a1 + 96) = 0;
if ( !a2 || !a3 )
return 1;
v6 = CRYPTO_memdup(a2, a3, "crypto/ct/ct_sct.c", 153);
*(_QWORD *)(a1 + 48) = v6;
if ( v6 )
{
*(_QWORD *)(a1 + 56) = a3;
return 1;
}
else
{
ERR_put_error(50, 114, 65, "crypto/ct/ct_sct.c", 155);
return 0;
}
}