// // getUTF8StringLength from 0x7f4c98 to 0x7f4cdc (68 bytes) // // 1 xrefs: // > cocos2d::getCharacterCountInUTF8String @ 0x7f5200 // // 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:07 +0000 // size_t __fastcall getUTF8StringLength(const char *a1) { unsigned __int8 *v1; // r4 size_t result; // r0 unsigned __int8 *v3; // r7 int i; // r6 int v5; // r5 v1 = (unsigned __int8 *)a1; result = strlen(a1); if ( result ) { v3 = &v1[result]; for ( i = 0; ; ++i ) { if ( v1 == v3 ) return i; v5 = *((unsigned __int8 *)&unk_BF3C8C + *v1 + 8) + 1; if ( v5 > v3 - v1 ) break; result = sub_7F492C(v1, *((unsigned __int8 *)&unk_BF3C8C + *v1 + 8) + 1); if ( !result ) return result; v1 += v5; } return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source