//
// sub_10061313C from 0x10061313c to 0x1006131f0 (180 bytes)
//
// 1 xrefs:
// > sub_100613058 @ 0x100613090
//
// 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
//
_BYTE *sub_10061313C()
{
char *v0; // x0
const char *v2; // x0
unsigned int v3; // w20
_BYTE *v4; // x19
char *v5; // x0
v0 = getenv("OPENSSL_CONF");
if ( v0 )
return sub_1005DA128(v0);
v2 = sub_1005FEBCC();
v3 = (((unsigned __int64)&_mh_execute_header + (strlen(v2) << 32)) >> 32) + 12;
v4 = sub_100588710(v3, (__int64)"conf_mod.c", 539);
if ( !v4 )
return nullptr;
v5 = (char *)sub_1005FEBCC();
sub_1005DA340(v4, v5, (int)v3);
sub_1005DA3A8((__int64)v4, "/", (int)v3);
sub_1005DA3A8((__int64)v4, "openssl.cnf", (int)v3);
return v4;
}