{"type": "func", "start": 6442772464, "end": 6442772562, "name": "cocos2d::CCLabelTTF::setString", "pseudocode": "// \n// cocos2d::CCLabelTTF::setString from 0x18004e7f0 to 0x18004e852 (98 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCTextFieldTTF::deleteBackward @ 0x1800b5347\n// > cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x1800b5ecd\n// > cocos2d::CCTextFieldTTF::setString @ 0x1800b6199\n// > <???> @ 0x1800ecdb0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1ce0\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\nvoid __fastcall cocos2d::CCLabelTTF::setString(cocos2d::CCLabelTTF *this, char *a2)\n{\n  size_t v4; // r8\n\n  if ( sub_18004DCF0(&this->m_unknown2, a2) )\n  {\n    v4 = -1;\n    do\n      ++v4;\n    while ( a2[v4] );\n    sub_180010050((void **)&this->m_unknown2, a2, v4);\n    cocos2d::CCLabelTTF::updateTexture((cocos2d::CCLabelTTF *)((char *)this - 600));\n  }\n}", "assembly": "; \n; cocos2d::CCLabelTTF::setString from 0x18004e7f0 to 0x18004e852 (98 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCTextFieldTTF::deleteBackward @ 0x1800b5347\n; > cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x1800b5ecd\n; > cocos2d::CCTextFieldTTF::setString @ 0x1800b6199\n; > <???> @ 0x1800ecdb0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1ce0\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18004e7f0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18004e7f5\npush    rdi                                                            ; +0xa, 0x18004e7fa\nsub     rsp, 20h                                                       ; +0xb, 0x18004e7fb\nmov     rdi, rcx                                                       ; +0xf, 0x18004e7ff\nmov     rbx, rdx                                                       ; +0x12, 0x18004e802\nadd     rcx, 28h ; '('; Buf1                                           ; +0x15, 0x18004e805\ncall    sub_18004DCF0                                                  ; +0x19, 0x18004e809\ntest    eax, eax                                                       ; +0x1e, 0x18004e80e\njz      short loc_18004E842                                            ; +0x20, 0x18004e810\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x22, 0x18004e812\nnop     dword ptr [rax+00000000h]                                      ; +0x29, 0x18004e819\ninc     r8; Size                                                       ; +0x30, 0x18004e820\ncmp     byte ptr [rbx+r8], 0                                           ; +0x33, 0x18004e823\njnz     short loc_18004E820                                            ; +0x38, 0x18004e828\nmov     rdx, rbx; Src                                                  ; +0x3a, 0x18004e82a\nlea     rcx, [rdi+28h]; void *                                         ; +0x3d, 0x18004e82d\ncall    sub_180010050                                                  ; +0x41, 0x18004e831\nlea     rcx, [rdi-258h]; this                                          ; +0x46, 0x18004e836\ncall    ?updateTexture@CCLabelTTF@cocos2d@@AEAA_NXZ; cocos2d::CCLabelTTF::updateTexture(void) ; +0x4d, 0x18004e83d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x52, 0x18004e842\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x57, 0x18004e847\nadd     rsp, 20h                                                       ; +0x5c, 0x18004e84c\npop     rdi                                                            ; +0x60, 0x18004e850\nretn                                                                   ; +0x61, 0x18004e851", "xrefs": ["cocos2d::CCTextFieldTTF::deleteBackward @ 0x1800b5347", "cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x1800b5ecd", "cocos2d::CCTextFieldTTF::setString @ 0x1800b6199", "<???> @ 0x1800ecdb0", "<???> @ 0x1801438a8", "<???> @ 0x1801b1ce0"], "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"}