//
// RSA_size from 0xdd38cc to 0xdd38f4 (40 bytes)
//
// 15 xrefs:
// > tls_process_client_key_exchange @ 0xd52aa8
// > tls_process_client_key_exchange @ 0xd52ac0
// > sub_DD1F44 @ 0xdd1f48
// > sub_DD694C @ 0xdd69c8
// > sub_DD6E04 @ 0xdd6eb0
// > RSA_verify_PKCS1_PSS_mgf1 @ 0xdd7254
// > RSA_padding_add_PKCS1_PSS_mgf1 @ 0xdd7a50
// > RSA_padding_add_PKCS1_PSS_mgf1 @ 0xdd7b2c
// > RSA_padding_add_PKCS1_PSS_mgf1 @ 0xdd7bec
// > RSA_sign_ASN1_OCTET_STRING @ 0xdd81c4
// > RSA_verify_ASN1_OCTET_STRING @ 0xdd8300
// > RSA_sign @ 0xdd8530
// > RSA_sign @ 0xdd85a8
// > int_rsa_verify @ 0xdd86a8
// > ??> @ 0x94200
//
// 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_size(__int64 a1)
{
int v1; // w0
int v2; // w1
int v3; // w0
v1 = BN_num_bits(*(_QWORD *)(a1 + 32));
v2 = v1 + 14;
v3 = v1 + 7;
if ( v3 < 0 )
v3 = v2;
return (unsigned int)(v3 >> 3);
}