//
// DH_size from 0x7e07ec to 0x7e080c (32 bytes)
//
// 4 xrefs:
// > sub_7DDFC0 @ 0x7ddfc4
// > sub_87FAD8 @ 0x87fb6c
// > sub_87FAD8 @ 0x87fc64
// > ??> @ 0x6089c
//
// 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 DH_size(int a1)
{
int v1; // r0
int v2; // r0
v1 = BN_num_bits(*(_DWORD **)(a1 + 8));
if ( v1 + 7 >= 0 )
v2 = v1 + 7;
else
v2 = v1 + 14;
return v2 >> 3;
}