// // EC_GROUP_new_from_ecpkparameters from 0xd8e3d0 to 0xd8e4e8 (280 bytes) // // 3 xrefs: // > d2i_ECPKParameters @ 0xd8e51c // > d2i_ECPrivateKey @ 0xd8e6b4 // > @ 0x381f0 // // 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 EC_GROUP_new_from_ecpkparameters(int *a1) { int v2; // w0 __int64 v3; // x19 __int64 v5; // x0 __int64 v6; // x0 __int64 v7; // x19 __int64 v8; // x0 if ( !a1 ) { v3 = 0; ERR_put_error(16, 264, 124, "crypto/ec/ec_asn1.c", 836); return v3; } v2 = *a1; if ( v2 ) { if ( v2 == 1 ) { v8 = EC_GROUP_new_from_ecparameters(*((_QWORD **)a1 + 1)); if ( v8 ) { v3 = v8; EC_GROUP_set_asn1_flag(v8, 0); } else { v3 = 0; ERR_put_error(16, 264, 16, "crypto/ec/ec_asn1.c", 852); } } else { v3 = 0; if ( v2 != 2 ) ERR_put_error(16, 264, 115, "crypto/ec/ec_asn1.c", 859); } return v3; } v5 = OBJ_obj2nid(*((_QWORD *)a1 + 1)); v6 = EC_GROUP_new_by_curve_name(v5); if ( !v6 ) { v3 = 0; ERR_put_error(16, 264, 119, "crypto/ec/ec_asn1.c", 844); return v3; } v7 = v6; EC_GROUP_set_asn1_flag(v6, 1); return v7; }