// // X509_STORE_new from 0xa542f8 to 0xa543c8 (208 bytes) // // 7 xrefs: // > ssl_build_cert_chain @ 0x9a7268 // > SSL_CTX_new @ 0x9ad588 // > sub_9D0BF8 @ 0x9d0c58 // > sub_9D0F18 @ 0x9d0f80 // > sub_9D0FA0 @ 0x9d1008 // > sub_9D1028 @ 0x9d1088 // > @ 0x74f4c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:08:25 +0000 // _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_A53F4C); 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