// // BN_GF2m_mod_sqrt_arr from 0xade908 to 0xade9a4 (156 bytes) // // 3 xrefs: // > ec_GF2m_simple_set_compressed_coordinates @ 0xa9daec // > BN_GF2m_mod_sqrt @ 0xadf60c // > @ 0x842bc // // 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:09:33 +0000 // int __fastcall BN_GF2m_mod_sqrt_arr(int **a1, int **a2, int *a3, int ***a4) { int *v8; // r0 int *v9; // r8 int v10; // r4 if ( *a3 ) { BN_CTX_start((int)a4); v8 = (int *)BN_CTX_get(a4); v9 = v8; if ( v8 && BN_set_bit(v8, *a3 - 1) ) v10 = BN_GF2m_mod_exp_arr(a1, a2, v9, a3, a4); else v10 = 0; BN_CTX_end(a4); return v10; } else { BN_set_word(a1, 0); return 1; } }