//
// sub_A406E0 from 0xa406e0 to 0xa40744 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0xc7ffd4
//
// 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:08:13 +0000
//
int __fastcall sub_A406E0(_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;
}
}