//
// sub_100664E14 from 0x100664e14 to 0x100664e84 (112 bytes)
//
// 2 xrefs:
// > sub_1006A9350 @ 0x1006a937c
// > sub_1006A93C0 @ 0x1006a9414
//
// 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_100664E14(__int64 a1)
{
__int64 v1; // x2
__int64 v2; // x4
if ( !*(_QWORD *)(a1 + 48) )
{
v1 = 276;
v2 = 1059;
goto LABEL_5;
}
if ( (*(_BYTE *)(a1 + 73) & 0x30) != 0 )
{
v1 = 407;
v2 = 1066;
LABEL_5:
sub_100706FB0(20, 224, v1, "ssl_lib.c", v2);
return 0xFFFFFFFFLL;
}
return (*(__int64 (**)(void))(*(_QWORD *)(a1 + 8) + 72LL))();
}