//
// EC_POINT_dup from 0x7eab74 to 0x7eabc0 (76 bytes)
//
// 2 xrefs:
// > EC_KEY_set_public_key @ 0x7e9444
// > ??> @ 0x6176c
//
// 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 EC_POINT_dup(_DWORD *a1, int *a2)
{
_DWORD *v3; // r0
int v4; // r4
int v5; // r5
int result; // r0
if ( !a1 )
return 0;
v3 = EC_POINT_new(a2);
v4 = (int)v3;
if ( !v3 )
return 0;
v5 = EC_POINT_copy(v3, a1);
result = v4;
if ( !v5 )
{
EC_POINT_free(v4);
return 0;
}
return result;
}