//
// cocos2d::extension::CCControlHuePicker::ccTouchBegan from 0x7a8c94 to 0x7a8cf4 (96 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCControlHuePicker::ccTouchBegan @ 0x7a8cfc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:00 +0000
//
int __fastcall cocos2d::extension::CCControlHuePicker::ccTouchBegan(float *a1, int a2)
{
_BYTE v5[8]; // [sp+4h] [bp-18h] BYREF
float v6[2]; // [sp+Ch] [bp-10h] BYREF
if ( !(*(int (__fastcall **)(float *))(*(_DWORD *)a1 + 636))(a1)
|| !(*(int (__fastcall **)(float *))(*(_DWORD *)a1 + 176))(a1) )
{
return 0;
}
(*(void (__fastcall **)(_BYTE *, float *, int))(*(_DWORD *)a1 + 672))(v5, a1, a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, (const cocos2d::CCPoint *)v5);
return cocos2d::extension::CCControlHuePicker::checkSliderPosition(a1, v6, 0);
}