//
// cocos2d::extension::CCControlHuePicker::ccTouchBegan from 0xd0f010 to 0xd0f0d4 (196 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCControlHuePicker::ccTouchBegan @ 0xd0f0d8
// > ??> @ 0xf0388
// > ??> @ 0x150b6d0
//
// This function is hookable on this platform (idp: arm, 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 13:07:01 +0000
//
__int64 __fastcall cocos2d::extension::CCControlHuePicker::ccTouchBegan(__int64 a1, __int64 a2)
{
__int64 v5; // [xsp+48h] [xbp+48h] BYREF
float v6; // [xsp+50h] [xbp+50h] BYREF
if ( !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1272LL))(a1)
|| !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1) )
{
return 0;
}
(*(void (__fastcall **)(__int64 *__return_ptr, __int64, __int64))(*(_QWORD *)a1 + 1344LL))(&v5, a1, a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v6, (const cocos2d::CCPoint *)&v5);
return (unsigned __int8)cocos2d::extension::CCControlHuePicker::checkSliderPosition(a1, &v6, 0);
}