// // DSO_new from 0xd8a954 to 0xd8aa9c (328 bytes) // // 2 xrefs: // > sub_E5D098 @ 0xe5d314 // > @ 0x69948 // // 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 // __int64 *DSO_new() { __int64 v0; // x0 __int64 *v1; // x19 __int64 v2; // x0 __int64 v3; // x0 unsigned int (__fastcall *v4)(__int64 *); // x1 __int64 *v6; // x0 __int64 *v7; // x0 if ( !qword_125D5D8 ) qword_125D5D8 = DSO_METHOD_openssl(); v0 = CRYPTO_zalloc(72, "crypto/dso/dso_lib.c", 26); v1 = (__int64 *)v0; if ( !v0 ) { ERR_put_error(37, 113, 65, "crypto/dso/dso_lib.c", 28); return v1; } v2 = OPENSSL_sk_new_null(v0); v1[1] = v2; if ( !v2 ) { ERR_put_error(37, 113, 65, "crypto/dso/dso_lib.c", 34); v6 = v1; v1 = nullptr; CRYPTO_free(v6, "crypto/dso/dso_lib.c", 35); return v1; } *v1 = qword_125D5D8; *((_DWORD *)v1 + 4) = 1; v3 = CRYPTO_THREAD_lock_new(1); v1[8] = v3; if ( !v3 ) { ERR_put_error(37, 113, 65, "crypto/dso/dso_lib.c", 42); OPENSSL_sk_free(v1[1]); v7 = v1; v1 = nullptr; CRYPTO_free(v7, "crypto/dso/dso_lib.c", 44); return v1; } v4 = *(unsigned int (__fastcall **)(__int64 *))(*v1 + 56); if ( !v4 || v4(v1) ) return v1; DSO_free(v1); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source