// // cocos2d::extension::CCControlHuePicker::setEnabled from 0x180008480 to 0x1800084eb (107 bytes) // // 4 xrefs: // > @ 0x1800272e8 // > @ 0x180032408 // > @ 0x18004b81c // > @ 0x18004b828 // // 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:36 +0000 // void __fastcall cocos2d::extension::CCControlHuePicker::setEnabled( cocos2d::extension::CCControlHuePicker *this, char a2) { int v3; // eax __int64 v5; // rcx __int64 v6; // rcx __int64 v7; // rdx *((_BYTE *)this + 441) = a2; v3 = 1; if ( !a2 ) v3 = 4; *((_DWORD *)this + 109) = v3; (*(void (__fastcall **)(cocos2d::extension::CCControlHuePicker *))(*(_QWORD *)this + 1080LL))(this); v5 = *((_QWORD *)this + 61); if ( v5 ) { v6 = v5 + 320; v7 = 128; if ( a2 ) v7 = 255; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 40LL))(v6, v7); } }