// // X509v3_get_ext_by_critical from 0x8417d8 to 0x84186c (148 bytes) // // 8 xrefs: // > OCSP_REQUEST_get_ext_by_critical @ 0x81e128 // > OCSP_ONEREQ_get_ext_by_critical @ 0x81e180 // > OCSP_BASICRESP_get_ext_by_critical @ 0x81e1d8 // > OCSP_SINGLERESP_get_ext_by_critical @ 0x81e230 // > X509_CRL_get_ext_by_critical @ 0x83f260 // > X509_get_ext_by_critical @ 0x83f2b8 // > X509_REVOKED_get_ext_by_critical @ 0x83f310 // > @ 0x6494c // // 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_get_ext_by_critical(_DWORD *a1, int a2, int a3) { signed int v5; // r4 int v6; // r7 if ( !a1 ) return -1; v5 = (a3 + 1) & ~((a3 + 1) >> 31); v6 = OPENSSL_sk_num((int)a1); if ( v6 <= v5 ) return -1; if ( a2 ) { while ( *(int *)(OPENSSL_sk_value(a1, v5) + 4) <= 0 ) { if ( ++v5 == v6 ) return -1; } } else { while ( *(int *)(OPENSSL_sk_value(a1, v5) + 4) > 0 ) { if ( ++v5 == v6 ) return -1; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source