// // SliderTouchLogic::ccTouchBegan from 0x2f5d10 to 0x2f5d7e (110 bytes) // // 1 xrefs: // > `non-virtual thunk to'SliderTouchLogic::ccTouchBegan @ 0x2f5d88 // // 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 SliderTouchLogic::ccTouchBegan(SliderTouchLogic *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { _BOOL4 v5; // r6 const cocos2d::CCPoint *v6; // r0 Slider *m_slider; // r0 cocos2d::CCPoint v9; // [sp+4h] [bp-14h] BYREF _BYTE v10[8]; // [sp+Ch] [bp-Ch] BYREF v5 = cocos2d::CCMenu::ccTouchBegan(a1, a2, a3); if ( v5 ) { a1->m_activateThumb = 1; cocos2d::CCNode::convertTouchToNodeSpace(&v9, a1, a2); v6 = a1->m_thumb->getPosition(a1->m_thumb); cocos2d::CCPoint::operator-(v10, &v9, v6); cocos2d::CCPoint::operator=(&a1->m_position, v10); m_slider = a1->m_slider; if ( m_slider ) Slider::sliderBegan(m_slider); } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source