// // cocos2d::extension::CCControlSlider::isTouchInside from 0x18000a450 to 0x18000a507 (183 bytes) // // 3 xrefs: // > @ 0x1800284e8 // > @ 0x180032408 // > @ 0x18004ba68 // // This function is hookable on this platform (idp: pc, 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 12:15:37 +0000 // 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 + 504LL))(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) + 320LL))(*((_QWORD *)this + 62)); v6 = *((_QWORD *)this + 62); v10 = v10 + *v5; v7 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 320LL))(v6); v9 = v9 - (float)(*v7 * 0.5); return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)&v9, (const struct cocos2d::CCPoint *)&v11); }