//
// cocos2d::extension::CCControlHuePicker::ccTouchBegan from 0x5a2f9c to 0x5a2ffc (96 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCControlHuePicker::ccTouchBegan @ 0x5a3004
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool cocos2d::extension::CCControlHuePicker::ccTouchBegan(
cocos2d::extension::CCControlHuePicker *a1,
cocos2d::CCTouch *a2,
cocos2d::CCEvent *a3)
{
cocos2d::CCPoint v6; // [sp+4h] [bp-18h] BYREF
cocos2d::CCPoint v7; // [sp+Ch] [bp-10h] BYREF
if ( !((int (__fastcall *)(cocos2d::extension::CCControlHuePicker *, cocos2d::CCTouch *, cocos2d::CCEvent *))a1->isEnabled)(
a1,
a2,
a3)
|| !((int (__fastcall *)(cocos2d::extension::CCControlHuePicker *))a1->isVisible)(a1) )
{
return 0;
}
a1->getTouchLocation(&v6, a1, a2);
cocos2d::CCPoint::CCPoint(&v7, &v6);
return cocos2d::extension::CCControlHuePicker::checkSliderPosition(a1, (cocos2d::CCPoint)(unsigned int)&v7);
}