{"type": "func", "start": 6442470096, "end": 6442470135, "name": "cocos2d::extension::CCControl::setEnabled", "pseudocode": "// \n// cocos2d::extension::CCControl::setEnabled from 0x180004ad0 to 0x180004af7 (39 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180023ae8\n// > <???> @ 0x180024658\n// > <???> @ 0x180026478\n// > <???> @ 0x18002fdf8\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::CCControl::setEnabled(cocos2d::extension::CCControl *this, char a2)\n{\n  int v2; // eax\n\n  *((_BYTE *)this + 441) = a2;\n  v2 = 1;\n  if ( !a2 )\n    v2 = 4;\n  *((_DWORD *)this + 109) = v2;\n  (*(void (__fastcall **)(cocos2d::extension::CCControl *))(*(_QWORD *)this + 1064LL))(this);\n}", "assembly": "; \n; cocos2d::extension::CCControl::setEnabled from 0x180004ad0 to 0x180004af7 (39 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180023ae8\n; > <???> @ 0x180024658\n; > <???> @ 0x180026478\n; > <???> @ 0x18002fdf8\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\ntest    dl, dl                                                         ; +0x0, 0x180004ad0\nmov     [rcx+1B9h], dl                                                 ; +0x2, 0x180004ad2\nmov     eax, 1                                                         ; +0x8, 0x180004ad8\nmov     r8d, 4                                                         ; +0xd, 0x180004add\ncmovz   eax, r8d                                                       ; +0x13, 0x180004ae3\nmov     [rcx+1B4h], eax                                                ; +0x17, 0x180004ae7\nmov     rax, [rcx]                                                     ; +0x1d, 0x180004aed\njmp     qword ptr [rax+428h]                                           ; +0x20, 0x180004af0", "xrefs": ["<???> @ 0x180023ae8", "<???> @ 0x180024658", "<???> @ 0x180026478", "<???> @ 0x18002fdf8"], "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"}