// // cocos2d::extension::CCControlSlider::isTouchInside from 0x18000a9d0 to 0x18000aa87 (183 bytes) // // 3 xrefs: // > @ 0x180025f00 // > @ 0x18002fdf8 // > @ 0x180049b88 // // 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 __fastcall cocos2d::extension::CCControlSlider::isTouchInside( cocos2d::extension::CCControlSlider *this, struct cocos2d::CCTouch *a2) { __int64 v3; // rax __int64 v4; // rax float *v5; // rax __int64 v6; // rcx float *v7; // rax float v9; // [rsp+20h] [rbp-18h] BYREF float v10; // [rsp+28h] [rbp-10h] char v11; // [rsp+40h] [rbp+8h] BYREF char v12; // [rsp+50h] [rbp+18h] BYREF cocos2d::CCTouch::getLocation(a2); v3 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControlSlider *))(*(_QWORD *)this + 488LL))(this); v4 = cocos2d::CCNode::convertToNodeSpace(v3, &v12, &v11); cocos2d::CCPoint::operator=(&v11, v4); cocos2d::CCNode::boundingBox(this, &v9); v5 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 62) + 304LL))(*((_QWORD *)this + 62)); v6 = *((_QWORD *)this + 62); v10 = v10 + *v5; v7 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 304LL))(v6); v9 = v9 - (float)(*v7 * 0.5); return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)&v9, (const struct cocos2d::CCPoint *)&v11); }