// // BN_GF2m_mod_sqrt_arr from 0xe75be4 to 0xe75c9c (184 bytes) // // 3 xrefs: // > ec_GF2m_simple_set_compressed_coordinates @ 0xe32714 // > BN_GF2m_mod_sqrt @ 0xe76aa4 // > @ 0x369f0 // // 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 // __int64 __fastcall BN_GF2m_mod_sqrt_arr(unsigned __int64 *a1, __int64 *a2, int *a3, int32x2_t *a4) { __int64 v8; // x0 __int64 v9; // x21 unsigned int v10; // w19 if ( *a3 ) { BN_CTX_start((unsigned __int64)a4); v8 = BN_CTX_get(a4); v9 = v8; if ( v8 && (unsigned int)BN_set_bit(v8, *a3 - 1) ) v10 = (unsigned int)BN_GF2m_mod_exp_arr(a1, a2, v9, a3, a4); else v10 = 0; BN_CTX_end((__int64)a4); return v10; } else { BN_set_word((__int64)a1, 0); return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source