//
// sub_D61D58 from 0xd61d58 to 0xd61dc0 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x1121980
//
// 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_D61D58(__int64 a1, __int64 a2)
{
__int64 v3; // x0
int v5; // w0
if ( (*(_DWORD *)a1 & 0x20) == 0 )
return 4294967294LL;
v3 = *(_QWORD *)(a1 + 24);
if ( v3 )
v5 = SSL_CTX_use_PrivateKey_file(v3, a2, 1);
else
v5 = 1;
if ( *(_QWORD *)(a1 + 32) )
v5 = SSL_use_PrivateKey_file(*(_QWORD *)(a1 + 32), a2, 1);
return v5 > 0;
}