{"type": "func", "start": 6442481920, "end": 6442481995, "name": "cocos2d::extension::CCControlButton::setTitleLabel", "pseudocode": "// \n// cocos2d::extension::CCControlButton::setTitleLabel from 0x180007900 to 0x18000794b (75 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x1800497b0\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// Alternative name is '?setMinusLabel@CCControlStepper@extension@cocos2d@@QEAAXPEAVCCLabelTTF@3@@Z'\n// Alternative name is '?setSlider@CCControlHuePicker@extension@cocos2d@@QEAAXPEAVCCSprite@3@@Z'\nvoid __fastcall cocos2d::extension::CCControlButton::setTitleLabel(\n        cocos2d::extension::CCControlButton *this,\n        struct cocos2d::CCNode *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  if ( *((struct cocos2d::CCNode **)this + 61) != a2 )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    v4 = *((cocos2d::CCObject **)this + 61);\n    if ( v4 )\n      cocos2d::CCObject::release(v4);\n    *((_QWORD *)this + 61) = a2;\n  }\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::setTitleLabel from 0x180007900 to 0x18000794b (75 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x1800497b0\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, 0x180007900\npush    rdi                                                            ; +0x5, 0x180007905\nsub     rsp, 20h                                                       ; +0x6, 0x180007906\nmov     rbx, rdx                                                       ; +0xa, 0x18000790a\nmov     rdi, rcx                                                       ; +0xd, 0x18000790d\ncmp     [rcx+1E8h], rdx                                                ; +0x10, 0x180007910\njz      short loc_180007940                                            ; +0x17, 0x180007917\ntest    rdx, rdx                                                       ; +0x19, 0x180007919\njz      short loc_180007927                                            ; +0x1c, 0x18000791c\nmov     rcx, rdx                                                       ; +0x1e, 0x18000791e\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x21, 0x180007921\nmov     rcx, [rdi+1E8h]                                                ; +0x27, 0x180007927\ntest    rcx, rcx                                                       ; +0x2e, 0x18000792e\njz      short loc_180007939                                            ; +0x31, 0x180007931\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x33, 0x180007933\nmov     [rdi+1E8h], rbx                                                ; +0x39, 0x180007939\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x40, 0x180007940\nadd     rsp, 20h                                                       ; +0x45, 0x180007945\npop     rdi                                                            ; +0x49, 0x180007949\nretn                                                                   ; +0x4a, 0x18000794a", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x1800497b0"], "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"}