//
// sub_100664D44 from 0x100664d44 to 0x100664da0 (92 bytes)
//
// 2 xrefs:
// > sub_100655BA0 @ 0x100655c24
// > sub_1006A9110 @ 0x1006a9130
//
// 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_100664D44(__int64 a1)
{
if ( *(_QWORD *)(a1 + 48) )
{
if ( (*(_BYTE *)(a1 + 68) & 2) != 0 )
return 0;
else
return (*(__int64 (**)(void))(*(_QWORD *)(a1 + 8) + 56LL))();
}
else
{
sub_100706FB0(20, 270, 276, "ssl_lib.c", 1024);
return 0xFFFFFFFFLL;
}
}