{"type": "func", "start": 6442780112, "end": 6442780197, "name": "cocos2d::CCLabelTTF::setString", "pseudocode": "// \n// cocos2d::CCLabelTTF::setString from 0x1800505d0 to 0x180050625 (85 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCTextFieldTTF::deleteBackward @ 0x1800b9083\n// > cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x1800b9b13\n// > <???> @ 0x1800f2ef0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bbf74\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:21:45 +0000\n// \n\nvoid __fastcall cocos2d::CCLabelTTF::setString(void **this, char *a2)\n{\n  size_t v4; // rax\n\n  if ( sub_18004FAF0((const void **)this + 5, a2) )\n  {\n    v4 = strlen(a2);\n    sub_1800101E0(this + 5, a2, v4);\n    cocos2d::CCLabelTTF::updateTexture((cocos2d::CCLabelTTF *)(this - 75));\n  }\n}", "assembly": "; \n; cocos2d::CCLabelTTF::setString from 0x1800505d0 to 0x180050625 (85 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCTextFieldTTF::deleteBackward @ 0x1800b9083\n; > cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x1800b9b13\n; > <???> @ 0x1800f2ef0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bbf74\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:21:45 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800505d0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800505d5\npush    rdi                                                            ; +0xa, 0x1800505da\nsub     rsp, 20h                                                       ; +0xb, 0x1800505db\nmov     rdi, rcx                                                       ; +0xf, 0x1800505df\nmov     rbx, rdx                                                       ; +0x12, 0x1800505e2\nadd     rcx, 28h ; '('                                                 ; +0x15, 0x1800505e5\ncall    sub_18004FAF0                                                  ; +0x19, 0x1800505e9\ntest    eax, eax                                                       ; +0x1e, 0x1800505ee\njz      short loc_180050615                                            ; +0x20, 0x1800505f0\nmov     rcx, rbx; Str                                                  ; +0x22, 0x1800505f2\ncall    strlen                                                         ; +0x25, 0x1800505f5\nmov     r8, rax; Size                                                  ; +0x2a, 0x1800505fa\nlea     rcx, [rdi+28h]; void *                                         ; +0x2d, 0x1800505fd\nmov     rdx, rbx; Src                                                  ; +0x31, 0x180050601\ncall    sub_1800101E0                                                  ; +0x34, 0x180050604\nlea     rcx, [rdi-258h]; this                                          ; +0x39, 0x180050609\ncall    ?updateTexture@CCLabelTTF@cocos2d@@AEAA_NXZ; cocos2d::CCLabelTTF::updateTexture(void) ; +0x40, 0x180050610\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x45, 0x180050615\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x4a, 0x18005061a\nadd     rsp, 20h                                                       ; +0x4f, 0x18005061f\npop     rdi                                                            ; +0x53, 0x180050623\nretn                                                                   ; +0x54, 0x180050624", "xrefs": ["cocos2d::CCTextFieldTTF::deleteBackward @ 0x1800b9083", "cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x1800b9b13", "<???> @ 0x1800f2ef0", "<???> @ 0x18014cf68", "<???> @ 0x1801bbf74"], "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"}