//
// EC_ec_pre_comp_dup from 0xa00688 to 0xa006b8 (48 bytes)
//
// 2 xrefs:
// > EC_GROUP_copy @ 0x9ff650
// > ??> @ 0x7b4fc
//
// 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:38 +0000
//
int __fastcall EC_ec_pre_comp_dup(int a1)
{
_BYTE v3[4]; // [sp+4h] [bp-4h] BYREF
if ( a1 )
CRYPTO_atomic_add(a1 + 24, 1, v3, *(_DWORD *)(a1 + 28));
return a1;
}