// // CCScrollLayerExt::ccTouchBegan from 0x57951c to 0x57964c (304 bytes) // // 4 xrefs: // > `non-virtual thunk to'CCScrollLayerExt::ccTouchBegan @ 0x579650 // > TableView::ccTouchBegan @ 0x57ccec // > @ 0x2f4c0 // > @ 0x113a7c0 // // 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 CCScrollLayerExt::ccTouchBegan(CCScrollLayerExt *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { bool result; // w0 cocos2d::CCDirector *v5; // x0 float v6; // s0 float v7; // s1 float v8; // s0 float v9; // s1 const cocos2d::CCSize *v10; // x0 bool m_disableMovement; // w0 cocos2d::CCPoint v12; // [xsp+40h] [xbp+40h] BYREF cocos2d::CCRect v13; // [xsp+48h] [xbp+48h] BYREF cocos2d::CCPoint v14; // 0:kr08_8.8 cocos2d::CCPoint v15; // 0:kr10_8.8 result = 0; if ( !a1->m_disableMovement ) { a1->m_touch = a2; cocos2d::CCTouch::getLocationInView(a2); v5 = cocos2d::CCDirector::sharedDirector(); v14 = cocos2d::CCDirector::convertToGL(v5, &v12); cocos2d::CCPoint::operator=(&a1->m_touchPosition, v14.x, v14.y); cocos2d::CCPoint::operator=(&a1->m_touchStartPosition, v6, v7); v15 = cocos2d::CCNode::convertToNodeSpace(a1, &a1->m_touchPosition); cocos2d::CCPoint::operator=(&v12, v15.x, v15.y); cocos2d::CCRect::CCRect(&v13); cocos2d::CCPoint::operator=(&v13, v8, v9); v10 = a1->getContentSize(a1); cocos2d::CCSize::operator=(&v13.size, v10); result = cocos2d::CCRect::containsPoint(&v13, &v12); if ( result ) { cocos2d::CCNode::stopAllActions(a1->m_contentLayer); cocos2d::CCTime::gettimeofdayCocos2d(&a1->m_timeValue, nullptr); m_disableMovement = a1->m_disableMovement; a1->m_touchDown = 1; return !m_disableMovement; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source