//
// SCT_set_source from 0x7dc9a0 to 0x7dc9e4 (68 bytes)
//
// 4 xrefs:
// > SSL_get0_peer_scts @ 0x79a640
// > SSL_get0_peer_scts @ 0x79a6f4
// > SSL_get0_peer_scts @ 0x79a7d0
// > ??> @ 0x5c61c
//
// 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_source(int a1, int a2)
{
unsigned int v3; // r1
*(_DWORD *)(a1 + 56) = a2;
*(_DWORD *)(a1 + 60) = 0;
if ( a2 == 2 )
{
v3 = 1;
}
else
{
if ( a2 != 3 && a2 != 1 )
return 1;
v3 = 0;
}
return SCT_set_log_entry_type(a1, v3);
}