// // cocos2d::extension::CCControlSlider::isTouchInside from 0xa9e344 to 0xa9e42c (232 bytes) // // 2 xrefs: // > @ 0x9d0f8 // > @ 0x11f6ea8 // // 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 cocos2d::extension::CCControlSlider::isTouchInside(cocos2d::extension::CCControlSlider *a1, cocos2d::CCTouch *a2) { cocos2d::CCNode *v3; // x0 float v4; // s1 __int64 v5; // x0 __int64 (__fastcall *v6)(__int64); // x1 float *v7; // x0 cocos2d::CCPoint v9; // [xsp+30h] [xbp+30h] BYREF cocos2d::CCRect v10; // [xsp+38h] [xbp+38h] BYREF cocos2d::CCPoint Location; // 0:kr00_8.8 cocos2d::CCPoint v12; // 0:kr08_8.8 cocos2d::CCRect v13; // 0:kr10_16.16 Location = cocos2d::CCTouch::getLocation(a2); v3 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::extension::CCControlSlider *, float, float))a1->getParent)( a1, Location.x, Location.y); v12 = cocos2d::CCNode::convertToNodeSpace(v3, &v9); cocos2d::CCPoint::operator=(&v9, v12.x, v12.y); v13 = cocos2d::CCNode::boundingBox(a1); v4 = *(float *)(*(__int64 (__fastcall **)(_QWORD, float, float, float, float))(**(_QWORD **)&a1[1].m_uAutoReleaseCount + 312LL))( *(_QWORD *)&a1[1].m_uAutoReleaseCount, v13.origin.x, v13.origin.y, v13.size.width, v13.size.height); v5 = *(_QWORD *)&a1[1].m_uAutoReleaseCount; v6 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 312LL); v10.size.width = v10.size.width + v4; v7 = (float *)v6(v5); v10.origin.x = v10.origin.x - (float)(*v7 * 0.5); return cocos2d::CCRect::containsPoint(&v10, &v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source