// // BN_mod_exp from 0xa82e88 to 0xa82f4c (196 bytes) // // 17 xrefs: // > sub_9F5DC4 @ 0x9f5f10 // > SRP_Calc_server_key @ 0xa4b5c0 // > SRP_Calc_server_key @ 0xa4b634 // > SRP_Calc_B @ 0xa4b6dc // > SRP_Calc_A @ 0xa4b9d8 // > SRP_Calc_client_key @ 0xa4baa0 // > SRP_Calc_client_key @ 0xa4bbc8 // > SRP_create_verifier_BN @ 0xa4ce6c // > BN_BLINDING_create_param @ 0xa8089c // > BN_mod_sqrt @ 0xa86528 // > BN_mod_sqrt @ 0xa866a0 // > BN_mod_sqrt @ 0xa86708 // > BN_mod_sqrt @ 0xa869b4 // > DH_check @ 0xa942e0 // > DH_check_pub_key @ 0xa94458 // > DSA_generate_key @ 0xae5f70 // > @ 0x7a7dc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:08:50 +0000 // 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); }