{"type": "func", "start": 16747880, "end": 16747916, "name": "BN_is_odd", "pseudocode": "// \n// BN_is_odd from 0xff8d68 to 0xff8d8c (36 bytes)\n// \n// 27 xrefs:\n// > EC_GROUP_set_generator @ 0x1010b4c\n// > ec_GFp_simple_set_compressed_coordinates @ 0x1016ad0\n// > ec_GFp_simple_set_compressed_coordinates @ 0x1016c24\n// > ec_GFp_simple_point2oct @ 0x1016f24\n// > ec_GFp_simple_oct2point @ 0x1017374\n// > ec_GFp_simple_group_set_curve @ 0x1018430\n// > ec_GFp_simple_add @ 0x1018da4\n// > sub_10545B8 @ 0x1054730\n// > BN_exp @ 0x1094a60\n// > BN_mod_exp_mont_consttime @ 0x1094bec\n// > BN_mod_exp_mont @ 0x1095304\n// > BN_mod_exp_mont_word @ 0x10958e8\n// > BN_mod_exp @ 0x1095ca4\n// > BN_gcd @ 0x109690c\n// > BN_gcd @ 0x1096918\n// > BN_gcd @ 0x10969a0\n// > int_bn_mod_inverse @ 0x1096d68\n// > int_bn_mod_inverse @ 0x10970a0\n// > int_bn_mod_inverse @ 0x1097104\n// > BN_kronecker @ 0x1097844\n// > BN_kronecker @ 0x1097988\n// > BN_mod_sqrt @ 0x1099064\n// > ec_GF2m_simple_set_compressed_coordinates @ 0x10b0b20\n// > ec_GF2m_simple_point2oct @ 0x10b0ed0\n// > ec_GF2m_simple_oct2point @ 0x10b12a4\n// > BN_is_prime_fasttest_ex @ 0x10f4e60\n// > <???> @ 0x7d188\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:15:49 +0000\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 0xff8d68 to 0xff8d8c (36 bytes)\n; \n; 27 xrefs:\n; > EC_GROUP_set_generator @ 0x1010b4c\n; > ec_GFp_simple_set_compressed_coordinates @ 0x1016ad0\n; > ec_GFp_simple_set_compressed_coordinates @ 0x1016c24\n; > ec_GFp_simple_point2oct @ 0x1016f24\n; > ec_GFp_simple_oct2point @ 0x1017374\n; > ec_GFp_simple_group_set_curve @ 0x1018430\n; > ec_GFp_simple_add @ 0x1018da4\n; > sub_10545B8 @ 0x1054730\n; > BN_exp @ 0x1094a60\n; > BN_mod_exp_mont_consttime @ 0x1094bec\n; > BN_mod_exp_mont @ 0x1095304\n; > BN_mod_exp_mont_word @ 0x10958e8\n; > BN_mod_exp @ 0x1095ca4\n; > BN_gcd @ 0x109690c\n; > BN_gcd @ 0x1096918\n; > BN_gcd @ 0x10969a0\n; > int_bn_mod_inverse @ 0x1096d68\n; > int_bn_mod_inverse @ 0x10970a0\n; > int_bn_mod_inverse @ 0x1097104\n; > BN_kronecker @ 0x1097844\n; > BN_kronecker @ 0x1097988\n; > BN_mod_sqrt @ 0x1099064\n; > ec_GF2m_simple_set_compressed_coordinates @ 0x10b0b20\n; > ec_GF2m_simple_point2oct @ 0x10b0ed0\n; > ec_GF2m_simple_oct2point @ 0x10b12a4\n; > BN_is_prime_fasttest_ex @ 0x10f4e60\n; > <???> @ 0x7d188\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:15:49 +0000\n; \nLDR             W1, [X0,#8]                                            ; +0x0, 0xff8d68\nCMP             W1, WZR                                                ; +0x4, 0xff8d6c\nB.LE            loc_FF8D84                                             ; +0x8, 0xff8d70\nLDR             X0, [X0]                                               ; +0xc, 0xff8d74\nLDR             X0, [X0]                                               ; +0x10, 0xff8d78\nAND             W0, W0, #1                                             ; +0x14, 0xff8d7c\nRET                                                                    ; +0x18, 0xff8d80\nMOV             W0, #0                                                 ; +0x1c, 0xff8d84\nRET                                                                    ; +0x20, 0xff8d88", "xrefs": ["EC_GROUP_set_generator @ 0x1010b4c", "ec_GFp_simple_set_compressed_coordinates @ 0x1016ad0", "ec_GFp_simple_set_compressed_coordinates @ 0x1016c24", "ec_GFp_simple_point2oct @ 0x1016f24", "ec_GFp_simple_oct2point @ 0x1017374", "ec_GFp_simple_group_set_curve @ 0x1018430", "ec_GFp_simple_add @ 0x1018da4", "sub_10545B8 @ 0x1054730", "BN_exp @ 0x1094a60", "BN_mod_exp_mont_consttime @ 0x1094bec", "BN_mod_exp_mont @ 0x1095304", "BN_mod_exp_mont_word @ 0x10958e8", "BN_mod_exp @ 0x1095ca4", "BN_gcd @ 0x109690c", "BN_gcd @ 0x1096918", "BN_gcd @ 0x10969a0", "int_bn_mod_inverse @ 0x1096d68", "int_bn_mod_inverse @ 0x10970a0", "int_bn_mod_inverse @ 0x1097104", "BN_kronecker @ 0x1097844", "BN_kronecker @ 0x1097988", "BN_mod_sqrt @ 0x1099064", "ec_GF2m_simple_set_compressed_coordinates @ 0x10b0b20", "ec_GF2m_simple_point2oct @ 0x10b0ed0", "ec_GF2m_simple_oct2point @ 0x10b12a4", "BN_is_prime_fasttest_ex @ 0x10f4e60", "<???> @ 0x7d188"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}