//
// sub_100607174 from 0x100607174 to 0x100607310 (412 bytes)
//
// 4 xrefs:
// > sub_1005E49B8 @ 0x1005e4a7c
// > sub_1005F9900 @ 0x1005f9cec
// > sub_100605E48 @ 0x100605ef4
// > sub_10060BCC4 @ 0x10060be14
//
// 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_100607174(__int64 a1, _DWORD *a2)
{
const char *v3; // x21
__int64 v4; // x1
__int64 v5; // x2
__int64 v6; // x3
__int64 v7; // x4
__int64 v8; // x5
__int64 v9; // x6
__int64 v10; // x7
v3 = *(const char **)(a1 + 16);
if ( !v3 )
goto LABEL_14;
if ( !strcmp(*(const char **)(a1 + 16), "TRUE")
|| !strcmp(v3, "true")
|| !strcmp(v3, "Y")
|| !strcmp(v3, "y")
|| !strcmp(v3, "YES")
|| !strcmp(v3, "yes") )
{
*a2 = 255;
return 1;
}
else
{
if ( strcmp(v3, "FALSE")
&& strcmp(v3, "false")
&& strcmp(v3, "N")
&& strcmp(v3, "n")
&& strcmp(v3, "NO")
&& strcmp(v3, "no") )
{
LABEL_14:
sub_1005E0E48(34, 110, 104, (__int64)"v3_utl.c", 256);
sub_1005E19F0(6, v4, v5, v6, v7, v8, v9, v10, (char)"section:");
return 0;
}
*a2 = 0;
return 1;
}
}