// // CONF_modules_load_file from 0xd82738 to 0xd82834 (252 bytes) // // 3 xrefs: // > sub_BB8CB8 @ 0xbb8cd4 // > openssl_config_int @ 0xe24534 // > @ 0x96768 // // 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 CONF_modules_load_file(__int64 a1, char *a2, char a3) { __int64 v6; // x19 __int64 v7; // x20 __int64 v8; // x0 __int64 v9; // x1 __int64 v10; // x2 unsigned int v11; // w22 __int64 v13; // x0 v6 = NCONF_new(0); if ( v6 ) { v7 = a1; if ( !a1 ) { v7 = CONF_get1_default_config_file(); if ( !v7 ) { v11 = 0; goto LABEL_13; } } v8 = NCONF_load(v6); if ( (int)v8 <= 0 ) { v11 = 0; if ( (a3 & 0x10) != 0 ) { v13 = ERR_peek_last_error(v8, v9, v10) & 0xFFF; if ( (_DWORD)v13 == 114 ) { ERR_clear_error(v13); v11 = 1; } } } else { v11 = CONF_modules_load(v6, a2, a3); } } else { v11 = 0; v7 = 0; } if ( a1 ) { NCONF_free(v6); return v11; } LABEL_13: CRYPTO_free(v7, "crypto/conf/conf_mod.c", 142); NCONF_free(v6); return v11; }