{"type": "func", "start": 14133768, "end": 14133804, "name": "BN_is_odd", "pseudocode": "// \n// BN_is_odd from 0xd7aa08 to 0xd7aa2c (36 bytes)\n// \n// 27 xrefs:\n// > EC_GROUP_set_generator @ 0xd927ec\n// > ec_GFp_simple_set_compressed_coordinates @ 0xd98770\n// > ec_GFp_simple_set_compressed_coordinates @ 0xd988c4\n// > ec_GFp_simple_point2oct @ 0xd98bc4\n// > ec_GFp_simple_oct2point @ 0xd99014\n// > ec_GFp_simple_group_set_curve @ 0xd9a0d0\n// > ec_GFp_simple_add @ 0xd9aa44\n// > sub_DD6258 @ 0xdd63d0\n// > BN_exp @ 0xe16760\n// > BN_mod_exp_mont_consttime @ 0xe168ec\n// > BN_mod_exp_mont @ 0xe17004\n// > BN_mod_exp_mont_word @ 0xe175e8\n// > BN_mod_exp @ 0xe179a4\n// > BN_gcd @ 0xe1860c\n// > BN_gcd @ 0xe18618\n// > BN_gcd @ 0xe186a0\n// > int_bn_mod_inverse @ 0xe18a68\n// > int_bn_mod_inverse @ 0xe18da0\n// > int_bn_mod_inverse @ 0xe18e04\n// > BN_kronecker @ 0xe19544\n// > BN_kronecker @ 0xe19688\n// > BN_mod_sqrt @ 0xe1ad64\n// > ec_GF2m_simple_set_compressed_coordinates @ 0xe32820\n// > ec_GF2m_simple_point2oct @ 0xe32bd0\n// > ec_GF2m_simple_oct2point @ 0xe32fa4\n// > BN_is_prime_fasttest_ex @ 0xe76e60\n// > <???> @ 0x5b2f0\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\n__int64 __fastcall BN_is_odd(__int64 a1)\n{\n  if ( *(int *)(a1 + 8) <= 0 )\n    return 0;\n  else\n    return **(_QWORD **)a1 & 1LL;\n}", "assembly": "; \n; BN_is_odd from 0xd7aa08 to 0xd7aa2c (36 bytes)\n; \n; 27 xrefs:\n; > EC_GROUP_set_generator @ 0xd927ec\n; > ec_GFp_simple_set_compressed_coordinates @ 0xd98770\n; > ec_GFp_simple_set_compressed_coordinates @ 0xd988c4\n; > ec_GFp_simple_point2oct @ 0xd98bc4\n; > ec_GFp_simple_oct2point @ 0xd99014\n; > ec_GFp_simple_group_set_curve @ 0xd9a0d0\n; > ec_GFp_simple_add @ 0xd9aa44\n; > sub_DD6258 @ 0xdd63d0\n; > BN_exp @ 0xe16760\n; > BN_mod_exp_mont_consttime @ 0xe168ec\n; > BN_mod_exp_mont @ 0xe17004\n; > BN_mod_exp_mont_word @ 0xe175e8\n; > BN_mod_exp @ 0xe179a4\n; > BN_gcd @ 0xe1860c\n; > BN_gcd @ 0xe18618\n; > BN_gcd @ 0xe186a0\n; > int_bn_mod_inverse @ 0xe18a68\n; > int_bn_mod_inverse @ 0xe18da0\n; > int_bn_mod_inverse @ 0xe18e04\n; > BN_kronecker @ 0xe19544\n; > BN_kronecker @ 0xe19688\n; > BN_mod_sqrt @ 0xe1ad64\n; > ec_GF2m_simple_set_compressed_coordinates @ 0xe32820\n; > ec_GF2m_simple_point2oct @ 0xe32bd0\n; > ec_GF2m_simple_oct2point @ 0xe32fa4\n; > BN_is_prime_fasttest_ex @ 0xe76e60\n; > <???> @ 0x5b2f0\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             W1, [X0,#8]                                            ; +0x0, 0xd7aa08\nCMP             W1, WZR                                                ; +0x4, 0xd7aa0c\nB.LE            loc_D7AA24                                             ; +0x8, 0xd7aa10\nLDR             X0, [X0]                                               ; +0xc, 0xd7aa14\nLDR             X0, [X0]                                               ; +0x10, 0xd7aa18\nAND             W0, W0, #1                                             ; +0x14, 0xd7aa1c\nRET                                                                    ; +0x18, 0xd7aa20\nMOV             W0, #0                                                 ; +0x1c, 0xd7aa24\nRET                                                                    ; +0x20, 0xd7aa28", "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"], "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"}