//
// EC_POINT_dup from 0x100fdd0 to 0x100fe30 (96 bytes)
//
// 2 xrefs:
// > EC_KEY_set_public_key @ 0x100e730
// > ??> @ 0x67150
//
// 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_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;
}