{"type": "func", "start": 6442475728, "end": 6442475794, "name": "cocos2d::extension::CCControlButton::setEnabled", "pseudocode": "// \n// cocos2d::extension::CCControlButton::setEnabled from 0x1800060d0 to 0x180006112 (66 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800240e8\n// > <???> @ 0x180027f30\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049594\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::extension::CCControlButton::setEnabled(cocos2d::extension::CCControlButton *this, char a2)\n{\n  int v3; // eax\n\n  *((_BYTE *)this + 441) = a2;\n  v3 = 1;\n  if ( !a2 )\n    v3 = 4;\n  *((_DWORD *)this + 109) = v3;\n  (*(void (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1064LL))(this);\n  (*(void (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1064LL))(this);\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::setEnabled from 0x1800060d0 to 0x180006112 (66 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800240e8\n; > <???> @ 0x180027f30\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049594\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\npush    rbx                                                            ; +0x0, 0x1800060d0\nsub     rsp, 20h                                                       ; +0x2, 0x1800060d2\nmov     rbx, rcx                                                       ; +0x6, 0x1800060d6\nmov     [rcx+1B9h], dl                                                 ; +0x9, 0x1800060d9\ntest    dl, dl                                                         ; +0xf, 0x1800060df\nmov     ecx, 4                                                         ; +0x11, 0x1800060e1\nmov     eax, 1                                                         ; +0x16, 0x1800060e6\ncmovz   eax, ecx                                                       ; +0x1b, 0x1800060eb\nmov     rcx, rbx                                                       ; +0x1e, 0x1800060ee\nmov     [rbx+1B4h], eax                                                ; +0x21, 0x1800060f1\nmov     rax, [rbx]                                                     ; +0x27, 0x1800060f7\ncall    qword ptr [rax+428h]                                           ; +0x2a, 0x1800060fa\nmov     rax, [rbx]                                                     ; +0x30, 0x180006100\nmov     rcx, rbx                                                       ; +0x33, 0x180006103\nadd     rsp, 20h                                                       ; +0x36, 0x180006106\npop     rbx                                                            ; +0x3a, 0x18000610a\njmp     qword ptr [rax+428h]                                           ; +0x3b, 0x18000610b", "xrefs": ["<???> @ 0x1800240e8", "<???> @ 0x180027f30", "<???> @ 0x18002fdf8", "<???> @ 0x180049594"], "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"}