//
// SCT_set0_log_id from 0x9f1088 to 0x9f1110 (136 bytes)
//
// 2 xrefs:
// > SCT_new_from_base64 @ 0xa8ea68
// > ??> @ 0x7a05c
//
// 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_set0_log_id(_DWORD *a1, int a2, int a3)
{
_BOOL4 v3; // r5
v3 = a3 != 32;
if ( *a1 )
v3 = 0;
if ( v3 )
{
ERR_put_error(50, 101, 100, "crypto/ct/ct_sct.c", 77);
return 0;
}
else
{
CRYPTO_free(a1[3], "crypto/ct/ct_sct.c", 81);
a1[3] = a2;
a1[4] = a3;
a1[15] = 0;
return 1;
}
}