{"type": "func", "start": 14132968, "end": 14132984, "name": "BN_is_zero", "pseudocode": "// \n// BN_is_zero from 0xd7a6e8 to 0xd7a6f8 (16 bytes)\n// \n// 106 xrefs:\n// > tls_process_key_exchange @ 0xd4b9f8\n// > tls_process_key_exchange @ 0xd4ba04\n// > tls_process_key_exchange @ 0xd4bf68\n// > tls_process_client_key_exchange @ 0xd53238\n// > srp_verify_server_param @ 0xd5cb1c\n// > BN_num_bits @ 0xd7a70c\n// > BN_set_negative @ 0xd7a97c\n// > BN_MONT_CTX_set @ 0xd7bd54\n// > BN_MONT_CTX_set @ 0xd7be58\n// > BN_bn2hex @ 0xd7d938\n// > BN_bn2hex @ 0xd7d988\n// > BN_bn2dec @ 0xd7dd20\n// > BN_bn2dec @ 0xd7de1c\n// > BN_print @ 0xd7e354\n// > BN_rshift1 @ 0xd7e9a4\n// > BN_sub_word @ 0xd7f5d8\n// > BN_add_word @ 0xd7f6e0\n// > BN_add_word @ 0xd7f788\n// > sub_D87990 @ 0xd879f0\n// > sub_D89E18 @ 0xd89f3c\n// > sub_D89E18 @ 0xd89f90\n// > sub_D8A128 @ 0xd8a200\n// > sub_D8A128 @ 0xd8a2e4\n// > sub_D8A128 @ 0xd8a4d8\n// > sub_D8A128 @ 0xd8a4e4\n// > sub_D8A57C @ 0xd8a5d8\n// > EC_GROUP_new_from_ecparameters @ 0xd8dcf4\n// > EC_GROUP_new_from_ecparameters @ 0xd8e270\n// > ec_key_simple_generate_key @ 0xd8fe70\n// > ec_key_simple_check_key @ 0xd900dc\n// > EC_GROUP_get_order @ 0xd91114\n// > EC_GROUP_get_cofactor @ 0xd911a8\n// > ec_wNAF_precompute_mult @ 0xd9385c\n// > ossl_ecdsa_sign_setup @ 0xd946b8\n// > ossl_ecdsa_sign_setup @ 0xd94890\n// > ossl_ecdsa_sign_sig @ 0xd94c80\n// > ossl_ecdsa_sign_sig @ 0xd94dc8\n// > ossl_ecdsa_sign_sig @ 0xd94e68\n// > ossl_ecdsa_sign_sig @ 0xd95000\n// > ossl_ecdsa_verify_sig @ 0xd95518\n// > ossl_ecdsa_verify_sig @ 0xd955a0\n// > sub_D98060 @ 0xd98118\n// > ec_GFp_simple_set_compressed_coordinates @ 0xd98780\n// > ec_GFp_simple_is_at_infinity @ 0xd994c8\n// > ec_GFp_simple_group_check_discriminant @ 0xd995e0\n// > ec_GFp_simple_group_check_discriminant @ 0xd995ec\n// > ec_GFp_simple_group_check_discriminant @ 0xd9965c\n// > ec_GFp_simple_group_check_discriminant @ 0xd996f4\n// > ec_GFp_simple_add @ 0xd9a6d0\n// > ec_GFp_simple_add @ 0xd9a6dc\n// > ec_GFp_simple_invert @ 0xd9ab18\n// > ec_GFp_simple_points_make_affine @ 0xd9b064\n// > ec_GFp_simple_points_make_affine @ 0xd9b0dc\n// > ec_GFp_simple_points_make_affine @ 0xd9b1a4\n// > ec_GFp_simple_points_make_affine @ 0xd9b234\n// > ec_GFp_simple_points_make_affine @ 0xd9b25c\n// > sub_DD436C @ 0xdd46a4\n// > SRP_Verify_B_mod_N @ 0xddeca4\n// > s2i_ASN1_INTEGER @ 0xe039dc\n// > BN_to_ASN1_INTEGER @ 0xe0ab94\n// > BN_to_ASN1_INTEGER @ 0xe0ac00\n// > BN_to_ASN1_ENUMERATED @ 0xe0b098\n// > BN_to_ASN1_ENUMERATED @ 0xe0b104\n// > ASN1_bn_print @ 0xe0fb38\n// > BN_div @ 0xe15b84\n// > BN_div @ 0xe15c8c\n// > BN_div @ 0xe15f9c\n// > sub_E162E0 @ 0xe163d8\n// > BN_mod_exp_mont @ 0xe17094\n// > BN_mod_exp_simple @ 0xe17ba8\n// > BN_mod_exp2_mont @ 0xe18040\n// > BN_mod_exp2_mont @ 0xe180f0\n// > BN_gcd @ 0xe18600\n// > int_bn_mod_inverse @ 0xe188f4\n// > int_bn_mod_inverse @ 0xe18ab8\n// > int_bn_mod_inverse @ 0xe18d88\n// > bn_compute_wNAF @ 0xe19014\n// > BN_kronecker @ 0xe19500\n// > BN_kronecker @ 0xe195d4\n// > BN_rand_range @ 0xe1a2e8\n// > BN_pseudo_rand_range @ 0xe1a4a4\n// > BN_div_recp @ 0xe1ac38\n// > BN_mod_sqrt @ 0xe1ae0c\n// > BN_mod_sqrt @ 0xe1b254\n// > BN_mod_sqrt @ 0xe1b274\n// > BN_mod_sqrt @ 0xe1b298\n// > BN_mod_sqrt @ 0xe1b3f4\n// > ec_GF2m_simple_set_compressed_coordinates @ 0xe326fc\n// > ec_GF2m_simple_point2oct @ 0xe32a1c\n// > ec_GF2m_simple_is_at_infinity @ 0xe333c8\n// > ec_GF2m_simple_group_check_discriminant @ 0xe33440\n// > ec_GF2m_simple_is_on_curve @ 0xe33c70\n// > ec_GF2m_simple_add @ 0xe3406c\n// > ec_GF2m_simple_invert @ 0xe340d4\n// > BN_GF2m_mod_exp_arr @ 0xe75ab0\n// > BN_GF2m_mod_solve_quad_arr @ 0xe75d78\n// > BN_GF2m_mod_solve_quad_arr @ 0xe75fa8\n// > BN_GF2m_mod_solve_quad_arr @ 0xe75fbc\n// > BN_GF2m_poly2arr @ 0xe76018\n// > BN_GF2m_mod_inv @ 0xe76218\n// > BN_is_prime_fasttest_ex @ 0xe770cc\n// > DSA_generate_key @ 0xe7caf8\n// > sub_E7CC48 @ 0xe7cc94\n// > sub_E7CC48 @ 0xe7d1a8\n// > sub_E7CC48 @ 0xe7d1b4\n// > <???> @ 0xc53d0\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(__int64 a1)\n{\n  return *(_DWORD *)(a1 + 8) == 0;\n}", "assembly": "; \n; BN_is_zero from 0xd7a6e8 to 0xd7a6f8 (16 bytes)\n; \n; 106 xrefs:\n; > tls_process_key_exchange @ 0xd4b9f8\n; > tls_process_key_exchange @ 0xd4ba04\n; > tls_process_key_exchange @ 0xd4bf68\n; > tls_process_client_key_exchange @ 0xd53238\n; > srp_verify_server_param @ 0xd5cb1c\n; > BN_num_bits @ 0xd7a70c\n; > BN_set_negative @ 0xd7a97c\n; > BN_MONT_CTX_set @ 0xd7bd54\n; > BN_MONT_CTX_set @ 0xd7be58\n; > BN_bn2hex @ 0xd7d938\n; > BN_bn2hex @ 0xd7d988\n; > BN_bn2dec @ 0xd7dd20\n; > BN_bn2dec @ 0xd7de1c\n; > BN_print @ 0xd7e354\n; > BN_rshift1 @ 0xd7e9a4\n; > BN_sub_word @ 0xd7f5d8\n; > BN_add_word @ 0xd7f6e0\n; > BN_add_word @ 0xd7f788\n; > sub_D87990 @ 0xd879f0\n; > sub_D89E18 @ 0xd89f3c\n; > sub_D89E18 @ 0xd89f90\n; > sub_D8A128 @ 0xd8a200\n; > sub_D8A128 @ 0xd8a2e4\n; > sub_D8A128 @ 0xd8a4d8\n; > sub_D8A128 @ 0xd8a4e4\n; > sub_D8A57C @ 0xd8a5d8\n; > EC_GROUP_new_from_ecparameters @ 0xd8dcf4\n; > EC_GROUP_new_from_ecparameters @ 0xd8e270\n; > ec_key_simple_generate_key @ 0xd8fe70\n; > ec_key_simple_check_key @ 0xd900dc\n; > EC_GROUP_get_order @ 0xd91114\n; > EC_GROUP_get_cofactor @ 0xd911a8\n; > ec_wNAF_precompute_mult @ 0xd9385c\n; > ossl_ecdsa_sign_setup @ 0xd946b8\n; > ossl_ecdsa_sign_setup @ 0xd94890\n; > ossl_ecdsa_sign_sig @ 0xd94c80\n; > ossl_ecdsa_sign_sig @ 0xd94dc8\n; > ossl_ecdsa_sign_sig @ 0xd94e68\n; > ossl_ecdsa_sign_sig @ 0xd95000\n; > ossl_ecdsa_verify_sig @ 0xd95518\n; > ossl_ecdsa_verify_sig @ 0xd955a0\n; > sub_D98060 @ 0xd98118\n; > ec_GFp_simple_set_compressed_coordinates @ 0xd98780\n; > ec_GFp_simple_is_at_infinity @ 0xd994c8\n; > ec_GFp_simple_group_check_discriminant @ 0xd995e0\n; > ec_GFp_simple_group_check_discriminant @ 0xd995ec\n; > ec_GFp_simple_group_check_discriminant @ 0xd9965c\n; > ec_GFp_simple_group_check_discriminant @ 0xd996f4\n; > ec_GFp_simple_add @ 0xd9a6d0\n; > ec_GFp_simple_add @ 0xd9a6dc\n; > ec_GFp_simple_invert @ 0xd9ab18\n; > ec_GFp_simple_points_make_affine @ 0xd9b064\n; > ec_GFp_simple_points_make_affine @ 0xd9b0dc\n; > ec_GFp_simple_points_make_affine @ 0xd9b1a4\n; > ec_GFp_simple_points_make_affine @ 0xd9b234\n; > ec_GFp_simple_points_make_affine @ 0xd9b25c\n; > sub_DD436C @ 0xdd46a4\n; > SRP_Verify_B_mod_N @ 0xddeca4\n; > s2i_ASN1_INTEGER @ 0xe039dc\n; > BN_to_ASN1_INTEGER @ 0xe0ab94\n; > BN_to_ASN1_INTEGER @ 0xe0ac00\n; > BN_to_ASN1_ENUMERATED @ 0xe0b098\n; > BN_to_ASN1_ENUMERATED @ 0xe0b104\n; > ASN1_bn_print @ 0xe0fb38\n; > BN_div @ 0xe15b84\n; > BN_div @ 0xe15c8c\n; > BN_div @ 0xe15f9c\n; > sub_E162E0 @ 0xe163d8\n; > BN_mod_exp_mont @ 0xe17094\n; > BN_mod_exp_simple @ 0xe17ba8\n; > BN_mod_exp2_mont @ 0xe18040\n; > BN_mod_exp2_mont @ 0xe180f0\n; > BN_gcd @ 0xe18600\n; > int_bn_mod_inverse @ 0xe188f4\n; > int_bn_mod_inverse @ 0xe18ab8\n; > int_bn_mod_inverse @ 0xe18d88\n; > bn_compute_wNAF @ 0xe19014\n; > BN_kronecker @ 0xe19500\n; > BN_kronecker @ 0xe195d4\n; > BN_rand_range @ 0xe1a2e8\n; > BN_pseudo_rand_range @ 0xe1a4a4\n; > BN_div_recp @ 0xe1ac38\n; > BN_mod_sqrt @ 0xe1ae0c\n; > BN_mod_sqrt @ 0xe1b254\n; > BN_mod_sqrt @ 0xe1b274\n; > BN_mod_sqrt @ 0xe1b298\n; > BN_mod_sqrt @ 0xe1b3f4\n; > ec_GF2m_simple_set_compressed_coordinates @ 0xe326fc\n; > ec_GF2m_simple_point2oct @ 0xe32a1c\n; > ec_GF2m_simple_is_at_infinity @ 0xe333c8\n; > ec_GF2m_simple_group_check_discriminant @ 0xe33440\n; > ec_GF2m_simple_is_on_curve @ 0xe33c70\n; > ec_GF2m_simple_add @ 0xe3406c\n; > ec_GF2m_simple_invert @ 0xe340d4\n; > BN_GF2m_mod_exp_arr @ 0xe75ab0\n; > BN_GF2m_mod_solve_quad_arr @ 0xe75d78\n; > BN_GF2m_mod_solve_quad_arr @ 0xe75fa8\n; > BN_GF2m_mod_solve_quad_arr @ 0xe75fbc\n; > BN_GF2m_poly2arr @ 0xe76018\n; > BN_GF2m_mod_inv @ 0xe76218\n; > BN_is_prime_fasttest_ex @ 0xe770cc\n; > DSA_generate_key @ 0xe7caf8\n; > sub_E7CC48 @ 0xe7cc94\n; > sub_E7CC48 @ 0xe7d1a8\n; > sub_E7CC48 @ 0xe7d1b4\n; > <???> @ 0xc53d0\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             W0, [X0,#8]                                            ; +0x0, 0xd7a6e8\nCMP             W0, WZR                                                ; +0x4, 0xd7a6ec\nCSET            W0, EQ                                                 ; +0x8, 0xd7a6f0\nRET                                                                    ; +0xc, 0xd7a6f4", "xrefs": ["tls_process_key_exchange @ 0xd4b9f8", "tls_process_key_exchange @ 0xd4ba04", "tls_process_key_exchange @ 0xd4bf68", "tls_process_client_key_exchange @ 0xd53238", "srp_verify_server_param @ 0xd5cb1c", "BN_num_bits @ 0xd7a70c", "BN_set_negative @ 0xd7a97c", "BN_MONT_CTX_set @ 0xd7bd54", "BN_MONT_CTX_set @ 0xd7be58", "BN_bn2hex @ 0xd7d938", "BN_bn2hex @ 0xd7d988", "BN_bn2dec @ 0xd7dd20", "BN_bn2dec @ 0xd7de1c", "BN_print @ 0xd7e354", "BN_rshift1 @ 0xd7e9a4", "BN_sub_word @ 0xd7f5d8", "BN_add_word @ 0xd7f6e0", "BN_add_word @ 0xd7f788", "sub_D87990 @ 0xd879f0", "sub_D89E18 @ 0xd89f3c", "sub_D89E18 @ 0xd89f90", "sub_D8A128 @ 0xd8a200", "sub_D8A128 @ 0xd8a2e4", "sub_D8A128 @ 0xd8a4d8", "sub_D8A128 @ 0xd8a4e4", "sub_D8A57C @ 0xd8a5d8", "EC_GROUP_new_from_ecparameters @ 0xd8dcf4", "EC_GROUP_new_from_ecparameters @ 0xd8e270", "ec_key_simple_generate_key @ 0xd8fe70", "ec_key_simple_check_key @ 0xd900dc", "EC_GROUP_get_order @ 0xd91114", "EC_GROUP_get_cofactor @ 0xd911a8", "ec_wNAF_precompute_mult @ 0xd9385c", "ossl_ecdsa_sign_setup @ 0xd946b8", "ossl_ecdsa_sign_setup @ 0xd94890", "ossl_ecdsa_sign_sig @ 0xd94c80", "ossl_ecdsa_sign_sig @ 0xd94dc8", "ossl_ecdsa_sign_sig @ 0xd94e68", "ossl_ecdsa_sign_sig @ 0xd95000", "ossl_ecdsa_verify_sig @ 0xd95518", "ossl_ecdsa_verify_sig @ 0xd955a0", "sub_D98060 @ 0xd98118", "ec_GFp_simple_set_compressed_coordinates @ 0xd98780", "ec_GFp_simple_is_at_infinity @ 0xd994c8", "ec_GFp_simple_group_check_discriminant @ 0xd995e0", "ec_GFp_simple_group_check_discriminant @ 0xd995ec", "ec_GFp_simple_group_check_discriminant @ 0xd9965c", "ec_GFp_simple_group_check_discriminant @ 0xd996f4", "ec_GFp_simple_add @ 0xd9a6d0", "ec_GFp_simple_add @ 0xd9a6dc", "ec_GFp_simple_invert @ 0xd9ab18", "ec_GFp_simple_points_make_affine @ 0xd9b064", "ec_GFp_simple_points_make_affine @ 0xd9b0dc", "ec_GFp_simple_points_make_affine @ 0xd9b1a4", "ec_GFp_simple_points_make_affine @ 0xd9b234", "ec_GFp_simple_points_make_affine @ 0xd9b25c", "sub_DD436C @ 0xdd46a4", "SRP_Verify_B_mod_N @ 0xddeca4", "s2i_ASN1_INTEGER @ 0xe039dc", "BN_to_ASN1_INTEGER @ 0xe0ab94", "BN_to_ASN1_INTEGER @ 0xe0ac00", "BN_to_ASN1_ENUMERATED @ 0xe0b098", "BN_to_ASN1_ENUMERATED @ 0xe0b104", "ASN1_bn_print @ 0xe0fb38", "BN_div @ 0xe15b84", "BN_div @ 0xe15c8c", "BN_div @ 0xe15f9c", "sub_E162E0 @ 0xe163d8", "BN_mod_exp_mont @ 0xe17094", "BN_mod_exp_simple @ 0xe17ba8", "BN_mod_exp2_mont @ 0xe18040", "BN_mod_exp2_mont @ 0xe180f0", "BN_gcd @ 0xe18600", "int_bn_mod_inverse @ 0xe188f4", "int_bn_mod_inverse @ 0xe18ab8", "int_bn_mod_inverse @ 0xe18d88", "bn_compute_wNAF @ 0xe19014", "BN_kronecker @ 0xe19500", "BN_kronecker @ 0xe195d4", "BN_rand_range @ 0xe1a2e8", "BN_pseudo_rand_range @ 0xe1a4a4", "BN_div_recp @ 0xe1ac38", "BN_mod_sqrt @ 0xe1ae0c", "BN_mod_sqrt @ 0xe1b254", "BN_mod_sqrt @ 0xe1b274", "BN_mod_sqrt @ 0xe1b298", "BN_mod_sqrt @ 0xe1b3f4", "ec_GF2m_simple_set_compressed_coordinates @ 0xe326fc", "ec_GF2m_simple_point2oct @ 0xe32a1c", "ec_GF2m_simple_is_at_infinity @ 0xe333c8", "ec_GF2m_simple_group_check_discriminant @ 0xe33440", "ec_GF2m_simple_is_on_curve @ 0xe33c70", "ec_GF2m_simple_add @ 0xe3406c", "ec_GF2m_simple_invert @ 0xe340d4", "BN_GF2m_mod_exp_arr @ 0xe75ab0", "BN_GF2m_mod_solve_quad_arr @ 0xe75d78", "BN_GF2m_mod_solve_quad_arr @ 0xe75fa8", "BN_GF2m_mod_solve_quad_arr @ 0xe75fbc", "BN_GF2m_poly2arr @ 0xe76018", "BN_GF2m_mod_inv @ 0xe76218", "BN_is_prime_fasttest_ex @ 0xe770cc", "DSA_generate_key @ 0xe7caf8", "sub_E7CC48 @ 0xe7cc94", "sub_E7CC48 @ 0xe7d1a8", "sub_E7CC48 @ 0xe7d1b4", "<???> @ 0xc53d0"], "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"}