//
// SCT_set_log_entry_type from 0xd83ef8 to 0xd83f44 (76 bytes)
//
// 4 xrefs:
// > SCT_set_source @ 0xd844c8
// > SCT_set_source @ 0xd844d0
// > SCT_new_from_base64 @ 0xe24650
// > ??> @ 0xb5cc8
//
// 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
//
__int64 __fastcall SCT_set_log_entry_type(__int64 a1, unsigned int a2)
{
*(_DWORD *)(a1 + 96) = 0;
if ( a2 > 1 )
{
ERR_put_error(50, 102, 102, "crypto/ct/ct_sct.c", 69);
return 0;
}
else
{
*(_DWORD *)(a1 + 88) = a2;
return 1;
}
}