// // DSO_set_filename from 0x7e34f4 to 0x7e35dc (232 bytes) // // 2 xrefs: // > DSO_load @ 0x7e3654 // > @ 0x6101c // // 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_set_filename(int a1, int a2) { bool v2; // zf int v5; // r6 v2 = a2 == 0; if ( a2 ) v2 = a1 == 0; if ( v2 ) { ERR_put_error(37, 129, 67, "crypto/dso/dso_lib.c", 244); return 0; } else if ( *(_DWORD *)(a1 + 32) ) { ERR_put_error(37, 129, 110, "crypto/dso/dso_lib.c", 248); return 0; } else { v5 = CRYPTO_strdup(a2, "crypto/dso/dso_lib.c", 252); if ( v5 ) { CRYPTO_free(*(_DWORD *)(a1 + 28), "crypto/dso/dso_lib.c", 257); *(_DWORD *)(a1 + 28) = v5; return 1; } else { ERR_put_error(37, 129, 65, "crypto/dso/dso_lib.c", 254); return 0; } } }