//
// DH_size from 0x9f53ec to 0x9f540c (32 bytes)
//
// 4 xrefs:
// > sub_9F2BC0 @ 0x9f2bc4
// > sub_A946D8 @ 0xa9476c
// > sub_A946D8 @ 0xa94864
// > ??> @ 0x7a31c
//
// 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:07:32 +0000
//
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;
}