//
// SSL_CTX_check_private_key from 0xfbe04c to 0xfbe0c0 (116 bytes)
//
// 3 xrefs:
// > sub_E2DA90 @ 0xe2e7ac
// > sub_E2DA90 @ 0xe2ed3c
// > ??> @ 0x555a0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:15:19 +0000
//
__int64 __fastcall SSL_CTX_check_private_key(__int64 a1)
{
_QWORD *v1; // x1
if ( a1 && (v1 = **(_QWORD ***)(a1 + 288), *v1) )
{
if ( v1[1] )
return X509_check_private_key();
ERR_put_error(20, 168, 190, "ssl/ssl_lib.c", 1396);
}
else
{
ERR_put_error(20, 168, 177, "ssl/ssl_lib.c", 1392);
}
return 0;
}