//
// sub_CFD188 from 0xcfd188 to 0xcfd26c (228 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
//
const char *__fastcall sub_CFD188(__int64 a1, __int64 a2, const char *a3, __int64 a4)
{
const char *v6; // x20
size_t v8; // x23
void *v9; // x0
*(_DWORD *)(a1 + 8) = a4 != 0;
*(_QWORD *)(a1 + 16) = 0;
*(_QWORD *)a1 = off_111EC00;
v6 = sub_CEA320();
if ( !strcmp(a3, v6) )
{
*(_QWORD *)(a1 + 32) = v6;
}
else
{
v8 = strlen(a3) + 1;
v9 = operator new[](v8);
*(_QWORD *)(a1 + 32) = memcpy(v9, a3, v8);
}
return sub_CFA73C(a1);
}