//
// _strnicmp from 0x18013b9d8 to 0x18013ba27 (79 bytes)
//
// 2 xrefs:
// > _strnicoll @ 0x180134553
// > ??> @ 0x18020395c
//
// 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 strnicmp(const char *String1, const char *String2, size_t MaxCount)
{
if ( dword_1801F5150 )
return strnicmp_l(String1, String2, MaxCount, nullptr);
if ( String1 && String2 && MaxCount <= 0x7FFFFFFF )
return _ascii_strnicmp((unsigned __int8 *)String1, (unsigned __int8 *)String2, MaxCount);
*errno() = 22;
invalid_parameter_noinfo();
return 0x7FFFFFFF;
}