// // _CONF_get_string from 0xe230ec to 0xe2319c (176 bytes) // // 6 xrefs: // > NCONF_get_string @ 0xd81a2c // > sub_E23490 @ 0xe23748 // > sub_E23490 @ 0xe2383c // > sub_E23490 @ 0xe23970 // > sub_E23490 @ 0xe23990 // > @ 0x94968 // // 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 // char *__fastcall CONF_get_string(__int64 a1, const char *a2, char *a3) { __int64 v6; // x0 __int64 v7; // x0 char *result; // x0 __int64 v9; // x0 char *v10; // [xsp+38h] [xbp+38h] BYREF char *v11; // [xsp+40h] [xbp+40h] if ( !a3 ) return nullptr; if ( !a1 ) return getenv(a3); if ( !a2 ) goto LABEL_8; v6 = *(_QWORD *)(a1 + 16); v11 = a3; v10 = (char *)a2; v7 = OPENSSL_LH_retrieve(v6, (__int64)&v10); if ( v7 ) return *(char **)(v7 + 16); if ( strcmp(a2, "ENV") || (result = getenv(a3)) == nullptr ) { LABEL_8: v9 = *(_QWORD *)(a1 + 16); v11 = a3; v10 = "default"; v7 = OPENSSL_LH_retrieve(v9, (__int64)&v10); if ( v7 ) return *(char **)(v7 + 16); return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source