//
// BN_is_one from 0xff8cf8 to 0xff8d2c (52 bytes)
//
// 31 xrefs:
// > sub_1005CF0 @ 0x1005dd4
// > ec_GFp_simple_set_Jprojective_coordinates_GFp @ 0x1017b80
// > ec_GFp_simple_point_get_affine_coordinates @ 0x1017ca4
// > ec_GFp_simple_point_get_affine_coordinates @ 0x1017d10
// > sub_10545B8 @ 0x1054740
// > sub_10945E0 @ 0x1094628
// > BN_mod_exp_mont_consttime @ 0x1094d7c
// > BN_mod_exp_mont @ 0x1095444
// > BN_mod_exp_mont_word @ 0x1095ba4
// > BN_mod_exp_simple @ 0x1095e04
// > int_bn_mod_inverse @ 0x1096c08
// > int_bn_mod_inverse @ 0x1096e1c
// > int_bn_mod_inverse @ 0x10971bc
// > BN_kronecker @ 0x10979d8
// > BN_mod_sqrt @ 0x10990c4
// > BN_mod_sqrt @ 0x109911c
// > BN_mod_sqrt @ 0x109915c
// > BN_mod_sqrt @ 0x1099490
// > BN_mod_sqrt @ 0x1099604
// > BN_mod_sqrt @ 0x109962c
// > DH_check @ 0x10a7b7c
// > DH_check @ 0x10a7c70
// > DH_check_pub_key @ 0x10a7df0
// > dsa_builtin_paramgen @ 0x10a8e84
// > dsa_builtin_paramgen2 @ 0x10a955c
// > sub_10B2654 @ 0x10b2708
// > RSA_generate_key_ex @ 0x10e8ab8
// > RSA_generate_key_ex @ 0x10e8c24
// > BN_is_prime_fasttest_ex @ 0x10f51a4
// > BN_is_prime_fasttest_ex @ 0x10f51d0
// > ??> @ 0x83608
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:49 +0000
//
__int64 __fastcall BN_is_one(__int64 a1)
{
__int64 result; // x0
result = BN_abs_is_word(a1, 1);
if ( (_DWORD)result )
return *(_DWORD *)(a1 + 16) == 0;
return result;
}