//
// TableView::ccTouchMoved from 0x3caa5c to 0x3caafc (160 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'TableView::ccTouchMoved @ 0x3cab04
//
// 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::ccTouchMoved(int a1, cocos2d::CCObject *a2, int a3)
{
cocos2d::CCDirector *LocationInView; // r0
const cocos2d::CCPoint *v7; // r0
int result; // r0
int v9; // [sp+4h] [bp+0h] BYREF
float v10; // [sp+8h] [bp+4h]
_BYTE v11[8]; // [sp+Ch] [bp+8h] BYREF
CCScrollLayerExt::ccTouchMoved(a1, (int)a2);
*(_BYTE *)(a1 + 440) = 1;
LocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getLocationInView((cocos2d::CCTouch *)&v9);
v7 = (const cocos2d::CCPoint *)cocos2d::CCDirector::sharedDirector(LocationInView);
cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v11, v7);
result = cocos2d::CCPoint::operator=(&v9, v11);
if ( a2 == *(cocos2d::CCObject **)(a1 + 408) )
{
cocos2d::CCPoint::operator-(v11, &v9, a1 + 428);
result = cocos2d::CCPoint::operator=(a1 + 428, &v9);
}
if ( fabsf(v10 - *(float *)(a1 + 480)) >= 10.0 )
{
*(float *)(a1 + 480) = v10;
return TableView::cancelAndStoleTouch((TableView *)a1, a2, a3);
}
return result;
}