//
// __strncnt from 0x1801411b0 to 0x1801411c5 (21 bytes)
//
// 3 xrefs:
// > InternalCompareStringA @ 0x18013bb28
// > InternalCompareStringA @ 0x18013bb4c
// > __acrt_LCMapStringA_stat @ 0x180140c5c
//
// 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:05 +0000
//
size_t __cdecl _strncnt(const char *String, size_t Count)
{
size_t result; // rax
result = 0;
if ( *String )
{
do
{
if ( result == Count )
break;
++result;
}
while ( String[result] );
}
return result;
}