{"type": "func", "start": 6442826960, "end": 6442827069, "name": "cocos2d::CCMenuItemLabel::setString", "pseudocode": "// \n// cocos2d::CCMenuItemLabel::setString from 0x18005bcd0 to 0x18005bd3d (109 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2f7c\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::CCMenuItemLabel::setString(cocos2d::CCMenuItemLabel *this, const char *a2)\n{\n  void (__fastcall ***v4)(_QWORD, const char *); // rax\n  cocos2d::CCMenuItemLabel_vtbl *v5; // rbx\n  __int64 v6; // rax\n\n  v4 = (void (__fastcall ***)(_QWORD, const char *))_RTDynamicCast(\n                                                      *((_QWORD *)this + 48),\n                                                      0,\n                                                      &cocos2d::CCNode `RTTI Type Descriptor',\n                                                      &cocos2d::CCLabelProtocol `RTTI Type Descriptor',\n                                                      0);\n  (**v4)(v4, a2);\n  v5 = this->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v6 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 48) + 304LL))(*((_QWORD *)this + 48));\n  ((void (__fastcall *)(cocos2d::CCMenuItemLabel *, __int64))v5->setContentSize)(this, v6);\n}", "assembly": "; \n; cocos2d::CCMenuItemLabel::setString from 0x18005bcd0 to 0x18005bd3d (109 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2f7c\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, 0x18005bcd0\npush    rdi                                                            ; +0x5, 0x18005bcd5\nsub     rsp, 30h                                                       ; +0x6, 0x18005bcd6\nmov     rbx, rdx                                                       ; +0xa, 0x18005bcda\nmov     [rsp+38h+var_18], 0                                            ; +0xd, 0x18005bcdd\nmov     rdi, rcx                                                       ; +0x15, 0x18005bce5\nlea     r9, ??_R0?AVCCLabelProtocol@cocos2d@@@8; cocos2d::CCLabelProtocol `RTTI Type Descriptor' ; +0x18, 0x18005bce8\nmov     rcx, [rcx+180h]                                                ; +0x1f, 0x18005bcef\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x26, 0x18005bcf6\nxor     edx, edx                                                       ; +0x2d, 0x18005bcfd\ncall    __RTDynamicCast                                                ; +0x2f, 0x18005bcff\nmov     rdx, rbx                                                       ; +0x34, 0x18005bd04\nmov     rcx, rax                                                       ; +0x37, 0x18005bd07\nmov     r8, [rax]                                                      ; +0x3a, 0x18005bd0a\ncall    qword ptr [r8]                                                 ; +0x3d, 0x18005bd0d\nmov     rcx, [rdi+180h]                                                ; +0x40, 0x18005bd10\nmov     rbx, [rdi]                                                     ; +0x47, 0x18005bd17\nmov     rax, [rcx]                                                     ; +0x4a, 0x18005bd1a\ncall    qword ptr [rax+130h]                                           ; +0x4d, 0x18005bd1d\nmov     rdx, rax                                                       ; +0x53, 0x18005bd23\nmov     rcx, rdi                                                       ; +0x56, 0x18005bd26\nmov     rax, [rbx+128h]                                                ; +0x59, 0x18005bd29\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x60, 0x18005bd30\nadd     rsp, 30h                                                       ; +0x65, 0x18005bd35\npop     rdi                                                            ; +0x69, 0x18005bd39\njmp     rax                                                            ; +0x6a, 0x18005bd3a", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b2f7c"], "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"}