//
// BN_is_odd from 0x7d4894 to 0x7d48b0 (28 bytes)
//
// 27 xrefs:
// > EC_GROUP_set_generator @ 0x7eb9d4
// > ec_GFp_simple_set_compressed_coordinates @ 0x7f23fc
// > ec_GFp_simple_set_compressed_coordinates @ 0x7f258c
// > ec_GFp_simple_point2oct @ 0x7f2930
// > ec_GFp_simple_oct2point @ 0x7f2cac
// > ec_GFp_simple_group_set_curve @ 0x7f3e10
// > ec_GFp_simple_add @ 0x7f47fc
// > sub_82FF1C @ 0x830094
// > BN_exp @ 0x86cca8
// > BN_mod_exp_mont_consttime @ 0x86d18c
// > BN_mod_exp_mont @ 0x86d87c
// > BN_mod_exp_mont_word @ 0x86de4c
// > BN_mod_exp @ 0x86e2a8
// > BN_gcd @ 0x86efd4
// > BN_gcd @ 0x86efe4
// > BN_gcd @ 0x86f068
// > int_bn_mod_inverse @ 0x86f474
// > int_bn_mod_inverse @ 0x86f80c
// > int_bn_mod_inverse @ 0x86f888
// > BN_kronecker @ 0x86ffd8
// > BN_kronecker @ 0x8701a8
// > BN_mod_sqrt @ 0x871680
// > ec_GF2m_simple_set_compressed_coordinates @ 0x88901c
// > ec_GF2m_simple_point2oct @ 0x8893a8
// > ec_GF2m_simple_oct2point @ 0x889754
// > BN_is_prime_fasttest_ex @ 0x8ca934
// > ??> @ 0x5fb9c
//
// 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
//
int __fastcall BN_is_odd(int a1)
{
if ( *(int *)(a1 + 4) <= 0 )
return 0;
else
return **(_DWORD **)a1 & 1;
}