//
// SCT_set_source from 0x9f15a0 to 0x9f15e4 (68 bytes)
//
// 4 xrefs:
// > SSL_get0_peer_scts @ 0x9af244
// > SSL_get0_peer_scts @ 0x9af2f8
// > SSL_get0_peer_scts @ 0x9af3d4
// > ??> @ 0x7609c
//
// 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_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);
}