//
// RSA_padding_add_none from 0xad4e98 to 0xad4f1c (132 bytes)
//
// 3 xrefs:
// > sub_A431F4 @ 0xa4342c
// > sub_A43568 @ 0xa437a8
// > ??> @ 0x7feac
//
// 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:09:27 +0000
//
int __fastcall RSA_padding_add_none(void *a1, int a2, void *a3, signed int a4)
{
if ( a4 > a2 )
{
ERR_put_error(4, 107, 110, (int)"crypto/rsa/rsa_none.c", 18);
return 0;
}
else if ( a4 < a2 )
{
ERR_put_error(4, 107, 122, (int)"crypto/rsa/rsa_none.c", 23);
return 0;
}
else
{
memcpy(a1, a3, a4);
return 1;
}
}