//
// sub_D2071C from 0xd2071c to 0xd2080c (240 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_D2071C(__int64 a1, char *a2, __int64 a3)
{
__int64 result; // x0
*(_DWORD *)(a1 + 8) = a3 != 0;
*(_QWORD *)a1 = off_121EE60;
*(_QWORD *)(a1 + 16) = sub_CEA2B4();
*(_BYTE *)(a1 + 24) = 0;
sub_D210BC(a1);
*(_QWORD *)a1 = off_121EEE0;
result = strcmp(a2, "C");
if ( (_DWORD)result )
{
result = strcmp(a2, "POSIX");
if ( (_DWORD)result )
{
sub_D1F8A4((_QWORD *)(a1 + 16));
sub_D1F870((_QWORD *)(a1 + 16), a2);
return sub_D210BC(a1);
}
}
return result;
}