// // DSO_new from 0x1008cb4 to 0x1008dfc (328 bytes) // // 2 xrefs: // > sub_10DB098 @ 0x10db314 // > @ 0x8eea0 // // 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:15:58 +0000 // __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_15663D8 ) qword_15663D8 = 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_15663D8; *((_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