//
// SCT_set0_log_id from 0x7dc488 to 0x7dc510 (136 bytes)
//
// 2 xrefs:
// > SCT_new_from_base64 @ 0x879e68
// > ??> @ 0x605dc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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;
}
}