// // X509v3_add_ext from 0x1067b78 to 0x1067c88 (272 bytes) // // 9 xrefs: // > OCSP_REQUEST_add_ext @ 0x1042050 // > OCSP_ONEREQ_add_ext @ 0x10420b0 // > OCSP_BASICRESP_add_ext @ 0x1042110 // > OCSP_SINGLERESP_add_ext @ 0x1042170 // > X509_CRL_add_ext @ 0x10654b4 // > X509_add_ext @ 0x1065504 // > X509_REVOKED_add_ext @ 0x1065564 // > X509V3_EXT_add_nconf_sk @ 0x10796a4 // > @ 0xbf3b0 // // 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:54 +0000 // void **__fastcall X509v3_add_ext(void ***a1, __int64 a2, int a3) { void **v6; // x19 int v7; // w0 __int64 v8; // x22 void **result; // x0 if ( !a1 ) { v6 = nullptr; v8 = 0; ERR_put_error(11, 104, 67, (__int64)"crypto/x509/x509_v3.c", 104); goto LABEL_14; } v6 = *a1; if ( !*a1 ) { v6 = (void **)OPENSSL_sk_new_null(); if ( !v6 ) { v8 = 0; LABEL_13: ERR_put_error(11, 104, 65, (__int64)"crypto/x509/x509_v3.c", 128); LABEL_14: X509_EXTENSION_free(v8); OPENSSL_sk_free(v6); return nullptr; } } v7 = OPENSSL_sk_num((unsigned int *)v6); if ( v7 < a3 || a3 < 0 ) a3 = v7; v8 = X509_EXTENSION_dup(a2); if ( !v8 ) goto LABEL_14; if ( !(unsigned int)OPENSSL_sk_insert((int *)v6, v8, a3) ) goto LABEL_13; result = v6; if ( !*a1 ) *a1 = v6; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source