//
// ec_GFp_simple_point_copy from 0x1018384 to 0x10183f0 (108 bytes)
//
// 4 xrefs:
// > ??> @ 0x99118
// > ??> @ 0x1539ee8
// > ??> @ 0x153a068
// > ??> @ 0x153a1e8
//
// 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:06 +0000
//
__int64 __fastcall ec_GFp_simple_point_copy(__int64 a1, __int64 a2)
{
if ( !BN_copy(*(unsigned __int64 **)(a1 + 8), *(_QWORD *)(a2 + 8))
|| !BN_copy(*(unsigned __int64 **)(a1 + 16), *(_QWORD *)(a2 + 16))
|| !BN_copy(*(unsigned __int64 **)(a1 + 24), *(_QWORD *)(a2 + 24)) )
{
return 0;
}
*(_DWORD *)(a1 + 32) = *(_DWORD *)(a2 + 32);
return 1;
}