//
// RSA_size from 0xa41fb4 to 0xa41fd4 (32 bytes)
//
// 14 xrefs:
// > tls_process_client_key_exchange @ 0x9bfe08
// > tls_process_client_key_exchange @ 0x9bfe20
// > sub_A40450 @ 0xa40454
// > sub_A4520C @ 0xa45268
// > sub_A456A0 @ 0xa45748
// > RSA_verify_PKCS1_PSS_mgf1 @ 0xa45ad8
// > RSA_padding_add_PKCS1_PSS_mgf1 @ 0xa45fdc
// > RSA_padding_add_PKCS1_PSS_mgf1 @ 0xa460b8
// > RSA_padding_add_PKCS1_PSS_mgf1 @ 0xa4614c
// > RSA_sign_ASN1_OCTET_STRING @ 0xa4641c
// > RSA_verify_ASN1_OCTET_STRING @ 0xa46528
// > RSA_sign @ 0xa46734
// > int_rsa_verify @ 0xa4687c
// > ??> @ 0x770cc
//
// 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:14 +0000
//
int __fastcall RSA_size(int a1)
{
int v1; // r0
int v2; // r0
v1 = BN_num_bits(*(_DWORD **)(a1 + 16));
if ( v1 + 7 >= 0 )
v2 = v1 + 7;
else
v2 = v1 + 14;
return v2 >> 3;
}