//
// TableView::ccTouchBegan from 0x57ccc4 to 0x57cda0 (220 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'TableView::ccTouchBegan @ 0x57cda4
// > ??> @ 0x953a0
// > ??> @ 0x113ae40
//
// 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; // w1
bool result; // w0
cocos2d::CCDirector *v7; // x0
float v8; // s0
float v9; // s1
cocos2d::CCPoint v10; // [xsp+48h] [xbp+48h] BYREF
cocos2d::CCPoint v11; // 0:kr08_8.8
v5 = CCScrollLayerExt::ccTouchBegan(a1, a2, a3);
result = 0;
if ( v5 )
{
a1->m_beginTouch = a2;
cocos2d::CCTouch::getLocationInView(a2);
v7 = cocos2d::CCDirector::sharedDirector();
v11 = cocos2d::CCDirector::convertToGL(v7, &v10);
cocos2d::CCPoint::operator=(&a1->m_checkLocation, v11.x, v11.y);
cocos2d::CCPoint::operator=(&a1->m_beginLocation, v8, v9);
if ( !a1->m_scheduled )
{
cocos2d::CCNode::schedule(a1, TableView::checkBoundaryOfContent, 0);
a1->m_scheduled = 1;
}
a1->m_touchLastY = a1->m_beginLocation.y;
return 1;
}
return result;
}