//
// sub_10053ECAC from 0x10053ecac to 0x10053ed1c (112 bytes)
//
// 2 xrefs:
// > sub_1005831E8 @ 0x100583214
// > sub_100583258 @ 0x1005832ac
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_10053ECAC(__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_1005E0E48(20, 224, v1, "ssl_lib.c", v2);
return 0xFFFFFFFFLL;
}
return (*(__int64 (**)(void))(*(_QWORD *)(a1 + 8) + 72LL))();
}