//
// RSA_size from 0x82d3b4 to 0x82d3d4 (32 bytes)
//
// 14 xrefs:
// > tls_process_client_key_exchange @ 0x7ab204
// > tls_process_client_key_exchange @ 0x7ab21c
// > sub_82B850 @ 0x82b854
// > sub_83060C @ 0x830668
// > sub_830AA0 @ 0x830b48
// > RSA_verify_PKCS1_PSS_mgf1 @ 0x830ed8
// > RSA_padding_add_PKCS1_PSS_mgf1 @ 0x8313dc
// > RSA_padding_add_PKCS1_PSS_mgf1 @ 0x8314b8
// > RSA_padding_add_PKCS1_PSS_mgf1 @ 0x83154c
// > RSA_sign_ASN1_OCTET_STRING @ 0x83181c
// > RSA_verify_ASN1_OCTET_STRING @ 0x831928
// > RSA_sign @ 0x831b34
// > int_rsa_verify @ 0x831c7c
// > ??> @ 0x5d64c
//
// 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
//
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;
}