//
// SCT_set_log_entry_type from 0x9f1038 to 0x9f1084 (76 bytes)
//
// 4 xrefs:
// > SCT_set_source @ 0x9f15d8
// > SCT_set_source @ 0x9f15e0
// > SCT_new_from_base64 @ 0xa8eafc
// > ??> @ 0x7a04c
//
// 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_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;
}
}