//
// SSL_CTX_check_private_key from 0x9ab920 to 0x9ab9ac (140 bytes)
//
// 3 xrefs:
// > sub_8539B8 @ 0x85434c
// > sub_8539B8 @ 0x854864
// > ??> @ 0x682ac
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:53 +0000
//
int __fastcall SSL_CTX_check_private_key(int a1)
{
_DWORD *v1; // r3
if ( a1 && (v1 = **(_DWORD ***)(a1 + 176), *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;
}