//
// _strnicmp from 0x18013b9d8 to 0x18013ba27 (79 bytes)
//
// 2 xrefs:
// > _strnicoll @ 0x180134553
// > ??> @ 0x18020395c
//
// 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:55:02 +0000
//
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;
}