//
// RSA_padding_check_none from 0xe6aec4 to 0xe6af50 (140 bytes)
//
// 3 xrefs:
// > sub_DD47A4 @ 0xdd4a3c
// > sub_DD535C @ 0xdd56d8
// > ??> @ 0x61e48
//
// 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
//
__int64 __fastcall RSA_padding_check_none(char *a1, unsigned int a2, const void *a3, int a4)
{
if ( a4 > (int)a2 )
{
ERR_put_error(4, 111, 109, (__int64)"crypto/rsa/rsa_none.c", 36);
return 0xFFFFFFFFLL;
}
else
{
memset(a1, 0, (int)(a2 - a4));
memcpy(&a1[(int)a2 - (__int64)a4], a3, a4);
return a2;
}
}