// // ec_GF2m_simple_group_check_discriminant from 0xe333cc to 0xe33484 (184 bytes) // // 2 xrefs: // > @ 0x6c6d8 // > @ 0x1227180 // // 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 // bool __fastcall ec_GF2m_simple_group_check_discriminant(__int64 a1, int32x2_t *a2) { int32x2_t *v2; // x19 void **v4; // x20 __int64 v5; // x0 __int64 v6; // x22 _BOOL4 v7; // w21 v2 = a2; v4 = nullptr; if ( a2 || (v4 = (void **)BN_CTX_new(), (v2 = (int32x2_t *)v4) != nullptr) ) { BN_CTX_start((unsigned __int64)v2); v5 = BN_CTX_get(v2); v6 = v5; v7 = v5 && (unsigned int)BN_GF2m_mod_arr(v5, *(_QWORD *)(a1 + 104), a1 + 72) && !BN_is_zero(v6); BN_CTX_end((__int64)v2); } else { v7 = 0; ERR_put_error(16, 159, 65, (__int64)"crypto/ec/ec2_smpl.c", 259); } BN_CTX_free(v4); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source