//
// sub_10053EB78 from 0x10053eb78 to 0x10053ebdc (100 bytes)
//
// 3 xrefs:
// > sub_10052F990 @ 0x10052fa14
// > sub_100583258 @ 0x1005832fc
// > sub_1005864E8 @ 0x10058654c
//
// 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_10053EB78(__int64 a1)
{
__int64 v2; // x8
if ( *(_QWORD *)(a1 + 48) )
{
if ( (*(_BYTE *)(a1 + 68) & 2) == 0 )
return (*(__int64 (**)(void))(*(_QWORD *)(a1 + 8) + 48LL))();
v2 = 0;
*(_DWORD *)(a1 + 40) = 1;
}
else
{
sub_1005E0E48(20, 223, 276, "ssl_lib.c", 1010);
return 0xFFFFFFFFLL;
}
return v2;
}