//
// _wcsnicoll from 0x18013440c to 0x18013445b (79 bytes)
//
// 3 xrefs:
// > common_getenv_nolock @ 0x180128e12
// > common_set_variable_in_environment_nolock @ 0x18013b224
// > ??> @ 0x18020323c
//
// 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
//
int __cdecl wcsnicoll(const wchar_t *String1, const wchar_t *String2, size_t MaxCount)
{
if ( dword_1801F5150 )
return wcsnicoll_l(String1, String2, MaxCount, nullptr);
if ( String1 && String2 && MaxCount <= 0x7FFFFFFF )
return _ascii_wcsnicmp();
*errno() = 22;
invalid_parameter_noinfo();
return 0x7FFFFFFF;
}