// // sub_88204C from 0x88204c to 0x882184 (312 bytes) // // 1 xrefs: // > @ 0xac12f4 // // 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 // void *__fastcall sub_88204C(int a1, const char *a2) { bool v2; // zf _DWORD *v5; // r4 int v6; // r0 void *v7; // r0 void *result; // r0 char *v9; // r0 v2 = a2 == nullptr; if ( a2 ) v2 = a1 == 0; if ( v2 ) { ERR_put_error(37, 100, 67, (int)"crypto/dso/dso_dlfcn.c", 164); return nullptr; } else if ( OPENSSL_sk_num(*(_DWORD *)(a1 + 4)) <= 0 ) { ERR_put_error(37, 100, 105, (int)"crypto/dso/dso_dlfcn.c", 168); return nullptr; } else { v5 = *(_DWORD **)(a1 + 4); v6 = OPENSSL_sk_num((int)v5); v7 = (void *)OPENSSL_sk_value(v5, v6 - 1); if ( v7 ) { result = dlsym(v7, a2); if ( !result ) { ERR_put_error(37, 100, 106, (int)"crypto/dso/dso_dlfcn.c", 178); v9 = dlerror(); ERR_add_error_data(4, "symname(", a2, "): ", v9); return nullptr; } } else { ERR_put_error(37, 100, 104, (int)"crypto/dso/dso_dlfcn.c", 173); return nullptr; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source