//
// ssl_check_srvr_ecc_cert_and_alg from 0xfbfcc8 to 0xfbfd2c (100 bytes)
//
// 2 xrefs:
// > ssl3_check_cert_and_algorithm @ 0xfc95b4
// > ??> @ 0xd2418
//
// 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:20 +0000
//
__int64 __fastcall ssl_check_srvr_ecc_cert_and_alg(__int64 a1, __int64 a2)
{
if ( (*(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a2 + 144) + 552LL) + 24LL) & 8) == 0 || (X509_get_key_usage(a1) & 0x80) != 0 )
return 1;
ERR_put_error(20, 279, 318, "ssl/ssl_lib.c", 2742);
return 0;
}