// // BN_mod_exp from 0x86e288 to 0x86e34c (196 bytes) // // 17 xrefs: // > sub_7E11C4 @ 0x7e1310 // > SRP_Calc_server_key @ 0x8369c0 // > SRP_Calc_server_key @ 0x836a34 // > SRP_Calc_B @ 0x836adc // > SRP_Calc_A @ 0x836dd8 // > SRP_Calc_client_key @ 0x836ea0 // > SRP_Calc_client_key @ 0x836fc8 // > SRP_create_verifier_BN @ 0x83826c // > BN_BLINDING_create_param @ 0x86bc9c // > BN_mod_sqrt @ 0x871928 // > BN_mod_sqrt @ 0x871aa0 // > BN_mod_sqrt @ 0x871b08 // > BN_mod_sqrt @ 0x871db4 // > DH_check @ 0x87f6e0 // > DH_check_pub_key @ 0x87f858 // > DSA_generate_key @ 0x8d0f70 // > @ 0x60d5c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall BN_mod_exp(int **a1, int *a2, _DWORD *a3, int a4, int ***a5) { if ( !BN_is_odd(a4) ) return BN_mod_exp_recp(a1, (int)a2, a3, a4, a5); if ( a2[1] != 1 || a2[3] || BN_get_flags((int)a3, 4) ) return BN_mod_exp_mont((int *)a1, a2, a3, a4, a5, nullptr); return BN_mod_exp_mont_word((int *)a1, *(_DWORD *)*a2, a3, a4, a5, nullptr); }