//
// sub_10053EC38 from 0x10053ec38 to 0x10053ecac (116 bytes)
//
// 2 xrefs:
// > sub_10052FAE0 @ 0x10052fb64
// > sub_1005865FC @ 0x100586660
//
// 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_10053EC38(__int64 a1)
{
__int64 v2; // x2
__int64 v3; // x4
if ( *(_QWORD *)(a1 + 48) )
{
if ( (*(_BYTE *)(a1 + 68) & 1) == 0 )
return (*(__int64 (**)(void))(*(_QWORD *)(a1 + 8) + 64LL))();
*(_DWORD *)(a1 + 40) = 1;
v2 = 207;
v3 = 1043;
}
else
{
v2 = 276;
v3 = 1037;
}
sub_1005E0E48(20, 208, v2, "ssl_lib.c", v3);
return 0xFFFFFFFFLL;
}