//
// sub_100664B20 from 0x100664b20 to 0x100664b94 (116 bytes)
//
// 2 xrefs:
// > sub_1006A9638 @ 0x1006a9d0c
// > sub_1006A9638 @ 0x1006ac128
//
// 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 11:11:00 +0000
//
__int64 __fastcall sub_100664B20(__int64 a1)
{
_QWORD **v1; // x8
_QWORD *v2; // x8
__int64 v4; // x2
__int64 v5; // x4
if ( a1 && (v1 = *(_QWORD ***)(a1 + 304)) != nullptr && (v2 = *v1, *v2) )
{
if ( v2[1] )
return sub_100725290();
v4 = 190;
v5 = 954;
}
else
{
v4 = 177;
v5 = 949;
}
sub_100706FB0(20, 168, v4, "ssl_lib.c", v5);
return 0;
}