//
// cocos2d::extension::CCControlSlider::isTouchInside from 0xd0fda0 to 0xd0fe88 (232 bytes)
//
// 2 xrefs:
// > ??> @ 0xced70
// > ??> @ 0x150c6d8
//
// 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:02 +0000
//
__int64 __fastcall cocos2d::extension::CCControlSlider::isTouchInside(
cocos2d::extension::CCControlSlider *this,
cocos2d::CCTouch *a2)
{
cocos2d::CCNode *v3; // x0
float v4; // s1
__int64 v5; // x0
float *v6; // x0
__int64 v8; // [xsp+30h] [xbp+30h] BYREF
__int64 v9; // [xsp+38h] [xbp+38h] BYREF
float v10; // [xsp+40h] [xbp+40h]
cocos2d::CCTouch::getLocation(&v8, a2);
v3 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(cocos2d::extension::CCControlSlider *))(*(_QWORD *)this + 512LL))(this);
cocos2d::CCNode::convertToNodeSpace(&v9, v3, (const cocos2d::CCPoint *)&v8);
cocos2d::CCPoint::operator=(&v8, &v9);
cocos2d::CCNode::boundingBox(&v9, this);
v4 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 62) + 328LL))(*((_QWORD *)this + 62));
v5 = *((_QWORD *)this + 62);
v10 = v10 + v4;
v6 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 328LL))(v5);
*(float *)&v9 = *(float *)&v9 - (float)(*v6 * 0.5);
return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)&v9, (const cocos2d::CCPoint *)&v8);
}