// // BN_from_montgomery from 0x9ea238 to 0x9ea2a0 (104 bytes) // // 6 xrefs: // > ec_GFp_mont_field_decode @ 0xa04a64 // > BN_mod_exp_mont_consttime @ 0xa8235c // > BN_mod_exp_mont @ 0xa828f8 // > BN_mod_exp_mont_word @ 0xa82d18 // > BN_mod_exp2_mont @ 0xa83b00 // > @ 0x797ec // // 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:07:26 +0000 // int __fastcall BN_from_montgomery(int *a1, int a2, _DWORD *a3, int a4) { int v8; // r0 _DWORD *v9; // r7 int v10; // r5 BN_CTX_start(a4); v8 = BN_CTX_get(a4); v9 = (_DWORD *)v8; if ( v8 && BN_copy(v8, a2) ) v10 = sub_9E9EC4(a1, v9, a3); else v10 = 0; BN_CTX_end(a4); return v10; }