//
// sub_8B3A24 from 0x8b3a24 to 0x8b3a8c (104 bytes)
//
// 3 xrefs:
// > engine_load_openssl_int @ 0x8b42bc
// > engine_load_openssl_int @ 0x8b42c4
// > ??> @ 0x8b4300
//
// 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
//
int __fastcall sub_8B3A24(int a1, const char *a2)
{
_DWORD *v3; // r0
_DWORD *v4; // r5
int bio_PrivateKey; // r4
fprintf((FILE *)((char *)&_sF + 168), "(TEST_ENG_OPENSSL_PKEY)Loading Private key %s\n", a2);
v3 = BIO_new_file(a2, "r");
v4 = v3;
if ( !v3 )
return 0;
bio_PrivateKey = PEM_read_bio_PrivateKey(v3, nullptr, nullptr, nullptr);
BIO_free(v4);
return bio_PrivateKey;
}