// // cocos2d::cc_utf8_strlen from 0x7f5848 to 0x7f5898 (80 bytes) // // 1 xrefs: // > cocos2d::extension::CCEditBoxImplAndroid::setText @ 0x7b13e8 // // 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:08 +0000 // cocos2d *__fastcall cocos2d::cc_utf8_strlen(cocos2d *this, const char *a2, void *a3, int a4) { cocos2d *CharacterCountInUTF8String; // r5 size_t v5; // r0 cocos2d *v7; // [sp+0h] [bp-10h] BYREF const char *v8; // [sp+4h] [bp-Ch] void *v9; // [sp+8h] [bp-8h] int v10; // [sp+Ch] [bp-4h] v7 = this; v8 = a2; v9 = a3; v10 = a4; CharacterCountInUTF8String = this; if ( this ) { v7 = nullptr; v8 = nullptr; v9 = nullptr; v5 = strlen((const char *)this); std::string::__init((int *)&v7, CharacterCountInUTF8String, v5); CharacterCountInUTF8String = (cocos2d *)cocos2d::getCharacterCountInUTF8String((int)&v7); if ( ((unsigned __int8)v7 & 1) != 0 ) operator delete(v9); } return CharacterCountInUTF8String; }
GD Web Decomp Icon

GD Web Decomp

Raw Source