{"type": "func", "start": 8210580, "end": 8210608, "name": "BN_is_odd", "pseudocode": "// \n// BN_is_odd from 0x7d4894 to 0x7d48b0 (28 bytes)\n// \n// 27 xrefs:\n// > EC_GROUP_set_generator @ 0x7eb9d4\n// > ec_GFp_simple_set_compressed_coordinates @ 0x7f23fc\n// > ec_GFp_simple_set_compressed_coordinates @ 0x7f258c\n// > ec_GFp_simple_point2oct @ 0x7f2930\n// > ec_GFp_simple_oct2point @ 0x7f2cac\n// > ec_GFp_simple_group_set_curve @ 0x7f3e10\n// > ec_GFp_simple_add @ 0x7f47fc\n// > sub_82FF1C @ 0x830094\n// > BN_exp @ 0x86cca8\n// > BN_mod_exp_mont_consttime @ 0x86d18c\n// > BN_mod_exp_mont @ 0x86d87c\n// > BN_mod_exp_mont_word @ 0x86de4c\n// > BN_mod_exp @ 0x86e2a8\n// > BN_gcd @ 0x86efd4\n// > BN_gcd @ 0x86efe4\n// > BN_gcd @ 0x86f068\n// > int_bn_mod_inverse @ 0x86f474\n// > int_bn_mod_inverse @ 0x86f80c\n// > int_bn_mod_inverse @ 0x86f888\n// > BN_kronecker @ 0x86ffd8\n// > BN_kronecker @ 0x8701a8\n// > BN_mod_sqrt @ 0x871680\n// > ec_GF2m_simple_set_compressed_coordinates @ 0x88901c\n// > ec_GF2m_simple_point2oct @ 0x8893a8\n// > ec_GF2m_simple_oct2point @ 0x889754\n// > BN_is_prime_fasttest_ex @ 0x8ca934\n// > <???> @ 0x5fb9c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall BN_is_odd(int a1)\n{\n  if ( *(int *)(a1 + 4) <= 0 )\n    return 0;\n  else\n    return **(_DWORD **)a1 & 1;\n}", "assembly": "; \n; BN_is_odd from 0x7d4894 to 0x7d48b0 (28 bytes)\n; \n; 27 xrefs:\n; > EC_GROUP_set_generator @ 0x7eb9d4\n; > ec_GFp_simple_set_compressed_coordinates @ 0x7f23fc\n; > ec_GFp_simple_set_compressed_coordinates @ 0x7f258c\n; > ec_GFp_simple_point2oct @ 0x7f2930\n; > ec_GFp_simple_oct2point @ 0x7f2cac\n; > ec_GFp_simple_group_set_curve @ 0x7f3e10\n; > ec_GFp_simple_add @ 0x7f47fc\n; > sub_82FF1C @ 0x830094\n; > BN_exp @ 0x86cca8\n; > BN_mod_exp_mont_consttime @ 0x86d18c\n; > BN_mod_exp_mont @ 0x86d87c\n; > BN_mod_exp_mont_word @ 0x86de4c\n; > BN_mod_exp @ 0x86e2a8\n; > BN_gcd @ 0x86efd4\n; > BN_gcd @ 0x86efe4\n; > BN_gcd @ 0x86f068\n; > int_bn_mod_inverse @ 0x86f474\n; > int_bn_mod_inverse @ 0x86f80c\n; > int_bn_mod_inverse @ 0x86f888\n; > BN_kronecker @ 0x86ffd8\n; > BN_kronecker @ 0x8701a8\n; > BN_mod_sqrt @ 0x871680\n; > ec_GF2m_simple_set_compressed_coordinates @ 0x88901c\n; > ec_GF2m_simple_point2oct @ 0x8893a8\n; > ec_GF2m_simple_oct2point @ 0x889754\n; > BN_is_prime_fasttest_ex @ 0x8ca934\n; > <???> @ 0x5fb9c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             R3, [R0,#4]                                            ; +0x0, 0x7d4894\nCMP             R3, #0                                                 ; +0x4, 0x7d4898\nLDRGT           R3, [R0]                                               ; +0x8, 0x7d489c\nLDRGT           R0, [R3]                                               ; +0xc, 0x7d48a0\nANDGT           R0, R0, #1                                             ; +0x10, 0x7d48a4\nMOVLE           R0, #0                                                 ; +0x14, 0x7d48a8\nBX              LR                                                     ; +0x18, 0x7d48ac", "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"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}