//
// SCT_set_log_entry_type from 0x7dc438 to 0x7dc484 (76 bytes)
//
// 4 xrefs:
// > SCT_set_source @ 0x7dc9d8
// > SCT_set_source @ 0x7dc9e0
// > SCT_new_from_base64 @ 0x879efc
// > ??> @ 0x605cc
//
// 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_set_log_entry_type(int a1, unsigned int a2)
{
*(_DWORD *)(a1 + 60) = 0;
if ( a2 > 1 )
{
ERR_put_error(50, 102, 102, "crypto/ct/ct_sct.c", 69);
return 0;
}
else
{
*(_DWORD *)(a1 + 52) = a2;
return 1;
}
}