// // sub_1067F14 from 0x1067f14 to 0x1067ff0 (220 bytes) // // 1 xrefs: // > X509_STORE_CTX_set0_trusted_stack @ 0x106bbb8 // // 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:16:54 +0000 // int *__fastcall sub_1067F14(__int64 a1, __int64 a2) { int v4; // w19 int *v5; // x22 bool v6; // cc int v7; // w1 __int64 v8; // x21 __int64 subject_name; // x0 v4 = 0; v5 = nullptr; while ( 1 ) { v6 = v4 < (int)OPENSSL_sk_num(*(unsigned int **)(a1 + 40)); v7 = v4++; if ( !v6 ) break; while ( 1 ) { v8 = OPENSSL_sk_value(*(_QWORD *)(a1 + 40), v7); subject_name = X509_get_subject_name(v8); if ( (unsigned int)X509_NAME_cmp(a2, subject_name) ) break; if ( !v5 && (v5 = (int *)OPENSSL_sk_new_null()) == nullptr || !(unsigned int)OPENSSL_sk_push(v5, v8) ) { OPENSSL_sk_pop_free(v5, (void (__fastcall *)(__int64))X509_free); return nullptr; } X509_up_ref(v8); v6 = v4 < (int)OPENSSL_sk_num(*(unsigned int **)(a1 + 40)); v7 = v4++; if ( !v6 ) return v5; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source