//
// ec_GF2m_simple_group_get_curve from 0xa9e5a4 to 0xa9e61c (120 bytes)
//
// 2 xrefs:
// > ??> @ 0x8435c
// > ??> @ 0xd19664
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:09:11 +0000
//
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;
}