//
// TableView::ccTouchBegan from 0x3ca93c to 0x3ca9c0 (132 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'TableView::ccTouchBegan @ 0x3ca9cc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:46:37 +0000
//
int __fastcall TableView::ccTouchBegan(int a1, int a2)
{
int result; // r0
cocos2d::CCDirector *LocationInView; // r0
const cocos2d::CCPoint *v6; // r0
int v7; // r0
_BYTE v8[8]; // [sp+4h] [bp-18h] BYREF
void (__fastcall *v9)(cocos2d::CCArray **, float); // [sp+Ch] [bp-10h] BYREF
int v10; // [sp+10h] [bp-Ch]
result = CCScrollLayerExt::ccTouchBegan(a1, a2);
if ( result )
{
*(_DWORD *)(a1 + 408) = a2;
LocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getLocationInView((cocos2d::CCTouch *)v8);
v6 = (const cocos2d::CCPoint *)cocos2d::CCDirector::sharedDirector(LocationInView);
cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)&v9, v6);
v7 = cocos2d::CCPoint::operator=(a1 + 428, &v9);
cocos2d::CCPoint::operator=(a1 + 412, v7);
if ( !*(_BYTE *)(a1 + 404) )
{
v10 = *(unsigned __int8 *)(a1 + 404);
v9 = TableView::checkBoundaryOfContent;
cocos2d::CCNode::schedule(a1, TableView::checkBoundaryOfContent, v10);
*(_BYTE *)(a1 + 404) = 1;
}
*(_DWORD *)(a1 + 480) = *(_DWORD *)(a1 + 416);
return 1;
}
return result;
}