//
// SCT_set_source from 0x10027f4 to 0x1002834 (64 bytes)
//
// 4 xrefs:
// > SSL_get0_peer_scts @ 0xfc14a4
// > SSL_get0_peer_scts @ 0xfc1544
// > SSL_get0_peer_scts @ 0xfc1628
// > ??> @ 0x8f608
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:54 +0000
//
__int64 __fastcall SCT_set_source(__int64 a1, int a2)
{
unsigned int v3; // w1
*(_DWORD *)(a1 + 92) = a2;
*(_DWORD *)(a1 + 96) = 0;
if ( a2 == 2 )
{
v3 = 1;
}
else
{
if ( a2 != 3 && a2 != 1 )
return 1;
v3 = 0;
}
return SCT_set_log_entry_type(a1, v3);
}