// // X509_STORE_new from 0x83f6f8 to 0x83f7c8 (208 bytes) // // 7 xrefs: // > ssl_build_cert_chain @ 0x792664 // > SSL_CTX_new @ 0x798984 // > sub_7BBFF4 @ 0x7bc054 // > sub_7BC314 @ 0x7bc37c // > sub_7BC39C @ 0x7bc404 // > sub_7BC424 @ 0x7bc484 // > @ 0x5b4cc // // 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 // _DWORD *X509_STORE_new() { _DWORD *v0; // r4 _DWORD *v1; // r0 _DWORD *v2; // r0 int v3; // r0 pthread_rwlock_t *v4; // r0 v0 = CRYPTO_zalloc(&dword_4C, (int)"crypto/x509/x509_lu.c", 146); if ( v0 ) { v1 = OPENSSL_sk_new((int)sub_83F34C); v0[1] = v1; if ( v1 ) { *v0 = 1; v2 = OPENSSL_sk_new_null(); v0[2] = v2; if ( v2 ) { v3 = X509_VERIFY_PARAM_new(v2); v0[3] = v3; if ( !v3 ) { LABEL_9: X509_VERIFY_PARAM_free(v3); OPENSSL_sk_free((void **)v0[1]); OPENSSL_sk_free((void **)v0[2]); CRYPTO_free(v0, (int)"crypto/x509/x509_lu.c", 171); return nullptr; } if ( CRYPTO_new_ex_data(4u, (int)v0, v0 + 16) ) { v4 = CRYPTO_THREAD_lock_new(); v0[18] = v4; if ( v4 ) { v0[17] = 1; return v0; } } } } v3 = v0[3]; goto LABEL_9; } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source