//
// ndigits from 0x5fc6d4 to 0x5fc6f8 (36 bytes)
//
// 2 xrefs:
// > alphaNumericallyLessThan @ 0x5fc6fe
// > alphaNumericallyLessThan @ 0x5fc706
//
// 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 __fastcall ndigits(const char *a1)
{
signed int v2; // r0
const char *v3; // r2
int v4; // r3
int v5; // t1
v2 = strlen(a1);
v3 = a1;
v4 = 0;
while ( v3 - a1 < v2 )
{
v5 = *(unsigned __int8 *)v3++;
if ( (unsigned int)(v5 - 48) <= 9 )
++v4;
}
return v4;
}