// // sub_100160D88 from 0x100160d88 to 0x100160dec (100 bytes) // // 2 xrefs: // > sub_100160DEC @ 0x100160e04 // > sub_100160DEC @ 0x100160e10 // // 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 // __int64 __fastcall sub_100160D88(const char *a1) { const char *v1; // x19 int v2; // w8 __int64 result; // x0 __int64 v4; // x8 __int64 v5; // x10 __int64 v6; // t1 v1 = a1; v2 = strlen(a1); if ( v2 < 1 ) return 0; result = 0; v4 = v2 & 0x7FFFFFFF; do { v6 = *v1++; v5 = v6; if ( (v6 & 0x8000000000000000LL) == 0 && (_DefaultRuneLocale.__runetype[v5] & 0x400) != 0 ) result = (unsigned int)(result + 1); --v4; } while ( v4 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source