// // BN_mod_mul_reciprocal from 0x1098f64 to 0x109902c (200 bytes) // // 6 xrefs: // > sub_10945E0 @ 0x1094720 // > sub_10945E0 @ 0x1094758 // > sub_10945E0 @ 0x1094810 // > sub_10945E0 @ 0x109483c // > sub_10945E0 @ 0x1094948 // > @ 0x579b8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:17:24 +0000 // __int64 __fastcall BN_mod_mul_reciprocal(__int64 a1, __int64 **a2, __int64 **a3, __int64 a4, int32x2_t *a5) { __int64 v8; // x0 __int64 v9; // x20 unsigned int v10; // w20 BN_CTX_start((unsigned __int64)a5); v8 = BN_CTX_get(a5); v9 = v8; if ( v8 ) { if ( !a3 ) { v9 = (__int64)a2; goto LABEL_5; } if ( a2 == a3 ) { if ( (unsigned int)BN_sqr(v8, a2, (__int64)a5) ) goto LABEL_5; } else if ( (unsigned int)BN_mul(v8, a2, a3, (__int64)a5) ) { LABEL_5: v10 = BN_div_recp(0, a1, v9, a4, a5); BN_CTX_end((__int64)a5); return v10; } } BN_CTX_end((__int64)a5); return 0; }