//
// ec_GF2m_simple_group_get_curve from 0x8899a4 to 0x889a1c (120 bytes)
//
// 2 xrefs:
// > ??> @ 0x6a8dc
// > ??> @ 0xab4f88
//
// 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
//
bool __fastcall ec_GF2m_simple_group_get_curve(int *a1, int a2, int a3, int a4)
{
if ( a2 && !BN_copy(a2, a1[9]) || a3 && !BN_copy(a3, a1[16]) )
return 0;
if ( a4 )
return BN_copy(a4, a1[17]) != 0;
return 1;
}