//
// DSA_size from 0x9f6d3c to 0x9f6d98 (92 bytes)
//
// 2 xrefs:
// > sub_9F5C24 @ 0x9f5c28
// > ??> @ 0x7a7bc
//
// 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:33 +0000
//
int __fastcall DSA_size(int a1)
{
int v1; // r0
int v2; // r3
int v3; // r0
char v5; // [sp+4h] [bp-18h] BYREF
size_t v6[5]; // [sp+8h] [bp-14h] BYREF
v1 = BN_num_bits(*(_DWORD **)(a1 + 12));
v6[1] = 2;
v5 = -1;
v2 = v1 + 7;
if ( v1 + 7 < 0 )
v2 = v1 + 14;
v6[0] = v2 >> 3;
v6[2] = (size_t)&v5;
v3 = i2d_ASN1_INTEGER(v6, nullptr);
return ASN1_object_size(1, 2 * v3, 16);
}