//
// EC_POINT_dup from 0xd91a70 to 0xd91ad0 (96 bytes)
//
// 2 xrefs:
// > EC_KEY_set_public_key @ 0xd903d0
// > ??> @ 0x48fc0
//
// 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
//
__int64 __fastcall EC_POINT_dup(_QWORD *a1, __int64 *a2)
{
_QWORD *v3; // x0
__int64 v4; // x19
if ( a1 )
{
v3 = EC_POINT_new(a2);
v4 = (__int64)v3;
if ( v3 )
{
if ( (unsigned int)EC_POINT_copy(v3, a1) )
return v4;
EC_POINT_free(v4);
}
}
return 0;
}