// // X509V3_extensions_print from 0x859cd4 to 0x859e84 (432 bytes) // // 6 xrefs: // > OCSP_REQUEST_print @ 0x81f194 // > OCSP_REQUEST_print @ 0x81f1d4 // > OCSP_RESPONSE_print @ 0x81f538 // > OCSP_RESPONSE_print @ 0x81f704 // > X509_print_ex @ 0x83dc8c // > @ 0x64d2c // // 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 // int __fastcall X509V3_extensions_print(int a1, const char *a2, _DWORD *a3, int a4, int a5) { int v9; // r7 signed int v10; // r6 int v11; // r0 unsigned int v12; // r1 int v14; // r5 int object; // r0 int v16; // r2 int v17; // r3 _BOOL4 critical; // r0 char *v19; // r2 int *data; // r0 v9 = a5; if ( OPENSSL_sk_num((int)a3) > 0 ) { if ( a2 ) { BIO_printf(a1, "%*s%s:\n", a5, &byte_9B1912, a2); v9 = a5 + 4; } v10 = 0; while ( 1 ) { v11 = OPENSSL_sk_num((int)a3); v12 = v10; if ( v10++ >= v11 ) break; v14 = OPENSSL_sk_value(a3, v12); if ( !v9 || BIO_printf(a1, "%*s", v9, &byte_9B1912) > 0 ) { object = X509_EXTENSION_get_object(v14); i2a_ASN1_OBJECT(a1, object, v16, v17); critical = X509_EXTENSION_get_critical(v14); v19 = &byte_9B1912; if ( critical ) v19 = "critical"; if ( BIO_printf(a1, ": %s\n", v19) > 0 ) { if ( !X509V3_EXT_print(a1, v14, a4, v9 + 4) ) { BIO_printf(a1, "%*s", v9 + 4, &byte_9B1912); data = (int *)X509_EXTENSION_get_data(v14); ASN1_STRING_print(a1, data); } if ( BIO_write(a1, (int)"\n", 1) > 0 ) continue; } } return 0; } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source