// // CCScrollLayerExt::ccTouchBegan from 0x2e8204 to 0x2e82c4 (192 bytes) // // 2 xrefs: // > `non-virtual thunk to'CCScrollLayerExt::ccTouchBegan @ 0x2e82d0 // > TableView::ccTouchBegan @ 0x2ea512 // // 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) { _BOOL4 m_disableMovement; // r9 cocos2d::CCDirector *v5; // r0 int v6; // r0 const cocos2d::CCSize *v7; // r0 int v8; // r0 cocos2d::CCPoint v10; // [sp+4h] [bp-20h] BYREF cocos2d::CCRect v11; // [sp+Ch] [bp-18h] BYREF m_disableMovement = a1->m_disableMovement; if ( a1->m_disableMovement ) { LOBYTE(v8) = 0; } else { a1->m_touch = a2; cocos2d::CCTouch::getLocationInView(&v10, a2); v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::convertToGL(&v11.origin, v5, &v10); v6 = cocos2d::CCPoint::operator=(&a1->m_touchPosition, &v11); cocos2d::CCPoint::operator=(&a1->m_touchStartPosition, v6); cocos2d::CCNode::convertToNodeSpace(&v11.origin, a1, &a1->m_touchPosition); cocos2d::CCPoint::operator=(&v10, &v11); cocos2d::CCRect::CCRect(&v11); cocos2d::CCPoint::operator=(&v11, &stru_AC53F0); v7 = a1->getContentSize(a1); cocos2d::CCSize::operator=(&v11.size, v7); v8 = cocos2d::CCRect::containsPoint(&v11, &v10); if ( v8 ) { cocos2d::CCNode::stopAllActions(a1->m_contentLayer); cocos2d::CCTime::gettimeofdayCocos2d(&a1->m_timeValue, (void *)m_disableMovement); LOBYTE(v8) = a1->m_disableMovement; a1->m_touchDown = 1; LOBYTE(v8) = v8 ^ 1; } } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source