//
// _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 (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:54:59 +0000
//
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;
}