// // X509_PURPOSE_get_by_id from 0x107f164 to 0x107f1b8 (84 bytes) // // 7 xrefs: // > X509_STORE_CTX_purpose_inherit @ 0x106b9d8 // > X509_STORE_CTX_purpose_inherit @ 0x106ba9c // > X509_STORE_CTX_init @ 0x106bf94 // > X509_PURPOSE_set @ 0x107f1d0 // > X509_PURPOSE_add @ 0x107f250 // > X509_check_purpose @ 0x107fca8 // > @ 0x452c8 // // 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:09 +0000 // __int64 __fastcall X509_PURPOSE_get_by_id(int a1) { int v1; // w0 int v3; // [xsp+10h] [xbp+10h] BYREF if ( (unsigned int)(a1 - 1) <= 8 ) return (unsigned int)(a1 - 1); v3 = a1; if ( !qword_1568530 ) return 0xFFFFFFFFLL; v1 = OPENSSL_sk_find(qword_1568530, (__int64)&v3); if ( v1 == -1 ) return 0xFFFFFFFFLL; else return (unsigned int)(v1 + 9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source