//
// cocos2d::extension::CCTableView::ccTouchCancelled from 0x180016300 to 0x18001639a (154 bytes)
//
// 3 xrefs:
// > ??> @ 0x18002af10
// > ??> @ 0x180032408
// > ??> @ 0x18004c848
//
// 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:15:41 +0000
//
void __fastcall cocos2d::extension::CCTableView::ccTouchCancelled(
cocos2d::CCArray **this,
struct cocos2d::CCTouch *a2,
struct cocos2d::CCEvent *a3)
{
__int64 v5; // rcx
if ( (*((unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))*(this - 40)
+ 43))(
(char *)this - 320,
a2,
a3) )
{
cocos2d::CCArray::removeObject(*(this + 23), a2, 1);
if ( !cocos2d::CCArray::count(*(this + 23)) )
{
*((_BYTE *)this + 116) = 0;
*((_BYTE *)this + 136) = 0;
}
}
if ( *(this + 32) )
{
v5 = (__int64)*(this + 41);
if ( v5 )
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v5 + 40LL))(v5, (char *)this - 320);
*(this + 32) = nullptr;
}
}