// // DSO_free from 0x7e2ff4 to 0x7e3124 (304 bytes) // // 12 xrefs: // > CONF_modules_load @ 0x7da7b4 // > CONF_modules_unload @ 0x7da9ec // > CONF_modules_unload @ 0x7daa6c // > DSO_new @ 0x7e31d8 // > DSO_load @ 0x7e3778 // > DSO_load @ 0x7e37dc // > sub_8B3024 @ 0x8b3040 // > sub_8B3090 @ 0x8b3310 // > sub_8B3090 @ 0x8b3730 // > sub_8B3090 @ 0x8b37c4 // > sub_8B3090 @ 0x8b3850 // > @ 0x6030c // // 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 // int __fastcall DSO_free(int *a1) { int v2; // r5 int v4; // r3 int (__fastcall *v5)(int *); // r2 int (__fastcall *v6)(int *); // r3 int v7; // [sp+Ch] [bp-8h] BYREF if ( !a1 ) return 1; if ( CRYPTO_atomic_add(a1 + 2, -1, &v7, a1[9]) > 0 ) { if ( v7 <= 0 ) { v4 = *a1; if ( (a1[3] & 4) == 0 ) { v5 = *(int (__fastcall **)(int *))(v4 + 8); if ( v5 ) { v2 = v5(a1); if ( !v2 ) { ERR_put_error(37, 111, 107, "crypto/dso/dso_lib.c", 78); return v2; } v4 = *a1; } } v6 = *(int (__fastcall **)(int *))(v4 + 32); if ( v6 ) { v2 = v6(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[7], "crypto/dso/dso_lib.c", 89); CRYPTO_free(a1[8], "crypto/dso/dso_lib.c", 90); CRYPTO_THREAD_lock_free(a1[9]); CRYPTO_free(a1, "crypto/dso/dso_lib.c", 92); } return 1; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source