// // X509at_add1_attr from 0x83df80 to 0x83e05c (220 bytes) // // 8 xrefs: // > EVP_PKEY_add1_attr @ 0x803fc8 // > X509at_add1_attr_by_OBJ @ 0x83e378 // > X509at_add1_attr_by_NID @ 0x83e458 // > X509at_add1_attr_by_txt @ 0x83e54c // > X509_REQ_add1_attr @ 0x8c3664 // > CMS_signed_add1_attr @ 0x8cf104 // > CMS_unsigned_add1_attr @ 0x8cf1c4 // > @ 0x638fc // // 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, int a2) { void **v3; // r4 int v4; // r6 void **v6; // r0 int v7; // [sp+Ch] [bp-4h] if ( !a1 ) { v3 = nullptr; ERR_put_error(11, 135, 67, (int)"crypto/x509/x509_att.c", 80); v4 = 0; 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 ( !OPENSSL_sk_push((int *)v3, v4) ) { LABEL_10: ERR_put_error(11, 135, 65, (int)"crypto/x509/x509_att.c", 98); goto LABEL_11; } if ( !*a1 ) *a1 = v3; return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source