// // ec_GF2m_simple_make_affine from 0x10b1d18 to 0x10b1e2c (276 bytes) // // 2 xrefs: // > @ 0xae250 // > @ 0x153efa0 // // 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:17:43 +0000 // __int64 __fastcall ec_GF2m_simple_make_affine(__int64 a1, __int64 a2, int32x2_t *a3) { unsigned int v6; // w19 void **v8; // x23 __int64 v9; // x24 __int64 v10; // x19 int32x2_t *v11; // x0 if ( *(_DWORD *)(a2 + 32) ) return 1; v6 = EC_POINT_is_at_infinity(a1, (_QWORD *)a2); if ( v6 ) return 1; v8 = nullptr; if ( !a3 ) { v11 = (int32x2_t *)BN_CTX_new(); v8 = (void **)v11; if ( v11 ) { a3 = v11; goto LABEL_6; } return v6; } LABEL_6: BN_CTX_start((unsigned __int64)a3); v9 = BN_CTX_get(a3); v10 = BN_CTX_get(a3); if ( v10 ) { if ( (unsigned int)EC_POINT_get_affine_coordinates_GF2m(a1, (_QWORD *)a2) && BN_copy(*(unsigned __int64 **)(a2 + 8), v9) && BN_copy(*(unsigned __int64 **)(a2 + 16), v10) && (unsigned int)BN_set_word(*(_QWORD *)(a2 + 24), 1) ) { LODWORD(v10) = 1; *(_DWORD *)(a2 + 32) = 1; } else { LODWORD(v10) = 0; } } BN_CTX_end((__int64)a3); BN_CTX_free(v8); return (unsigned int)v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source