//
// sub_10053E9B8 from 0x10053e9b8 to 0x10053ea2c (116 bytes)
//
// 2 xrefs:
// > sub_1005834D0 @ 0x100583ba4
// > sub_1005834D0 @ 0x100585fc0
//
// 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_10053E9B8(__int64 a1)
{
_QWORD **v1; // x8
_QWORD *v2; // x8
__int64 v4; // x2
__int64 v5; // x4
if ( a1 && (v1 = *(_QWORD ***)(a1 + 304)) != nullptr && (v2 = *v1, *v2) )
{
if ( v2[1] )
return sub_1005FF128();
v4 = 190;
v5 = 954;
}
else
{
v4 = 177;
v5 = 949;
}
sub_1005E0E48(20, 168, v4, "ssl_lib.c", v5);
return 0;
}