// // cocos2d::extension::CCControlButton::setEnabled from 0x180005b00 to 0x180005b42 (66 bytes) // // 4 xrefs: // > @ 0x180026630 // > @ 0x18002a5a8 // > @ 0x180032408 // > @ 0x18004b4e0 // // 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::CCControlButton::setEnabled(cocos2d::extension::CCControlButton *this, char a2) { int v3; // eax *((_BYTE *)this + 441) = a2; v3 = 1; if ( !a2 ) v3 = 4; *((_DWORD *)this + 109) = v3; (*(void (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1080LL))(this); (*(void (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1080LL))(this); }