//
// sub_82BAE0 from 0x82bae0 to 0x82bb44 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0xa38d54
//
// 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_82BAE0(_DWORD *a1, int a2)
{
int v3; // r4
v3 = d2i_RSAPrivateKey(0, a2);
if ( v3 )
{
EVP_PKEY_assign(a1, 6, v3);
return 1;
}
else
{
ERR_put_error(4, 147, 4, (int)"crypto/rsa/rsa_ameth.c", 72);
return 0;
}
}