// // X509V3_EXT_add_nconf_sk from 0x1079654 to 0x107978c (312 bytes) // // 5 xrefs: // > X509V3_EXT_add_nconf @ 0x1079798 // > X509V3_EXT_CRL_add_nconf @ 0x10797a8 // > X509V3_EXT_REQ_add_nconf @ 0x10797c8 // > X509V3_EXT_REQ_add_nconf @ 0x1079818 // > @ 0x47c50 // // 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:17:05 +0000 // __int64 __fastcall X509V3_EXT_add_nconf_sk(__int64 a1, _DWORD *a2, __int64 a3, void ***a4) { int v7; // w21 unsigned int *section; // x24 __int64 v9; // x0 __int64 *v10; // x0 __int64 v11; // x22 void **v12; // x20 __int64 object; // x27 __int64 ext; // x23 int ext_by_OBJ; // w19 v7 = 0; section = (unsigned int *)NCONF_get_section(a1, a3); if ( !section ) return 0; while ( v7 < (int)OPENSSL_sk_num(section) ) { v9 = OPENSSL_sk_value((__int64)section, v7); v10 = X509V3_EXT_nconf(a1, (__int64)a2, *(_QWORD *)(v9 + 8), *(char **)(v9 + 16)); v11 = (__int64)v10; if ( !v10 ) return 0; if ( *a2 == 2 ) { v12 = *a4; object = X509_EXTENSION_get_object((__int64)v10); while ( 1 ) { ext_by_OBJ = X509v3_get_ext_by_OBJ((unsigned int *)v12, object, -1); if ( ext_by_OBJ < 0 ) break; ext = X509v3_get_ext((unsigned int *)v12, ext_by_OBJ); X509v3_delete_ext((int *)v12, ext_by_OBJ); X509_EXTENSION_free(ext); } } else if ( !a4 ) { goto LABEL_5; } X509v3_add_ext(a4, v11, -1); LABEL_5: ++v7; X509_EXTENSION_free(v11); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source