// // X509at_add1_attr from 0xde5dc0 to 0xde5eb0 (240 bytes) // // 8 xrefs: // > EVP_PKEY_add1_attr @ 0xdaadd8 // > X509at_add1_attr_by_OBJ @ 0xde61f0 // > X509at_add1_attr_by_NID @ 0xde62c8 // > X509at_add1_attr_by_txt @ 0xde63bc // > X509_REQ_add1_attr @ 0xe6f398 // > CMS_signed_add1_attr @ 0xe7adbc // > CMS_unsigned_add1_attr @ 0xe7ae6c // > @ 0xbb320 // // 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 // void **__fastcall X509at_add1_attr(void ***a1, __int64 a2) { void **v3; // x19 __int64 v4; // x21 void **result; // x0 void **v6; // x0 __int64 v7; // [xsp+38h] [xbp+38h] if ( !a1 ) { v3 = nullptr; v4 = 0; ERR_put_error(11, 135, 67, (__int64)"crypto/x509/x509_att.c", 80); goto LABEL_11; } v3 = *a1; if ( !*a1 ) { v7 = a2; v6 = (void **)OPENSSL_sk_new_null(); a2 = v7; v3 = v6; if ( !v6 ) { v4 = 0; goto LABEL_10; } } v4 = X509_ATTRIBUTE_dup(a2); if ( !v4 ) { LABEL_11: X509_ATTRIBUTE_free(v4); OPENSSL_sk_free(v3); return nullptr; } if ( !(unsigned int)OPENSSL_sk_push((int *)v3, v4) ) { LABEL_10: ERR_put_error(11, 135, 65, (__int64)"crypto/x509/x509_att.c", 98); goto LABEL_11; } result = v3; if ( !*a1 ) *a1 = v3; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source