//
// TableView::ccTouchBegan from 0x1006ff450 to 0x1006ff501 (177 bytes)
//
// 2 xrefs:
// > sub_1006FFD30 @ 0x1006ffd3c
// > ??> @ 0x100b96288
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:35:57 +0000
//
char __fastcall TableView::ccTouchBegan(__int64 a1, __int64 a2)
{
char result; // al
char v3; // r12
__int64 v4; // rax
_QWORD *v5; // rax
unsigned __int64 v6; // [rsp+0h] [rbp-30h] BYREF
float v7[10]; // [rsp+8h] [rbp-28h] BYREF
result = CCScrollLayerExt::ccTouchBegan(a1, a2);
if ( result )
{
v3 = result;
*(_QWORD *)(a1 + 544) = a2;
cocos2d::CCTouch::getLocationInView((__int64)&v6, a2);
v4 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL(v7, v4, &v6);
v5 = sub_100278300((_QWORD *)(a1 + 568), v7);
sub_100278300((_QWORD *)(a1 + 552), v5);
if ( !*(_BYTE *)(a1 + 536) )
{
cocos2d::CCNode::schedule_2(a1, (__int64)TableView::checkBoundaryOfContent, 0);
*(_BYTE *)(a1 + 536) = 1;
}
*(_DWORD *)(a1 + 660) = *(_DWORD *)(a1 + 556);
return v3;
}
return result;
}