// // BN_from_montgomery from 0x7d5638 to 0x7d56a0 (104 bytes) // // 6 xrefs: // > ec_GFp_mont_field_decode @ 0x7efe64 // > BN_mod_exp_mont_consttime @ 0x86d75c // > BN_mod_exp_mont @ 0x86dcf8 // > BN_mod_exp_mont_word @ 0x86e118 // > BN_mod_exp2_mont @ 0x86ef00 // > @ 0x5fd6c // // 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_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_7D52C4(a1, v9, a3); else v10 = 0; BN_CTX_end(a4); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source