//
// BN_is_odd from 0xd7aa08 to 0xd7aa2c (36 bytes)
//
// 27 xrefs:
// > EC_GROUP_set_generator @ 0xd927ec
// > ec_GFp_simple_set_compressed_coordinates @ 0xd98770
// > ec_GFp_simple_set_compressed_coordinates @ 0xd988c4
// > ec_GFp_simple_point2oct @ 0xd98bc4
// > ec_GFp_simple_oct2point @ 0xd99014
// > ec_GFp_simple_group_set_curve @ 0xd9a0d0
// > ec_GFp_simple_add @ 0xd9aa44
// > sub_DD6258 @ 0xdd63d0
// > BN_exp @ 0xe16760
// > BN_mod_exp_mont_consttime @ 0xe168ec
// > BN_mod_exp_mont @ 0xe17004
// > BN_mod_exp_mont_word @ 0xe175e8
// > BN_mod_exp @ 0xe179a4
// > BN_gcd @ 0xe1860c
// > BN_gcd @ 0xe18618
// > BN_gcd @ 0xe186a0
// > int_bn_mod_inverse @ 0xe18a68
// > int_bn_mod_inverse @ 0xe18da0
// > int_bn_mod_inverse @ 0xe18e04
// > BN_kronecker @ 0xe19544
// > BN_kronecker @ 0xe19688
// > BN_mod_sqrt @ 0xe1ad64
// > ec_GF2m_simple_set_compressed_coordinates @ 0xe32820
// > ec_GF2m_simple_point2oct @ 0xe32bd0
// > ec_GF2m_simple_oct2point @ 0xe32fa4
// > BN_is_prime_fasttest_ex @ 0xe76e60
// > ??> @ 0x5b2f0
//
// 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
//
__int64 __fastcall BN_is_odd(__int64 a1)
{
if ( *(int *)(a1 + 8) <= 0 )
return 0;
else
return **(_QWORD **)a1 & 1LL;
}