{"type": "func", "start": 6443076928, "end": 6443076957, "name": "cocos2d::cc_wcslen", "pseudocode": "// \n// cocos2d::cc_wcslen from 0x180098d40 to 0x180098d5d (29 bytes)\n// \n// 4 xrefs:\n// > sub_180048F90 @ 0x180048fb2\n// > cocos2d::CCLabelBMFont::createFontChars @ 0x18004949b\n// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004f06e\n// > <???> @ 0x18014cf68\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:10 +0000\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 0x180098d40 to 0x180098d5d (29 bytes)\n; \n; 4 xrefs:\n; > sub_180048F90 @ 0x180048fb2\n; > cocos2d::CCLabelBMFont::createFontChars @ 0x18004949b\n; > cocos2d::CCLabelBMFont::updateLabel @ 0x18004f06e\n; > <???> @ 0x18014cf68\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:10 +0000\n; \nxor     eax, eax                                                       ; +0x0, 0x180098d40\ncmp     [rcx], ax                                                      ; +0x2, 0x180098d42\njz      short locret_180098D5C                                         ; +0x5, 0x180098d45\nnop     word ptr [rax+rax+00000000h]                                   ; +0x7, 0x180098d47\nlea     rcx, [rcx+2]                                                   ; +0x10, 0x180098d50\ninc     eax                                                            ; +0x14, 0x180098d54\ncmp     word ptr [rcx], 0                                              ; +0x16, 0x180098d56\njnz     short loc_180098D50                                            ; +0x1a, 0x180098d5a\nretn                                                                   ; +0x1c, 0x180098d5c", "xrefs": ["sub_180048F90 @ 0x180048fb2", "cocos2d::CCLabelBMFont::createFontChars @ 0x18004949b", "cocos2d::CCLabelBMFont::updateLabel @ 0x18004f06e", "<???> @ 0x18014cf68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}