// // X509_PURPOSE_get_by_id from 0x85a68c to 0x85a6e4 (88 bytes) // // 7 xrefs: // > X509_STORE_CTX_purpose_inherit @ 0x845964 // > X509_STORE_CTX_purpose_inherit @ 0x845a1c // > X509_STORE_CTX_init @ 0x845fa4 // > X509_PURPOSE_set @ 0x85a6fc // > X509_PURPOSE_add @ 0x85a75c // > X509_check_purpose @ 0x85b1dc // > @ 0x6779c // // 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_PURPOSE_get_by_id(int a1) { int v1; // r0 int v3; // [sp+4h] [bp-24h] BYREF if ( (unsigned int)(a1 - 1) <= 8 ) return a1 - 1; v3 = a1; if ( !dword_AD4854 ) return -1; v1 = OPENSSL_sk_find(dword_AD4854, (int)&v3); if ( v1 == -1 ) return -1; else return v1 + 9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source