// // EC_GROUP_new_from_ecpkparameters from 0x100c730 to 0x100c848 (280 bytes) // // 3 xrefs: // > d2i_ECPKParameters @ 0x100c87c // > d2i_ECPrivateKey @ 0x100ca14 // > @ 0x51e68 // // 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:16:00 +0000 // __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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source