//
// cocos2d::extension::CCControlSlider::isTouchInside from 0x7a9624 to 0x7a96b6 (146 bytes)
//
// 0 xrefs:
//
// 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:01 +0000
//
int __fastcall cocos2d::extension::CCControlSlider::isTouchInside(
cocos2d::extension::CCControlSlider *this,
cocos2d::CCTouch *a2)
{
const cocos2d::CCPoint *v3; // r0
float v4; // s14
int v5; // r0
float *v6; // r0
_BYTE v8[8]; // [sp+4h] [bp-8h] BYREF
float v9[2]; // [sp+Ch] [bp+0h] BYREF
float v10; // [sp+14h] [bp+8h]
cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v8);
v3 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(cocos2d::extension::CCControlSlider *))(*(_DWORD *)this + 256))(this);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v9, v3);
cocos2d::CCPoint::operator=(v8, v9);
cocos2d::CCNode::boundingBox((cocos2d::CCNode *)v9);
v4 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 94) + 164))(*((_DWORD *)this + 94));
v5 = *((_DWORD *)this + 94);
v10 = v10 + v4;
v6 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 164))(v5);
v9[0] = v9[0] - (float)(*v6 * 0.5);
return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v9, (const cocos2d::CCPoint *)v8);
}