{"type": "func", "start": 6442474240, "end": 6442474306, "name": "cocos2d::extension::CCControlButton::setEnabled", "pseudocode": "// \n// cocos2d::extension::CCControlButton::setEnabled from 0x180005b00 to 0x180005b42 (66 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180026630\n// > <???> @ 0x18002a5a8\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b4e0\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 12:15:35 +0000\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 + 1080LL))(this);\n  (*(void (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1080LL))(this);\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::setEnabled from 0x180005b00 to 0x180005b42 (66 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180026630\n; > <???> @ 0x18002a5a8\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b4e0\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 12:15:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x180005b00\nsub     rsp, 20h                                                       ; +0x2, 0x180005b02\nmov     rbx, rcx                                                       ; +0x6, 0x180005b06\nmov     [rcx+1B9h], dl                                                 ; +0x9, 0x180005b09\ntest    dl, dl                                                         ; +0xf, 0x180005b0f\nmov     ecx, 4                                                         ; +0x11, 0x180005b11\nmov     eax, 1                                                         ; +0x16, 0x180005b16\ncmovz   eax, ecx                                                       ; +0x1b, 0x180005b1b\nmov     rcx, rbx                                                       ; +0x1e, 0x180005b1e\nmov     [rbx+1B4h], eax                                                ; +0x21, 0x180005b21\nmov     rax, [rbx]                                                     ; +0x27, 0x180005b27\ncall    qword ptr [rax+438h]                                           ; +0x2a, 0x180005b2a\nmov     rax, [rbx]                                                     ; +0x30, 0x180005b30\nmov     rcx, rbx                                                       ; +0x33, 0x180005b33\nadd     rsp, 20h                                                       ; +0x36, 0x180005b36\npop     rbx                                                            ; +0x3a, 0x180005b3a\njmp     qword ptr [rax+438h]                                           ; +0x3b, 0x180005b3b", "xrefs": ["<???> @ 0x180026630", "<???> @ 0x18002a5a8", "<???> @ 0x180032408", "<???> @ 0x18004b4e0"], "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"}