// // DSO_free from 0x1008b64 to 0x1008cb4 (336 bytes) // // 12 xrefs: // > CONF_modules_load @ 0x1000410 // > CONF_modules_unload @ 0x10007c8 // > CONF_modules_unload @ 0x1000838 // > DSO_new @ 0x1008d54 // > DSO_load @ 0x1009294 // > DSO_load @ 0x1009314 // > sub_10DB020 @ 0x10db040 // > sub_10DB098 @ 0x10db3d0 // > sub_10DB098 @ 0x10db6e4 // > sub_10DB098 @ 0x10db728 // > sub_10DB098 @ 0x10db7e8 // > @ 0xf03d0 // // 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 __fastcall DSO_free(__int64 *a1) { unsigned int v2; // w20 __int64 v4; // x0 __int64 (__fastcall *v5)(__int64 *); // x1 __int64 (__fastcall *v6)(__int64 *); // x1 int v7; // [xsp+3Ch] [xbp+3Ch] BYREF if ( !a1 ) return 1; if ( (int)CRYPTO_atomic_add(a1 + 2, 0xFFFFFFFFLL, &v7, a1[8]) <= 0 ) return 0; if ( v7 > 0 ) return 1; if ( (*((_DWORD *)a1 + 5) & 4) != 0 ) goto LABEL_7; v4 = *a1; v6 = *(__int64 (__fastcall **)(__int64 *))(*a1 + 16); if ( v6 ) { v2 = v6(a1); if ( !v2 ) { ERR_put_error(37, 111, 107, "crypto/dso/dso_lib.c", 78); return v2; } LABEL_7: v4 = *a1; } v5 = *(__int64 (__fastcall **)(__int64 *))(v4 + 64); if ( v5 ) { v2 = v5(a1); if ( !v2 ) { ERR_put_error(37, 111, 102, "crypto/dso/dso_lib.c", 84); return v2; } } OPENSSL_sk_free(a1[1]); CRYPTO_free(a1[6], "crypto/dso/dso_lib.c", 89); CRYPTO_free(a1[7], "crypto/dso/dso_lib.c", 90); CRYPTO_THREAD_lock_free(a1[8]); CRYPTO_free(a1, "crypto/dso/dso_lib.c", 92); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source