//
// TableView::ccTouchBegan from 0x2ea500 to 0x2ea584 (132 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'TableView::ccTouchBegan @ 0x2ea590
//
// 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 TableView::ccTouchBegan(TableView *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
_BOOL4 v5; // r0
cocos2d::CCDirector *v6; // r0
int v7; // r0
cocos2d::CCPoint v9; // [sp+4h] [bp-18h] BYREF
cocos2d::CCPoint v10; // [sp+Ch] [bp-10h] BYREF
v5 = CCScrollLayerExt::ccTouchBegan(a1, a2, a3);
if ( v5 )
{
a1->m_beginTouch = a2;
cocos2d::CCTouch::getLocationInView(&v9, a2);
v6 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL(&v10, v6, &v9);
v7 = cocos2d::CCPoint::operator=(&a1->m_checkLocation, &v10);
cocos2d::CCPoint::operator=(&a1->m_beginLocation, v7);
if ( !a1->m_scheduled )
{
LODWORD(v10.y) = a1->m_scheduled;
LODWORD(v10.x) = TableView::checkBoundaryOfContent;
cocos2d::CCNode::schedule(a1, TableView::checkBoundaryOfContent, LODWORD(v10.y));
a1->m_scheduled = 1;
}
a1->m_touchLastY = a1->m_beginLocation.y;
LOBYTE(v5) = 1;
}
return v5;
}