//
// ec_GFp_simple_point_copy from 0xd9a024 to 0xd9a090 (108 bytes)
//
// 4 xrefs:
// > ??> @ 0x71ce8
// > ??> @ 0x1222160
// > ??> @ 0x12222e0
// > ??> @ 0x1222460
//
// 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_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;
}