{"type": "func", "start": 8209912, "end": 8209928, "name": "BN_is_zero", "pseudocode": "// \n// BN_is_zero from 0x7d45f8 to 0x7d4608 (16 bytes)\n// \n// 107 xrefs:\n// > tls_process_key_exchange @ 0x7a3c0c\n// > tls_process_key_exchange @ 0x7a3c1c\n// > tls_process_key_exchange @ 0x7a3d98\n// > tls_process_client_key_exchange @ 0x7ab814\n// > srp_verify_server_param @ 0x7b5d60\n// > BN_num_bits @ 0x7d4614\n// > BN_set_negative @ 0x7d4828\n// > BN_MONT_CTX_set @ 0x7d5774\n// > BN_MONT_CTX_set @ 0x7d58a8\n// > BN_bn2hex @ 0x7d7378\n// > BN_bn2hex @ 0x7d73c8\n// > BN_bn2dec @ 0x7d7668\n// > BN_bn2dec @ 0x7d76e8\n// > BN_print @ 0x7d7bdc\n// > BN_rshift1 @ 0x7d8024\n// > BN_sub_word @ 0x7d88e4\n// > BN_add_word @ 0x7d89dc\n// > BN_add_word @ 0x7d8a74\n// > sub_7E01E0 @ 0x7e02c0\n// > sub_7E255C @ 0x7e2660\n// > sub_7E255C @ 0x7e269c\n// > sub_7E28B8 @ 0x7e29a0\n// > sub_7E28B8 @ 0x7e2a78\n// > sub_7E28B8 @ 0x7e2cb4\n// > sub_7E28B8 @ 0x7e2d3c\n// > sub_7E2D78 @ 0x7e2dd0\n// > EC_GROUP_new_from_ecparameters @ 0x7e6910\n// > EC_GROUP_new_from_ecparameters @ 0x7e6f3c\n// > ec_key_simple_generate_key @ 0x7e8e74\n// > ec_key_simple_check_key @ 0x7e90f8\n// > EC_GROUP_get_order @ 0x7ea1d8\n// > EC_GROUP_get_cofactor @ 0x7ea264\n// > ec_wNAF_precompute_mult @ 0x7ecbf4\n// > ossl_ecdsa_sign_setup @ 0x7edb00\n// > ossl_ecdsa_sign_setup @ 0x7edcd8\n// > ossl_ecdsa_sign_sig @ 0x7ee15c\n// > ossl_ecdsa_sign_sig @ 0x7ee2a0\n// > ossl_ecdsa_sign_sig @ 0x7ee360\n// > ossl_ecdsa_sign_sig @ 0x7ee520\n// > ossl_ecdsa_verify_sig @ 0x7eeb28\n// > ossl_ecdsa_verify_sig @ 0x7eeba8\n// > sub_7F1BA0 @ 0x7f1c44\n// > ec_GFp_simple_set_compressed_coordinates @ 0x7f2418\n// > ec_GFp_simple_is_at_infinity @ 0x7f315c\n// > ec_GFp_simple_group_check_discriminant @ 0x7f3264\n// > ec_GFp_simple_group_check_discriminant @ 0x7f3274\n// > ec_GFp_simple_group_check_discriminant @ 0x7f32f0\n// > ec_GFp_simple_group_check_discriminant @ 0x7f33a8\n// > ec_GFp_simple_add @ 0x7f4470\n// > ec_GFp_simple_add @ 0x7f4480\n// > ec_GFp_simple_invert @ 0x7f48d8\n// > ec_GFp_simple_points_make_affine @ 0x7f4e44\n// > ec_GFp_simple_points_make_affine @ 0x7f4ed0\n// > ec_GFp_simple_points_make_affine @ 0x7f4fc0\n// > ec_GFp_simple_points_make_affine @ 0x7f5078\n// > ec_GFp_simple_points_make_affine @ 0x7f50a8\n// > sub_82DDB0 @ 0x82e130\n// > SRP_Verify_B_mod_N @ 0x837054\n// > s2i_ASN1_INTEGER @ 0x85d0dc\n// > BN_to_ASN1_INTEGER @ 0x862614\n// > BN_to_ASN1_INTEGER @ 0x86267c\n// > BN_to_ASN1_ENUMERATED @ 0x862c80\n// > BN_to_ASN1_ENUMERATED @ 0x862ce8\n// > ASN1_bn_print @ 0x867994\n// > BN_div @ 0x86c3e4\n// > BN_div @ 0x86c804\n// > BN_div @ 0x86c84c\n// > BN_mod_exp_recp @ 0x86cef8\n// > BN_mod_exp_mont @ 0x86d92c\n// > BN_mod_exp_simple @ 0x86e460\n// > BN_mod_exp2_mont @ 0x86e910\n// > BN_mod_exp2_mont @ 0x86e9ac\n// > BN_gcd @ 0x86efc4\n// > BN_gcd @ 0x86f03c\n// > int_bn_mod_inverse @ 0x86f2d0\n// > int_bn_mod_inverse @ 0x86f4c8\n// > int_bn_mod_inverse @ 0x86f7f8\n// > bn_compute_wNAF @ 0x86fab4\n// > BN_kronecker @ 0x86ffc8\n// > BN_kronecker @ 0x870084\n// > BN_rand_range @ 0x870c48\n// > BN_pseudo_rand_range @ 0x870e2c\n// > BN_div_recp @ 0x871588\n// > BN_mod_sqrt @ 0x871728\n// > BN_mod_sqrt @ 0x871be4\n// > BN_mod_sqrt @ 0x871c0c\n// > BN_mod_sqrt @ 0x871c38\n// > BN_mod_sqrt @ 0x871dc4\n// > ec_GF2m_simple_set_compressed_coordinates @ 0x888ed0\n// > ec_GF2m_simple_point2oct @ 0x889228\n// > ec_GF2m_simple_is_at_infinity @ 0x889b34\n// > ec_GF2m_simple_group_check_discriminant @ 0x889ba0\n// > ec_GF2m_simple_is_on_curve @ 0x88a358\n// > ec_GF2m_simple_add @ 0x88a774\n// > ec_GF2m_simple_invert @ 0x88a7dc\n// > BN_GF2m_mod_exp_arr @ 0x8c97e8\n// > BN_GF2m_mod_solve_quad_arr @ 0x8c9a40\n// > BN_GF2m_mod_solve_quad_arr @ 0x8c9cb0\n// > BN_GF2m_mod_solve_quad_arr @ 0x8c9ce4\n// > BN_GF2m_poly2arr @ 0x8c9d50\n// > BN_GF2m_mod_inv @ 0x8c9f14\n// > BN_is_prime_fasttest_ex @ 0x8cab94\n// > DSA_generate_key @ 0x8d0ed0\n// > sub_8D1010 @ 0x8d1040\n// > sub_8D1010 @ 0x8d15b8\n// > sub_8D1010 @ 0x8d15c8\n// > <???> @ 0x5d2dc\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\nbool __fastcall BN_is_zero(int a1)\n{\n  return *(_DWORD *)(a1 + 4) == 0;\n}", "assembly": "; \n; BN_is_zero from 0x7d45f8 to 0x7d4608 (16 bytes)\n; \n; 107 xrefs:\n; > tls_process_key_exchange @ 0x7a3c0c\n; > tls_process_key_exchange @ 0x7a3c1c\n; > tls_process_key_exchange @ 0x7a3d98\n; > tls_process_client_key_exchange @ 0x7ab814\n; > srp_verify_server_param @ 0x7b5d60\n; > BN_num_bits @ 0x7d4614\n; > BN_set_negative @ 0x7d4828\n; > BN_MONT_CTX_set @ 0x7d5774\n; > BN_MONT_CTX_set @ 0x7d58a8\n; > BN_bn2hex @ 0x7d7378\n; > BN_bn2hex @ 0x7d73c8\n; > BN_bn2dec @ 0x7d7668\n; > BN_bn2dec @ 0x7d76e8\n; > BN_print @ 0x7d7bdc\n; > BN_rshift1 @ 0x7d8024\n; > BN_sub_word @ 0x7d88e4\n; > BN_add_word @ 0x7d89dc\n; > BN_add_word @ 0x7d8a74\n; > sub_7E01E0 @ 0x7e02c0\n; > sub_7E255C @ 0x7e2660\n; > sub_7E255C @ 0x7e269c\n; > sub_7E28B8 @ 0x7e29a0\n; > sub_7E28B8 @ 0x7e2a78\n; > sub_7E28B8 @ 0x7e2cb4\n; > sub_7E28B8 @ 0x7e2d3c\n; > sub_7E2D78 @ 0x7e2dd0\n; > EC_GROUP_new_from_ecparameters @ 0x7e6910\n; > EC_GROUP_new_from_ecparameters @ 0x7e6f3c\n; > ec_key_simple_generate_key @ 0x7e8e74\n; > ec_key_simple_check_key @ 0x7e90f8\n; > EC_GROUP_get_order @ 0x7ea1d8\n; > EC_GROUP_get_cofactor @ 0x7ea264\n; > ec_wNAF_precompute_mult @ 0x7ecbf4\n; > ossl_ecdsa_sign_setup @ 0x7edb00\n; > ossl_ecdsa_sign_setup @ 0x7edcd8\n; > ossl_ecdsa_sign_sig @ 0x7ee15c\n; > ossl_ecdsa_sign_sig @ 0x7ee2a0\n; > ossl_ecdsa_sign_sig @ 0x7ee360\n; > ossl_ecdsa_sign_sig @ 0x7ee520\n; > ossl_ecdsa_verify_sig @ 0x7eeb28\n; > ossl_ecdsa_verify_sig @ 0x7eeba8\n; > sub_7F1BA0 @ 0x7f1c44\n; > ec_GFp_simple_set_compressed_coordinates @ 0x7f2418\n; > ec_GFp_simple_is_at_infinity @ 0x7f315c\n; > ec_GFp_simple_group_check_discriminant @ 0x7f3264\n; > ec_GFp_simple_group_check_discriminant @ 0x7f3274\n; > ec_GFp_simple_group_check_discriminant @ 0x7f32f0\n; > ec_GFp_simple_group_check_discriminant @ 0x7f33a8\n; > ec_GFp_simple_add @ 0x7f4470\n; > ec_GFp_simple_add @ 0x7f4480\n; > ec_GFp_simple_invert @ 0x7f48d8\n; > ec_GFp_simple_points_make_affine @ 0x7f4e44\n; > ec_GFp_simple_points_make_affine @ 0x7f4ed0\n; > ec_GFp_simple_points_make_affine @ 0x7f4fc0\n; > ec_GFp_simple_points_make_affine @ 0x7f5078\n; > ec_GFp_simple_points_make_affine @ 0x7f50a8\n; > sub_82DDB0 @ 0x82e130\n; > SRP_Verify_B_mod_N @ 0x837054\n; > s2i_ASN1_INTEGER @ 0x85d0dc\n; > BN_to_ASN1_INTEGER @ 0x862614\n; > BN_to_ASN1_INTEGER @ 0x86267c\n; > BN_to_ASN1_ENUMERATED @ 0x862c80\n; > BN_to_ASN1_ENUMERATED @ 0x862ce8\n; > ASN1_bn_print @ 0x867994\n; > BN_div @ 0x86c3e4\n; > BN_div @ 0x86c804\n; > BN_div @ 0x86c84c\n; > BN_mod_exp_recp @ 0x86cef8\n; > BN_mod_exp_mont @ 0x86d92c\n; > BN_mod_exp_simple @ 0x86e460\n; > BN_mod_exp2_mont @ 0x86e910\n; > BN_mod_exp2_mont @ 0x86e9ac\n; > BN_gcd @ 0x86efc4\n; > BN_gcd @ 0x86f03c\n; > int_bn_mod_inverse @ 0x86f2d0\n; > int_bn_mod_inverse @ 0x86f4c8\n; > int_bn_mod_inverse @ 0x86f7f8\n; > bn_compute_wNAF @ 0x86fab4\n; > BN_kronecker @ 0x86ffc8\n; > BN_kronecker @ 0x870084\n; > BN_rand_range @ 0x870c48\n; > BN_pseudo_rand_range @ 0x870e2c\n; > BN_div_recp @ 0x871588\n; > BN_mod_sqrt @ 0x871728\n; > BN_mod_sqrt @ 0x871be4\n; > BN_mod_sqrt @ 0x871c0c\n; > BN_mod_sqrt @ 0x871c38\n; > BN_mod_sqrt @ 0x871dc4\n; > ec_GF2m_simple_set_compressed_coordinates @ 0x888ed0\n; > ec_GF2m_simple_point2oct @ 0x889228\n; > ec_GF2m_simple_is_at_infinity @ 0x889b34\n; > ec_GF2m_simple_group_check_discriminant @ 0x889ba0\n; > ec_GF2m_simple_is_on_curve @ 0x88a358\n; > ec_GF2m_simple_add @ 0x88a774\n; > ec_GF2m_simple_invert @ 0x88a7dc\n; > BN_GF2m_mod_exp_arr @ 0x8c97e8\n; > BN_GF2m_mod_solve_quad_arr @ 0x8c9a40\n; > BN_GF2m_mod_solve_quad_arr @ 0x8c9cb0\n; > BN_GF2m_mod_solve_quad_arr @ 0x8c9ce4\n; > BN_GF2m_poly2arr @ 0x8c9d50\n; > BN_GF2m_mod_inv @ 0x8c9f14\n; > BN_is_prime_fasttest_ex @ 0x8cab94\n; > DSA_generate_key @ 0x8d0ed0\n; > sub_8D1010 @ 0x8d1040\n; > sub_8D1010 @ 0x8d15b8\n; > sub_8D1010 @ 0x8d15c8\n; > <???> @ 0x5d2dc\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             R0, [R0,#4]                                            ; +0x0, 0x7d45f8\nCLZ             R0, R0                                                 ; +0x4, 0x7d45fc\nMOV             R0, R0,LSR#5                                           ; +0x8, 0x7d4600\nBX              LR                                                     ; +0xc, 0x7d4604", "xrefs": ["tls_process_key_exchange @ 0x7a3c0c", "tls_process_key_exchange @ 0x7a3c1c", "tls_process_key_exchange @ 0x7a3d98", "tls_process_client_key_exchange @ 0x7ab814", "srp_verify_server_param @ 0x7b5d60", "BN_num_bits @ 0x7d4614", "BN_set_negative @ 0x7d4828", "BN_MONT_CTX_set @ 0x7d5774", "BN_MONT_CTX_set @ 0x7d58a8", "BN_bn2hex @ 0x7d7378", "BN_bn2hex @ 0x7d73c8", "BN_bn2dec @ 0x7d7668", "BN_bn2dec @ 0x7d76e8", "BN_print @ 0x7d7bdc", "BN_rshift1 @ 0x7d8024", "BN_sub_word @ 0x7d88e4", "BN_add_word @ 0x7d89dc", "BN_add_word @ 0x7d8a74", "sub_7E01E0 @ 0x7e02c0", "sub_7E255C @ 0x7e2660", "sub_7E255C @ 0x7e269c", "sub_7E28B8 @ 0x7e29a0", "sub_7E28B8 @ 0x7e2a78", "sub_7E28B8 @ 0x7e2cb4", "sub_7E28B8 @ 0x7e2d3c", "sub_7E2D78 @ 0x7e2dd0", "EC_GROUP_new_from_ecparameters @ 0x7e6910", "EC_GROUP_new_from_ecparameters @ 0x7e6f3c", "ec_key_simple_generate_key @ 0x7e8e74", "ec_key_simple_check_key @ 0x7e90f8", "EC_GROUP_get_order @ 0x7ea1d8", "EC_GROUP_get_cofactor @ 0x7ea264", "ec_wNAF_precompute_mult @ 0x7ecbf4", "ossl_ecdsa_sign_setup @ 0x7edb00", "ossl_ecdsa_sign_setup @ 0x7edcd8", "ossl_ecdsa_sign_sig @ 0x7ee15c", "ossl_ecdsa_sign_sig @ 0x7ee2a0", "ossl_ecdsa_sign_sig @ 0x7ee360", "ossl_ecdsa_sign_sig @ 0x7ee520", "ossl_ecdsa_verify_sig @ 0x7eeb28", "ossl_ecdsa_verify_sig @ 0x7eeba8", "sub_7F1BA0 @ 0x7f1c44", "ec_GFp_simple_set_compressed_coordinates @ 0x7f2418", "ec_GFp_simple_is_at_infinity @ 0x7f315c", "ec_GFp_simple_group_check_discriminant @ 0x7f3264", "ec_GFp_simple_group_check_discriminant @ 0x7f3274", "ec_GFp_simple_group_check_discriminant @ 0x7f32f0", "ec_GFp_simple_group_check_discriminant @ 0x7f33a8", "ec_GFp_simple_add @ 0x7f4470", "ec_GFp_simple_add @ 0x7f4480", "ec_GFp_simple_invert @ 0x7f48d8", "ec_GFp_simple_points_make_affine @ 0x7f4e44", "ec_GFp_simple_points_make_affine @ 0x7f4ed0", "ec_GFp_simple_points_make_affine @ 0x7f4fc0", "ec_GFp_simple_points_make_affine @ 0x7f5078", "ec_GFp_simple_points_make_affine @ 0x7f50a8", "sub_82DDB0 @ 0x82e130", "SRP_Verify_B_mod_N @ 0x837054", "s2i_ASN1_INTEGER @ 0x85d0dc", "BN_to_ASN1_INTEGER @ 0x862614", "BN_to_ASN1_INTEGER @ 0x86267c", "BN_to_ASN1_ENUMERATED @ 0x862c80", "BN_to_ASN1_ENUMERATED @ 0x862ce8", "ASN1_bn_print @ 0x867994", "BN_div @ 0x86c3e4", "BN_div @ 0x86c804", "BN_div @ 0x86c84c", "BN_mod_exp_recp @ 0x86cef8", "BN_mod_exp_mont @ 0x86d92c", "BN_mod_exp_simple @ 0x86e460", "BN_mod_exp2_mont @ 0x86e910", "BN_mod_exp2_mont @ 0x86e9ac", "BN_gcd @ 0x86efc4", "BN_gcd @ 0x86f03c", "int_bn_mod_inverse @ 0x86f2d0", "int_bn_mod_inverse @ 0x86f4c8", "int_bn_mod_inverse @ 0x86f7f8", "bn_compute_wNAF @ 0x86fab4", "BN_kronecker @ 0x86ffc8", "BN_kronecker @ 0x870084", "BN_rand_range @ 0x870c48", "BN_pseudo_rand_range @ 0x870e2c", "BN_div_recp @ 0x871588", "BN_mod_sqrt @ 0x871728", "BN_mod_sqrt @ 0x871be4", "BN_mod_sqrt @ 0x871c0c", "BN_mod_sqrt @ 0x871c38", "BN_mod_sqrt @ 0x871dc4", "ec_GF2m_simple_set_compressed_coordinates @ 0x888ed0", "ec_GF2m_simple_point2oct @ 0x889228", "ec_GF2m_simple_is_at_infinity @ 0x889b34", "ec_GF2m_simple_group_check_discriminant @ 0x889ba0", "ec_GF2m_simple_is_on_curve @ 0x88a358", "ec_GF2m_simple_add @ 0x88a774", "ec_GF2m_simple_invert @ 0x88a7dc", "BN_GF2m_mod_exp_arr @ 0x8c97e8", "BN_GF2m_mod_solve_quad_arr @ 0x8c9a40", "BN_GF2m_mod_solve_quad_arr @ 0x8c9cb0", "BN_GF2m_mod_solve_quad_arr @ 0x8c9ce4", "BN_GF2m_poly2arr @ 0x8c9d50", "BN_GF2m_mod_inv @ 0x8c9f14", "BN_is_prime_fasttest_ex @ 0x8cab94", "DSA_generate_key @ 0x8d0ed0", "sub_8D1010 @ 0x8d1040", "sub_8D1010 @ 0x8d15b8", "sub_8D1010 @ 0x8d15c8", "<???> @ 0x5d2dc"], "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"}