//
// BN_is_one from 0x9e9440 to 0x9e9464 (36 bytes)
//
// 30 xrefs:
// > sub_9F4DE0 @ 0x9f4eec
// > ec_GFp_simple_set_Jprojective_coordinates_GFp @ 0xa080e4
// > ec_GFp_simple_point_get_affine_coordinates @ 0xa08218
// > sub_A44B1C @ 0xa44ca4
// > BN_mod_exp_recp @ 0xa81a60
// > BN_mod_exp_mont_consttime @ 0xa81f44
// > BN_mod_exp_mont @ 0xa825a4
// > BN_mod_exp_mont_word @ 0xa82d90
// > BN_mod_exp_simple @ 0xa82ffc
// > int_bn_mod_inverse @ 0xa83eec
// > int_bn_mod_inverse @ 0xa84138
// > int_bn_mod_inverse @ 0xa8456c
// > BN_kronecker @ 0xa84dc0
// > BN_mod_sqrt @ 0xa862f8
// > BN_mod_sqrt @ 0xa86340
// > BN_mod_sqrt @ 0xa86370
// > BN_mod_sqrt @ 0xa86718
// > BN_mod_sqrt @ 0xa868c0
// > BN_mod_sqrt @ 0xa868f0
// > DH_check @ 0xa941e8
// > DH_check @ 0xa942f0
// > DH_check_pub_key @ 0xa94468
// > dsa_builtin_paramgen @ 0xa9563c
// > dsa_builtin_paramgen2 @ 0xa95c00
// > sub_A9F69C @ 0xa9f750
// > RSA_generate_key_ex @ 0xad4a80
// > RSA_generate_key_ex @ 0xad4bfc
// > BN_is_prime_fasttest_ex @ 0xadfc9c
// > BN_is_prime_fasttest_ex @ 0xadfcd8
// > ??> @ 0x795fc
//
// 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_is_one(int a1)
{
_BOOL4 result; // r0
result = BN_abs_is_word(a1, 1);
if ( result )
return *(_DWORD *)(a1 + 12) == 0;
return result;
}