//
// sub_CFCD9C from 0xcfcd9c to 0xcfce7c (224 bytes)
//
// 0 xrefs:
//
// 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_CFCD9C(__int64 a1, char *a2, __int64 a3)
{
__int64 result; // x0
__int64 v6; // [xsp+38h] [xbp+38h] BYREF
*(_DWORD *)(a1 + 8) = a3 != 0;
*(_QWORD *)a1 = off_121E150;
*(_QWORD *)(a1 + 16) = 0;
sub_CED670(a1);
*(_QWORD *)a1 = off_111EAB0;
result = strcmp(a2, "C");
if ( (_DWORD)result )
{
result = strcmp(a2, "POSIX");
if ( (_DWORD)result )
{
sub_D1F870((int)&v6, a2);
sub_CED670(a1);
return sub_D1F8A4(&v6);
}
}
return result;
}