//
// TableView::ccTouchMoved from 0x1006fff80 to 0x10070004d (205 bytes)
//
// 2 xrefs:
// > sub_100700050 @ 0x10070005c
// > ??> @ 0x100b96290
//
// 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:58 +0000
//
_QWORD *__fastcall TableView::ccTouchMoved(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // rax
_QWORD *result; // rax
__int64 v6; // [rsp+8h] [rbp-38h] BYREF
unsigned __int64 v7[6]; // [rsp+10h] [rbp-30h] BYREF
CCScrollLayerExt::ccTouchMoved(a1, a2);
*(_BYTE *)(a1 + 584) = 1;
cocos2d::CCTouch::getLocationInView((__int64)v7, a2);
v4 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL((float *)&v6, v4, v7);
result = sub_100278300(v7, &v6);
if ( *(_QWORD *)(a1 + 544) == a2 )
{
sub_100278370((double *)&v6, v7, (unsigned __int64 *)(a1 + 568));
result = sub_100278300((_QWORD *)(a1 + 568), v7);
}
if ( fabs(*((float *)v7 + 1) - *(float *)(a1 + 660)) >= 10.0 )
{
*(_DWORD *)(a1 + 660) = HIDWORD(v7[0]);
return (_QWORD *)TableView::cancelAndStoleTouch(a1, a2, a3);
}
return result;
}