//
// SCT_set1_signature from 0x9f13c8 to 0x9f146c (164 bytes)
//
// 2 xrefs:
// > o2i_SCT_signature @ 0x9f0214
// > ??> @ 0x79f5c
//
// 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 __fastcall SCT_set1_signature(_DWORD *a1, int a2, int a3)
{
bool v6; // zf
int v8; // r0
CRYPTO_free(a1[11], "crypto/ct/ct_sct.c", 173);
v6 = a2 == 0;
if ( a2 )
v6 = a3 == 0;
a1[11] = 0;
a1[12] = 0;
a1[15] = 0;
if ( v6 )
return 1;
v8 = CRYPTO_memdup(a2, a3, "crypto/ct/ct_sct.c", 179);
a1[11] = v8;
if ( v8 )
{
a1[12] = a3;
return 1;
}
else
{
ERR_put_error(50, 116, 65, "crypto/ct/ct_sct.c", 181);
return 0;
}
}