// // cocos2d::cc_wcslen from 0xd8daec to 0xd8db14 (40 bytes) // // 7 xrefs: // > sub_D55314 @ 0xd5532c // > cocos2d::CCLabelBMFont::createFontChars @ 0xd56224 // > cocos2d::CCLabelBMFont::updateLabel @ 0xd57768 // > cocos2d::cc_utf8_to_utf16 @ 0xd8dd0c // > cocos2d::cc_utf16_to_utf8 @ 0xd8e4e4 // > cocos2d::cc_utf16_vec_from_utf16_str @ 0xd8e650 // > @ 0xee738 // // 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:17 +0000 // __int64 __fastcall cocos2d::cc_wcslen(cocos2d *this, const unsigned __int16 *a2) { unsigned __int16 *v2; // x1 __int64 result; // x0 int v4; // t1 v2 = (unsigned __int16 *)((char *)this + 2); if ( !*(_WORD *)this ) return 0; LODWORD(result) = 0; do { v4 = *v2++; result = (unsigned int)(result + 1); } while ( v4 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source