// // cocos2d::cc_wcslen from 0x1001ad200 to 0x1001ad22c (44 bytes) // // 3 xrefs: // > cocos2d::CCLabelBMFont::createFontChars @ 0x1002fb7c8 // > sub_1002FBF54 @ 0x1002fbf6c // > cocos2d::CCLabelBMFont::updateLabel @ 0x1002fc8b8 // // 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 // int __fastcall cocos2d::cc_wcslen(const unsigned __int16 *a1) { __int64 v2; // x0 const unsigned __int16 *v3; // x8 if ( *a1 ) { v2 = 0; v3 = a1 + 1; while ( v3[v2++] ) ; } else { LODWORD(v2) = 0; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source