// // sub_E2C49C from 0xe2c49c to 0xe2c5d4 (312 bytes) // // 1 xrefs: // > @ 0x1239928 // // 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 __fastcall sub_E2C49C(__int64 a1) { const char *v2; // x0 char *v3; // x19 void *v4; // x21 char *v6; // x0 v2 = (const char *)DSO_convert_filename(a1, 0); v3 = (char *)v2; if ( !v2 ) { ERR_put_error(37, 102, 111, (__int64)"crypto/dso/dso_dlfcn.c", 104); LABEL_7: CRYPTO_free(v3, (__int64)"crypto/dso/dso_dlfcn.c", 126); return 0; } v4 = dlopen(v2, 2); if ( !v4 ) { ERR_put_error(37, 102, 103, (__int64)"crypto/dso/dso_dlfcn.c", 113); v6 = dlerror(); ERR_add_error_data(4, "filename(", v3, "): ", v6); goto LABEL_7; } if ( (unsigned int)OPENSSL_sk_push(*(int **)(a1 + 8), (__int64)v4) ) { *(_QWORD *)(a1 + 56) = v3; return 1; } else { ERR_put_error(37, 102, 105, (__int64)"crypto/dso/dso_dlfcn.c", 118); CRYPTO_free(v3, (__int64)"crypto/dso/dso_dlfcn.c", 126); dlclose(v4); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source