//
// BN_set_negative from 0x9e940c to 0x9e9440 (52 bytes)
//
// 12 xrefs:
// > BN_sub_word @ 0x9ed5b4
// > ec_GFp_simple_group_set_curve @ 0xa08a60
// > ASN1_INTEGER_to_BN @ 0xa77344
// > ASN1_ENUMERATED_to_BN @ 0xa779b0
// > ec_GF2m_simple_point_set_affine_coordinates @ 0xa9e9cc
// > ec_GF2m_simple_point_set_affine_coordinates @ 0xa9e9ec
// > ec_GF2m_simple_point_set_affine_coordinates @ 0xa9ea14
// > ec_GF2m_simple_point_get_affine_coordinates @ 0xa9eacc
// > ec_GF2m_simple_point_get_affine_coordinates @ 0xa9eaf8
// > sub_AE6010 @ 0xae6628
// > sub_AE6010 @ 0xae6634
// > ??> @ 0x795ec
//
// 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:07:25 +0000
//
bool __fastcall BN_set_negative(_BOOL4 result, int a2)
{
int v2; // r4
v2 = result;
*(_DWORD *)(v2 + 12) = a2 && !(result = BN_is_zero(result));
return result;
}