// // X509_STORE_new from 0x10659c8 to 0x1065a9c (212 bytes) // // 7 xrefs: // > ssl_build_cert_chain @ 0xfb9b90 // > SSL_CTX_new @ 0xfbf868 // > sub_FE0894 @ 0xfe08e8 // > sub_FE0B7C @ 0xfe0bd8 // > sub_FE0BF4 @ 0xfe0c50 // > sub_FE0C6C @ 0xfe0cc0 // > @ 0xdba00 // // 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:53 +0000 // void *X509_STORE_new() { void *result; // x0 __int64 v1; // x19 _QWORD *v2; // x0 _QWORD *v3; // x0 __int64 v4; // x0 pthread_rwlock_t *v5; // x0 result = CRYPTO_zalloc(&qword_98, (__int64)"crypto/x509/x509_lu.c", 146); v1 = (__int64)result; if ( result ) { v2 = OPENSSL_sk_new((__int64)sub_1065588); *(_QWORD *)(v1 + 8) = v2; if ( v2 ) { *(_DWORD *)v1 = 1; v3 = OPENSSL_sk_new_null(); *(_QWORD *)(v1 + 16) = v3; if ( v3 ) { v4 = X509_VERIFY_PARAM_new(); *(_QWORD *)(v1 + 24) = v4; if ( !v4 ) { LABEL_10: X509_VERIFY_PARAM_free(v4); OPENSSL_sk_free(*(void ***)(v1 + 8)); OPENSSL_sk_free(*(void ***)(v1 + 16)); CRYPTO_free((void *)v1, (__int64)"crypto/x509/x509_lu.c", 171); return nullptr; } if ( (unsigned int)CRYPTO_new_ex_data(4u, v1, (_QWORD *)(v1 + 128)) ) { v5 = CRYPTO_THREAD_lock_new(); *(_QWORD *)(v1 + 144) = v5; if ( v5 ) { *(_DWORD *)(v1 + 136) = 1; return (void *)v1; } } } } v4 = *(_QWORD *)(v1 + 24); goto LABEL_10; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source