//
// cocos2d::extension::CCTableView::ccTouchEnded from 0x7b01d0 to 0x7b0272 (162 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCTableView::ccTouchEnded @ 0x7b027c
//
// 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 12:00:06 +0000
//
int __fastcall cocos2d::extension::CCTableView::ccTouchEnded(int a1, cocos2d::CCObject *a2)
{
int result; // r0
int v5; // r0
_BYTE v6[8]; // [sp+4h] [bp-20h] BYREF
_BYTE v7[16]; // [sp+Ch] [bp-18h] BYREF
result = (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 176))(a1);
if ( result )
{
if ( *(_DWORD *)(a1 + 452) )
{
cocos2d::CCNode::boundingBox((cocos2d::CCNode *)v7);
cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v6, *(const cocos2d::CCPoint **)(a1 + 196));
cocos2d::CCPoint::operator=(v7, v6);
cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v6);
if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v7, (const cocos2d::CCPoint *)v6) )
{
v5 = *(_DWORD *)(a1 + 488);
if ( v5 )
{
(*(void (__fastcall **)(int, int, _DWORD))(*(_DWORD *)v5 + 24))(v5, a1, *(_DWORD *)(a1 + 452));
(*(void (__fastcall **)(_DWORD, int, _DWORD))(**(_DWORD **)(a1 + 488) + 16))(
*(_DWORD *)(a1 + 488),
a1,
*(_DWORD *)(a1 + 452));
}
}
*(_DWORD *)(a1 + 452) = 0;
}
return cocos2d::extension::CCScrollView::ccTouchEnded(a1, a2);
}
return result;
}