// // X509_get1_ocsp from 0x85db9c to 0x85dcbc (288 bytes) // // 1 xrefs: // > @ 0x697dc // // 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 X509_get1_ocsp(int a1) { _DWORD *ext_d2i; // r6 int *v2; // r7 signed int i; // r4 int *v4; // r5 _DWORD *v5; // r3 _DWORD *v6; // r5 int v7; // r1 void *v8; // r1 ext_d2i = (_DWORD *)X509_get_ext_d2i(a1); if ( !ext_d2i ) return nullptr; v2 = nullptr; for ( i = 0; i < OPENSSL_sk_num((int)ext_d2i); ++i ) { v4 = (int *)OPENSSL_sk_value(ext_d2i, i); if ( OBJ_obj2nid(*v4) == (_BYTE *)&dword_B0 + 2 ) { v5 = (_DWORD *)v4[1]; if ( *v5 == 6 ) { v6 = (_DWORD *)v5[1]; if ( v6[1] == 22 ) { v7 = v6[2]; if ( v7 ) { if ( *v6 ) { if ( !v2 ) { v2 = OPENSSL_sk_new((int)sub_85C180); if ( !v2 ) goto LABEL_15; v7 = v6[2]; } if ( OPENSSL_sk_find((int)v2, v7) == -1 ) { v8 = CRYPTO_strdup((const char *)v6[2], (int)"crypto/x509v3/v3_utl.c", 470); if ( !v8 || !OPENSSL_sk_push(v2, (int)v8) ) { X509_email_free((int)v2); LABEL_15: v2 = nullptr; break; } } } } } } } } AUTHORITY_INFO_ACCESS_free(ext_d2i); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source