//
// EC_ec_pre_comp_dup from 0x1010c00 to 0x1010c38 (56 bytes)
//
// 2 xrefs:
// > EC_GROUP_copy @ 0x100fcc4
// > ??> @ 0xe1970
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:02 +0000
//
__int64 __fastcall EC_ec_pre_comp_dup(__int64 a1)
{
char v3; // [xsp+2Ch] [xbp+2Ch] BYREF
if ( a1 )
CRYPTO_atomic_add(a1 + 48, 1, &v3, *(_QWORD *)(a1 + 56));
return a1;
}