//
// ndigits from 0x80aba2 to 0x80abc6 (36 bytes)
//
// 2 xrefs:
// > alphaNumericallyLessThan @ 0x80abcc
// > alphaNumericallyLessThan @ 0x80abd4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:29 +0000
//
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;
}