//
// sub_A41584 from 0xa41584 to 0xa415f4 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0xc7ffdc
//
// 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_A41584(int *a1, int a2, int a3, int *a4, int a5, int a6)
{
if ( OBJ_obj2nid(*a4) == (char *)&stru_38C.st_value )
{
if ( sub_A4118C(a1, 0, a4, a6) <= 0 )
return -1;
else
return 2;
}
else
{
ERR_put_error(4, 148, 155, (int)"crypto/rsa/rsa_ameth.c", 607);
return -1;
}
}