// // X509at_add1_attr from 0x1064100 to 0x10641f0 (240 bytes) // // 8 xrefs: // > EVP_PKEY_add1_attr @ 0x1029138 // > X509at_add1_attr_by_OBJ @ 0x1064530 // > X509at_add1_attr_by_NID @ 0x1064608 // > X509at_add1_attr_by_txt @ 0x10646fc // > X509_REQ_add1_attr @ 0x10ed398 // > CMS_signed_add1_attr @ 0x10f8dbc // > CMS_unsigned_add1_attr @ 0x10f8e6c // > @ 0xf4258 // // 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:52 +0000 // 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