{"type": "func", "start": 10392056, "end": 10392072, "name": "BN_is_zero", "pseudocode": "// \n// BN_is_zero from 0x9e91f8 to 0x9e9208 (16 bytes)\n// \n// 107 xrefs:\n// > tls_process_key_exchange @ 0x9b8810\n// > tls_process_key_exchange @ 0x9b8820\n// > tls_process_key_exchange @ 0x9b899c\n// > tls_process_client_key_exchange @ 0x9c0418\n// > srp_verify_server_param @ 0x9ca964\n// > BN_num_bits @ 0x9e9214\n// > BN_set_negative @ 0x9e9428\n// > BN_MONT_CTX_set @ 0x9ea374\n// > BN_MONT_CTX_set @ 0x9ea4a8\n// > BN_bn2hex @ 0x9ebf78\n// > BN_bn2hex @ 0x9ebfc8\n// > BN_bn2dec @ 0x9ec268\n// > BN_bn2dec @ 0x9ec2e8\n// > BN_print @ 0x9ec7dc\n// > BN_rshift1 @ 0x9ecc24\n// > BN_sub_word @ 0x9ed4e4\n// > BN_add_word @ 0x9ed5dc\n// > BN_add_word @ 0x9ed674\n// > sub_9F4DE0 @ 0x9f4ec0\n// > sub_9F715C @ 0x9f7260\n// > sub_9F715C @ 0x9f729c\n// > sub_9F74B8 @ 0x9f75a0\n// > sub_9F74B8 @ 0x9f7678\n// > sub_9F74B8 @ 0x9f78b4\n// > sub_9F74B8 @ 0x9f793c\n// > sub_9F7978 @ 0x9f79d0\n// > EC_GROUP_new_from_ecparameters @ 0x9fb510\n// > EC_GROUP_new_from_ecparameters @ 0x9fbb3c\n// > ec_key_simple_generate_key @ 0x9fda74\n// > ec_key_simple_check_key @ 0x9fdcf8\n// > EC_GROUP_get_order @ 0x9fedd8\n// > EC_GROUP_get_cofactor @ 0x9fee64\n// > ec_wNAF_precompute_mult @ 0xa017f4\n// > ossl_ecdsa_sign_setup @ 0xa02700\n// > ossl_ecdsa_sign_setup @ 0xa028d8\n// > ossl_ecdsa_sign_sig @ 0xa02d5c\n// > ossl_ecdsa_sign_sig @ 0xa02ea0\n// > ossl_ecdsa_sign_sig @ 0xa02f60\n// > ossl_ecdsa_sign_sig @ 0xa03120\n// > ossl_ecdsa_verify_sig @ 0xa03728\n// > ossl_ecdsa_verify_sig @ 0xa037a8\n// > sub_A067A0 @ 0xa06844\n// > ec_GFp_simple_set_compressed_coordinates @ 0xa07018\n// > ec_GFp_simple_is_at_infinity @ 0xa07d5c\n// > ec_GFp_simple_group_check_discriminant @ 0xa07e64\n// > ec_GFp_simple_group_check_discriminant @ 0xa07e74\n// > ec_GFp_simple_group_check_discriminant @ 0xa07ef0\n// > ec_GFp_simple_group_check_discriminant @ 0xa07fa8\n// > ec_GFp_simple_add @ 0xa09070\n// > ec_GFp_simple_add @ 0xa09080\n// > ec_GFp_simple_invert @ 0xa094d8\n// > ec_GFp_simple_points_make_affine @ 0xa09a44\n// > ec_GFp_simple_points_make_affine @ 0xa09ad0\n// > ec_GFp_simple_points_make_affine @ 0xa09bc0\n// > ec_GFp_simple_points_make_affine @ 0xa09c78\n// > ec_GFp_simple_points_make_affine @ 0xa09ca8\n// > sub_A429B0 @ 0xa42d30\n// > SRP_Verify_B_mod_N @ 0xa4bc54\n// > s2i_ASN1_INTEGER @ 0xa71cdc\n// > BN_to_ASN1_INTEGER @ 0xa77214\n// > BN_to_ASN1_INTEGER @ 0xa7727c\n// > BN_to_ASN1_ENUMERATED @ 0xa77880\n// > BN_to_ASN1_ENUMERATED @ 0xa778e8\n// > ASN1_bn_print @ 0xa7c594\n// > BN_div @ 0xa80fe4\n// > BN_div @ 0xa81404\n// > BN_div @ 0xa8144c\n// > BN_mod_exp_recp @ 0xa81af8\n// > BN_mod_exp_mont @ 0xa8252c\n// > BN_mod_exp_simple @ 0xa83060\n// > BN_mod_exp2_mont @ 0xa83510\n// > BN_mod_exp2_mont @ 0xa835ac\n// > BN_gcd @ 0xa83bc4\n// > BN_gcd @ 0xa83c3c\n// > int_bn_mod_inverse @ 0xa83ed0\n// > int_bn_mod_inverse @ 0xa840c8\n// > int_bn_mod_inverse @ 0xa843f8\n// > bn_compute_wNAF @ 0xa846b4\n// > BN_kronecker @ 0xa84bc8\n// > BN_kronecker @ 0xa84c84\n// > BN_rand_range @ 0xa85848\n// > BN_pseudo_rand_range @ 0xa85a2c\n// > BN_div_recp @ 0xa86188\n// > BN_mod_sqrt @ 0xa86328\n// > BN_mod_sqrt @ 0xa867e4\n// > BN_mod_sqrt @ 0xa8680c\n// > BN_mod_sqrt @ 0xa86838\n// > BN_mod_sqrt @ 0xa869c4\n// > ec_GF2m_simple_set_compressed_coordinates @ 0xa9dad0\n// > ec_GF2m_simple_point2oct @ 0xa9de28\n// > ec_GF2m_simple_is_at_infinity @ 0xa9e734\n// > ec_GF2m_simple_group_check_discriminant @ 0xa9e7a0\n// > ec_GF2m_simple_is_on_curve @ 0xa9ef58\n// > ec_GF2m_simple_add @ 0xa9f374\n// > ec_GF2m_simple_invert @ 0xa9f3dc\n// > BN_GF2m_mod_exp_arr @ 0xade7e8\n// > BN_GF2m_mod_solve_quad_arr @ 0xadea40\n// > BN_GF2m_mod_solve_quad_arr @ 0xadecb0\n// > BN_GF2m_mod_solve_quad_arr @ 0xadece4\n// > BN_GF2m_poly2arr @ 0xaded50\n// > BN_GF2m_mod_inv @ 0xadef14\n// > BN_is_prime_fasttest_ex @ 0xadfb94\n// > DSA_generate_key @ 0xae5ed0\n// > sub_AE6010 @ 0xae6040\n// > sub_AE6010 @ 0xae65b8\n// > sub_AE6010 @ 0xae65c8\n// > <???> @ 0x76d5c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:25 +0000\n// \n\nbool __fastcall BN_is_zero(int a1)\n{\n  return *(_DWORD *)(a1 + 4) == 0;\n}", "assembly": "; \n; BN_is_zero from 0x9e91f8 to 0x9e9208 (16 bytes)\n; \n; 107 xrefs:\n; > tls_process_key_exchange @ 0x9b8810\n; > tls_process_key_exchange @ 0x9b8820\n; > tls_process_key_exchange @ 0x9b899c\n; > tls_process_client_key_exchange @ 0x9c0418\n; > srp_verify_server_param @ 0x9ca964\n; > BN_num_bits @ 0x9e9214\n; > BN_set_negative @ 0x9e9428\n; > BN_MONT_CTX_set @ 0x9ea374\n; > BN_MONT_CTX_set @ 0x9ea4a8\n; > BN_bn2hex @ 0x9ebf78\n; > BN_bn2hex @ 0x9ebfc8\n; > BN_bn2dec @ 0x9ec268\n; > BN_bn2dec @ 0x9ec2e8\n; > BN_print @ 0x9ec7dc\n; > BN_rshift1 @ 0x9ecc24\n; > BN_sub_word @ 0x9ed4e4\n; > BN_add_word @ 0x9ed5dc\n; > BN_add_word @ 0x9ed674\n; > sub_9F4DE0 @ 0x9f4ec0\n; > sub_9F715C @ 0x9f7260\n; > sub_9F715C @ 0x9f729c\n; > sub_9F74B8 @ 0x9f75a0\n; > sub_9F74B8 @ 0x9f7678\n; > sub_9F74B8 @ 0x9f78b4\n; > sub_9F74B8 @ 0x9f793c\n; > sub_9F7978 @ 0x9f79d0\n; > EC_GROUP_new_from_ecparameters @ 0x9fb510\n; > EC_GROUP_new_from_ecparameters @ 0x9fbb3c\n; > ec_key_simple_generate_key @ 0x9fda74\n; > ec_key_simple_check_key @ 0x9fdcf8\n; > EC_GROUP_get_order @ 0x9fedd8\n; > EC_GROUP_get_cofactor @ 0x9fee64\n; > ec_wNAF_precompute_mult @ 0xa017f4\n; > ossl_ecdsa_sign_setup @ 0xa02700\n; > ossl_ecdsa_sign_setup @ 0xa028d8\n; > ossl_ecdsa_sign_sig @ 0xa02d5c\n; > ossl_ecdsa_sign_sig @ 0xa02ea0\n; > ossl_ecdsa_sign_sig @ 0xa02f60\n; > ossl_ecdsa_sign_sig @ 0xa03120\n; > ossl_ecdsa_verify_sig @ 0xa03728\n; > ossl_ecdsa_verify_sig @ 0xa037a8\n; > sub_A067A0 @ 0xa06844\n; > ec_GFp_simple_set_compressed_coordinates @ 0xa07018\n; > ec_GFp_simple_is_at_infinity @ 0xa07d5c\n; > ec_GFp_simple_group_check_discriminant @ 0xa07e64\n; > ec_GFp_simple_group_check_discriminant @ 0xa07e74\n; > ec_GFp_simple_group_check_discriminant @ 0xa07ef0\n; > ec_GFp_simple_group_check_discriminant @ 0xa07fa8\n; > ec_GFp_simple_add @ 0xa09070\n; > ec_GFp_simple_add @ 0xa09080\n; > ec_GFp_simple_invert @ 0xa094d8\n; > ec_GFp_simple_points_make_affine @ 0xa09a44\n; > ec_GFp_simple_points_make_affine @ 0xa09ad0\n; > ec_GFp_simple_points_make_affine @ 0xa09bc0\n; > ec_GFp_simple_points_make_affine @ 0xa09c78\n; > ec_GFp_simple_points_make_affine @ 0xa09ca8\n; > sub_A429B0 @ 0xa42d30\n; > SRP_Verify_B_mod_N @ 0xa4bc54\n; > s2i_ASN1_INTEGER @ 0xa71cdc\n; > BN_to_ASN1_INTEGER @ 0xa77214\n; > BN_to_ASN1_INTEGER @ 0xa7727c\n; > BN_to_ASN1_ENUMERATED @ 0xa77880\n; > BN_to_ASN1_ENUMERATED @ 0xa778e8\n; > ASN1_bn_print @ 0xa7c594\n; > BN_div @ 0xa80fe4\n; > BN_div @ 0xa81404\n; > BN_div @ 0xa8144c\n; > BN_mod_exp_recp @ 0xa81af8\n; > BN_mod_exp_mont @ 0xa8252c\n; > BN_mod_exp_simple @ 0xa83060\n; > BN_mod_exp2_mont @ 0xa83510\n; > BN_mod_exp2_mont @ 0xa835ac\n; > BN_gcd @ 0xa83bc4\n; > BN_gcd @ 0xa83c3c\n; > int_bn_mod_inverse @ 0xa83ed0\n; > int_bn_mod_inverse @ 0xa840c8\n; > int_bn_mod_inverse @ 0xa843f8\n; > bn_compute_wNAF @ 0xa846b4\n; > BN_kronecker @ 0xa84bc8\n; > BN_kronecker @ 0xa84c84\n; > BN_rand_range @ 0xa85848\n; > BN_pseudo_rand_range @ 0xa85a2c\n; > BN_div_recp @ 0xa86188\n; > BN_mod_sqrt @ 0xa86328\n; > BN_mod_sqrt @ 0xa867e4\n; > BN_mod_sqrt @ 0xa8680c\n; > BN_mod_sqrt @ 0xa86838\n; > BN_mod_sqrt @ 0xa869c4\n; > ec_GF2m_simple_set_compressed_coordinates @ 0xa9dad0\n; > ec_GF2m_simple_point2oct @ 0xa9de28\n; > ec_GF2m_simple_is_at_infinity @ 0xa9e734\n; > ec_GF2m_simple_group_check_discriminant @ 0xa9e7a0\n; > ec_GF2m_simple_is_on_curve @ 0xa9ef58\n; > ec_GF2m_simple_add @ 0xa9f374\n; > ec_GF2m_simple_invert @ 0xa9f3dc\n; > BN_GF2m_mod_exp_arr @ 0xade7e8\n; > BN_GF2m_mod_solve_quad_arr @ 0xadea40\n; > BN_GF2m_mod_solve_quad_arr @ 0xadecb0\n; > BN_GF2m_mod_solve_quad_arr @ 0xadece4\n; > BN_GF2m_poly2arr @ 0xaded50\n; > BN_GF2m_mod_inv @ 0xadef14\n; > BN_is_prime_fasttest_ex @ 0xadfb94\n; > DSA_generate_key @ 0xae5ed0\n; > sub_AE6010 @ 0xae6040\n; > sub_AE6010 @ 0xae65b8\n; > sub_AE6010 @ 0xae65c8\n; > <???> @ 0x76d5c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:25 +0000\n; \nLDR             R0, [R0,#4]                                            ; +0x0, 0x9e91f8\nCLZ             R0, R0                                                 ; +0x4, 0x9e91fc\nMOV             R0, R0,LSR#5                                           ; +0x8, 0x9e9200\nBX              LR                                                     ; +0xc, 0x9e9204", "xrefs": ["tls_process_key_exchange @ 0x9b8810", "tls_process_key_exchange @ 0x9b8820", "tls_process_key_exchange @ 0x9b899c", "tls_process_client_key_exchange @ 0x9c0418", "srp_verify_server_param @ 0x9ca964", "BN_num_bits @ 0x9e9214", "BN_set_negative @ 0x9e9428", "BN_MONT_CTX_set @ 0x9ea374", "BN_MONT_CTX_set @ 0x9ea4a8", "BN_bn2hex @ 0x9ebf78", "BN_bn2hex @ 0x9ebfc8", "BN_bn2dec @ 0x9ec268", "BN_bn2dec @ 0x9ec2e8", "BN_print @ 0x9ec7dc", "BN_rshift1 @ 0x9ecc24", "BN_sub_word @ 0x9ed4e4", "BN_add_word @ 0x9ed5dc", "BN_add_word @ 0x9ed674", "sub_9F4DE0 @ 0x9f4ec0", "sub_9F715C @ 0x9f7260", "sub_9F715C @ 0x9f729c", "sub_9F74B8 @ 0x9f75a0", "sub_9F74B8 @ 0x9f7678", "sub_9F74B8 @ 0x9f78b4", "sub_9F74B8 @ 0x9f793c", "sub_9F7978 @ 0x9f79d0", "EC_GROUP_new_from_ecparameters @ 0x9fb510", "EC_GROUP_new_from_ecparameters @ 0x9fbb3c", "ec_key_simple_generate_key @ 0x9fda74", "ec_key_simple_check_key @ 0x9fdcf8", "EC_GROUP_get_order @ 0x9fedd8", "EC_GROUP_get_cofactor @ 0x9fee64", "ec_wNAF_precompute_mult @ 0xa017f4", "ossl_ecdsa_sign_setup @ 0xa02700", "ossl_ecdsa_sign_setup @ 0xa028d8", "ossl_ecdsa_sign_sig @ 0xa02d5c", "ossl_ecdsa_sign_sig @ 0xa02ea0", "ossl_ecdsa_sign_sig @ 0xa02f60", "ossl_ecdsa_sign_sig @ 0xa03120", "ossl_ecdsa_verify_sig @ 0xa03728", "ossl_ecdsa_verify_sig @ 0xa037a8", "sub_A067A0 @ 0xa06844", "ec_GFp_simple_set_compressed_coordinates @ 0xa07018", "ec_GFp_simple_is_at_infinity @ 0xa07d5c", "ec_GFp_simple_group_check_discriminant @ 0xa07e64", "ec_GFp_simple_group_check_discriminant @ 0xa07e74", "ec_GFp_simple_group_check_discriminant @ 0xa07ef0", "ec_GFp_simple_group_check_discriminant @ 0xa07fa8", "ec_GFp_simple_add @ 0xa09070", "ec_GFp_simple_add @ 0xa09080", "ec_GFp_simple_invert @ 0xa094d8", "ec_GFp_simple_points_make_affine @ 0xa09a44", "ec_GFp_simple_points_make_affine @ 0xa09ad0", "ec_GFp_simple_points_make_affine @ 0xa09bc0", "ec_GFp_simple_points_make_affine @ 0xa09c78", "ec_GFp_simple_points_make_affine @ 0xa09ca8", "sub_A429B0 @ 0xa42d30", "SRP_Verify_B_mod_N @ 0xa4bc54", "s2i_ASN1_INTEGER @ 0xa71cdc", "BN_to_ASN1_INTEGER @ 0xa77214", "BN_to_ASN1_INTEGER @ 0xa7727c", "BN_to_ASN1_ENUMERATED @ 0xa77880", "BN_to_ASN1_ENUMERATED @ 0xa778e8", "ASN1_bn_print @ 0xa7c594", "BN_div @ 0xa80fe4", "BN_div @ 0xa81404", "BN_div @ 0xa8144c", "BN_mod_exp_recp @ 0xa81af8", "BN_mod_exp_mont @ 0xa8252c", "BN_mod_exp_simple @ 0xa83060", "BN_mod_exp2_mont @ 0xa83510", "BN_mod_exp2_mont @ 0xa835ac", "BN_gcd @ 0xa83bc4", "BN_gcd @ 0xa83c3c", "int_bn_mod_inverse @ 0xa83ed0", "int_bn_mod_inverse @ 0xa840c8", "int_bn_mod_inverse @ 0xa843f8", "bn_compute_wNAF @ 0xa846b4", "BN_kronecker @ 0xa84bc8", "BN_kronecker @ 0xa84c84", "BN_rand_range @ 0xa85848", "BN_pseudo_rand_range @ 0xa85a2c", "BN_div_recp @ 0xa86188", "BN_mod_sqrt @ 0xa86328", "BN_mod_sqrt @ 0xa867e4", "BN_mod_sqrt @ 0xa8680c", "BN_mod_sqrt @ 0xa86838", "BN_mod_sqrt @ 0xa869c4", "ec_GF2m_simple_set_compressed_coordinates @ 0xa9dad0", "ec_GF2m_simple_point2oct @ 0xa9de28", "ec_GF2m_simple_is_at_infinity @ 0xa9e734", "ec_GF2m_simple_group_check_discriminant @ 0xa9e7a0", "ec_GF2m_simple_is_on_curve @ 0xa9ef58", "ec_GF2m_simple_add @ 0xa9f374", "ec_GF2m_simple_invert @ 0xa9f3dc", "BN_GF2m_mod_exp_arr @ 0xade7e8", "BN_GF2m_mod_solve_quad_arr @ 0xadea40", "BN_GF2m_mod_solve_quad_arr @ 0xadecb0", "BN_GF2m_mod_solve_quad_arr @ 0xadece4", "BN_GF2m_poly2arr @ 0xaded50", "BN_GF2m_mod_inv @ 0xadef14", "BN_is_prime_fasttest_ex @ 0xadfb94", "DSA_generate_key @ 0xae5ed0", "sub_AE6010 @ 0xae6040", "sub_AE6010 @ 0xae65b8", "sub_AE6010 @ 0xae65c8", "<???> @ 0x76d5c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}