//
// cocos2d::extension::CCTableView::CCTableView from 0x18001c660 to 0x18001c808 (424 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004ce78
//
// 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:43 +0000
//
// Hidden C++ exception states: #wind=2
cocos2d::extension::CCTableView *__fastcall cocos2d::extension::CCTableView::CCTableView(
cocos2d::extension::CCTableView *this,
const struct cocos2d::extension::CCTableView *a2)
{
unsigned __int64 v4; // rbx
size_t v5; // rbx
unsigned __int64 v6; // rax
char *v7; // rdi
const void *v8; // rdx
signed __int64 v9; // rbx
cocos2d::extension::CCScrollView::CCScrollView(this, a2);
*(_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';
*((_QWORD *)this + 72) = *((_QWORD *)a2 + 72);
*((_DWORD *)this + 146) = *((_DWORD *)a2 + 146);
*((_QWORD *)this + 74) = *((_QWORD *)a2 + 74);
*((_QWORD *)this + 75) = 0;
*((_QWORD *)this + 76) = 0;
*((_QWORD *)this + 77) = 0;
v4 = (__int64)(*((_QWORD *)a2 + 76) - *((_QWORD *)a2 + 75)) >> 2;
if ( v4 )
{
if ( v4 > 0x3FFFFFFFFFFFFFFFLL )
sub_180003130();
v5 = 4 * v4;
v6 = sub_180003940(v5);
*((_QWORD *)this + 75) = v6;
*((_QWORD *)this + 76) = v6;
*((_QWORD *)this + 77) = v5 + v6;
v7 = *((char **)this + 75);
v8 = *((const void **)a2 + 75);
v9 = *((_QWORD *)a2 + 76) - (_QWORD)v8;
memmove(v7, v8, v9);
*((_QWORD *)this + 76) = &v7[4 * (v9 >> 2)];
}
*((_QWORD *)this + 78) = *((_QWORD *)a2 + 78);
*((_QWORD *)this + 79) = *((_QWORD *)a2 + 79);
*((_QWORD *)this + 80) = *((_QWORD *)a2 + 80);
*((_QWORD *)this + 81) = *((_QWORD *)a2 + 81);
*((_DWORD *)this + 164) = *((_DWORD *)a2 + 164);
return this;
}