//
// cocos2d::extension::CCTableView::ccTouchCancelled from 0x180016690 to 0x18001672a (154 bytes)
//
// 3 xrefs:
// > ??> @ 0x180028868
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004a920
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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)
+ 41))(
(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;
}
}