//
// cocos2d::extension::CCTableView::~CCTableView from 0x180014a80 to 0x180014bb7 (311 bytes)
//
// 5 xrefs:
// > sub_180016B60 @ 0x180016bbe
// > sub_180016B60 @ 0x180016b7c
// > ??> @ 0x180032408
// > ??> @ 0x18004c644
// > ??> @ 0x18004c650
//
// 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::~CCTableView(cocos2d::extension::CCTableView *this)
{
void **v2; // rsi
_QWORD *v3; // rbx
void *v4; // rcx
cocos2d::CCObject *v5; // rcx
cocos2d::CCObject *v6; // rcx
*(_QWORD *)this = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCTouchDelegate'};
*((_QWORD *)this + 41) = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
*((_QWORD *)this + 42) = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCKeypadDelegate'};
*((_QWORD *)this + 43) = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCKeyboardDelegate'};
*((_QWORD *)this + 44) = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCMouseDelegate'};
*((_QWORD *)this + 71) = &cocos2d::extension::CCTableView::`vftable';
v2 = *((void ***)this + 74);
if ( v2 )
{
v3 = *((_QWORD **)*v2 + 1);
while ( !*((_BYTE *)v3 + 25) )
{
sub_180016710(v2, v2, v3[2]);
v4 = v3;
v3 = (_QWORD *)*v3;
j_j_free(v4);
}
j_j_free(*v2);
j_j_free(v2);
*((_QWORD *)this + 74) = 0;
}
v5 = *((cocos2d::CCObject **)this + 78);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 79);
if ( v6 )
cocos2d::CCObject::release(v6);
cocos2d::extension::CCTableView::unregisterAllScriptHandler(this);
sub_180016AD0((char *)this + 600);
*((_QWORD *)this + 71) = &cocos2d::extension::CCScrollViewDelegate::`vftable';
cocos2d::extension::CCScrollView::~CCScrollView(this);
}