{"type": "func", "start": 6443062400, "end": 6443062429, "name": "cocos2d::cc_wcslen", "pseudocode": "// \n// cocos2d::cc_wcslen from 0x180095480 to 0x18009549d (29 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCLabelBMFont::createFontChars @ 0x180047e6b\n// > cocos2d::CCLabelBMFont::setString @ 0x18004c87f\n// > cocos2d::CCLabelBMFont::setString @ 0x18004c8f0\n// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004d336\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall cocos2d::cc_wcslen(cocos2d *this, const unsigned __int16 *a2)\n{\n  __int64 result; // rax\n\n  for ( result = 0; *(_WORD *)this; result = (unsigned int)(result + 1) )\n    this = (cocos2d *)((char *)this + 2);\n  return result;\n}", "assembly": "; \n; cocos2d::cc_wcslen from 0x180095480 to 0x18009549d (29 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCLabelBMFont::createFontChars @ 0x180047e6b\n; > cocos2d::CCLabelBMFont::setString @ 0x18004c87f\n; > cocos2d::CCLabelBMFont::setString @ 0x18004c8f0\n; > cocos2d::CCLabelBMFont::updateLabel @ 0x18004d336\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nxor     eax, eax                                                       ; +0x0, 0x180095480\ncmp     [rcx], ax                                                      ; +0x2, 0x180095482\njz      short locret_18009549C                                         ; +0x5, 0x180095485\nnop     word ptr [rax+rax+00000000h]                                   ; +0x7, 0x180095487\nlea     rcx, [rcx+2]                                                   ; +0x10, 0x180095490\ninc     eax                                                            ; +0x14, 0x180095494\ncmp     word ptr [rcx], 0                                              ; +0x16, 0x180095496\njnz     short loc_180095490                                            ; +0x1a, 0x18009549a\nretn                                                                   ; +0x1c, 0x18009549c", "xrefs": ["cocos2d::CCLabelBMFont::createFontChars @ 0x180047e6b", "cocos2d::CCLabelBMFont::setString @ 0x18004c87f", "cocos2d::CCLabelBMFont::setString @ 0x18004c8f0", "cocos2d::CCLabelBMFont::updateLabel @ 0x18004d336", "<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}