// // X509v3_add_ext from 0x8418f4 to 0x8419f0 (252 bytes) // // 9 xrefs: // > OCSP_REQUEST_add_ext @ 0x81e154 // > OCSP_ONEREQ_add_ext @ 0x81e1ac // > OCSP_BASICRESP_add_ext @ 0x81e204 // > OCSP_SINGLERESP_add_ext @ 0x81e25c // > X509_CRL_add_ext @ 0x83f28c // > X509_add_ext @ 0x83f2d4 // > X509_REVOKED_add_ext @ 0x83f32c // > X509V3_EXT_add_nconf_sk @ 0x854294 // > @ 0x649ec // // 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 X509v3_add_ext(void ***a1, int a2, unsigned int a3) { void **v4; // r4 int v7; // r3 int v8; // r7 if ( !a1 ) { v4 = nullptr; ERR_put_error(11, 104, 67, (int)"crypto/x509/x509_v3.c", 104); v8 = 0; goto LABEL_13; } v4 = *a1; if ( !*a1 ) { v4 = (void **)OPENSSL_sk_new_null(); if ( !v4 ) { v8 = 0; LABEL_12: ERR_put_error(11, 104, 65, (int)"crypto/x509/x509_v3.c", 128); LABEL_13: X509_EXTENSION_free(v8); OPENSSL_sk_free(v4); return nullptr; } } v7 = OPENSSL_sk_num((int)v4); if ( (v7 < (int)a3) | (a3 >> 31) ) a3 = v7; v8 = X509_EXTENSION_dup(a2); if ( !v8 ) goto LABEL_13; if ( !OPENSSL_sk_insert((int *)v4, v8, a3) ) goto LABEL_12; if ( !*a1 ) *a1 = v4; return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source