// // BN_GF2m_mod_sqrt_arr from 0x10f3be4 to 0x10f3c9c (184 bytes) // // 3 xrefs: // > ec_GF2m_simple_set_compressed_coordinates @ 0x10b0a14 // > BN_GF2m_mod_sqrt @ 0x10f4aa4 // > @ 0x4ff18 // // 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:18:09 +0000 // __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