//
// ec_GF2m_simple_point_copy from 0x10b17f0 to 0x10b185c (108 bytes)
//
// 2 xrefs:
// > ??> @ 0xd2880
// > ??> @ 0x153ef28
//
// 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:17:43 +0000
//
__int64 __fastcall ec_GF2m_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;
}