// // ndigits from 0xdb5d6c to 0xdb5dc4 (88 bytes) // // 3 xrefs: // > alphaNumericallyLessThan @ 0xdb5ddc // > alphaNumericallyLessThan @ 0xdb5de8 // > @ 0xdc5e8 // // This function is hookable on this platform (idp: arm, 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 13:08:41 +0000 // __int64 __fastcall ndigits(const char *a1) { int v2; // w3 __int64 v3; // x1 __int64 result; // x0 int v5; // w2 v2 = strlen(a1); if ( v2 <= 0 ) return 0; v3 = 0; LODWORD(result) = 0; do { v5 = (unsigned __int8)a1[v3++]; if ( (unsigned int)(v5 - 48) > 9 ) result = (unsigned int)result; else result = (unsigned int)(result + 1); } while ( v2 > (int)v3 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source