//
// cocos2d::extension::CCControl::setEnabled from 0x180004550 to 0x180004577 (39 bytes)
//
// 4 xrefs:
// > ??> @ 0x180026010
// > ??> @ 0x180026bb0
// > ??> @ 0x180028a80
// > ??> @ 0x180032408
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:15:35 +0000
//
void __fastcall cocos2d::extension::CCControl::setEnabled(cocos2d::extension::CCControl *this, char a2)
{
int v2; // eax
*((_BYTE *)this + 441) = a2;
v2 = 1;
if ( !a2 )
v2 = 4;
*((_DWORD *)this + 109) = v2;
(*(void (__fastcall **)(cocos2d::extension::CCControl *))(*(_QWORD *)this + 1080LL))(this);
}