//
// TableView::ccTouchBegan from 0x100622ca0 to 0x100622d51 (177 bytes)
//
// 2 xrefs:
// > sub_100623580 @ 0x10062358c
// > ??> @ 0x1009826e8
//
// 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 __fastcall TableView::ccTouchBegan(TableView *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
bool result; // al
bool v4; // r12
cocos2d::CCDirector *v5; // rax
double *v6; // rax
char v7; // [rsp+0h] [rbp-30h] BYREF
double v8[5]; // [rsp+8h] [rbp-28h] BYREF
result = CCScrollLayerExt::ccTouchBegan(a1, a2, a3);
if ( result )
{
v4 = result;
a1->m_beginTouch = a2;
cocos2d::CCTouch::getLocationInView((cocos2d::CCTouch *)&v7);
v5 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v8, (const cocos2d::CCPoint *)v5);
sub_10028CC90(&a1->m_checkLocation, v8);
sub_10028CC90(&a1->m_beginLocation, v6);
if ( !a1->m_scheduled )
{
cocos2d::CCNode::schedule_2(a1, (cocos2d::SEL_SCHEDULE)(unsigned __int64)TableView::checkBoundaryOfContent);
a1->m_scheduled = 1;
}
a1->m_touchLastY = a1->m_beginLocation.y;
return v4;
}
return result;
}