// // sub_1006A0614 from 0x1006a0614 to 0x1006a0698 (132 bytes) // // 1 xrefs: // > @ 0x1009b20e8 // // 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 11:11:39 +0000 // size_t __fastcall sub_1006A0614(__int64 a1, const char **a2) { const char *i; // x20 int v4; // w8 size_t result; // x0 unsigned __int64 v6; // x11 for ( i = (const char *)(a1 + 4); ; ++i ) { v4 = *(unsigned __int8 *)i; if ( v4 != 9 && v4 != 32 ) break; } result = strlen(i); if ( result ) { while ( 1 ) { v6 = (unsigned __int8)i[result - 1]; if ( v6 > 0x20 || ((1LL << v6) & 0x100002600LL) == 0 ) break; if ( !--result ) goto LABEL_13; } i[result] = 0; } LABEL_13: *a2 = i; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source