// // d2i_ECParameters from 0x7e7a08 to 0x7e7b54 (332 bytes) // // 3 xrefs: // > sub_7E3C64 @ 0x7e3d20 // > sub_7E4B4C @ 0x7e4b5c // > @ 0x610dc // // 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 // int __fastcall d2i_ECParameters(int *a1, unsigned __int8 **a2, int a3) { int v6; // r4 int v8; // r0 if ( a2 && *a2 ) { if ( a1 ) { v6 = *a1; if ( *a1 ) { if ( d2i_ECPKParameters((int *)(v6 + 12), a2, a3) ) { LABEL_6: *a1 = v6; return v6; } ERR_put_error(16, 144, 16, "crypto/ec/ec_asn1.c", 1093); goto LABEL_13; } } v8 = EC_KEY_new(); v6 = v8; if ( v8 ) { if ( !d2i_ECPKParameters((int *)(v8 + 12), a2, a3) ) { ERR_put_error(16, 144, 16, "crypto/ec/ec_asn1.c", 1093); if ( !a1 ) { LABEL_15: EC_KEY_free(v6); return 0; } LABEL_13: if ( *a1 == v6 ) return 0; goto LABEL_15; } if ( a1 ) goto LABEL_6; return v6; } else { ERR_put_error(16, 144, 65, "crypto/ec/ec_asn1.c", 1086); return 0; } } else { ERR_put_error(16, 144, 67, "crypto/ec/ec_asn1.c", 1080); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source