//
// TableView::dTableView from 0x1002fe89c to 0x1002fe958 (188 bytes)
//
// 4 xrefs:
// > j_TableView::dTableView @ 0x1002fe95c
// > sub_1002FE960 @ 0x1002fe964
// > sub_1002FE968 @ 0x1002fe970
// > sub_1002FE97C @ 0x1002fe988
//
// 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
//
__int64 __fastcall TableView::dTableView(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
*(_QWORD *)a1 = off_1007EAFE8;
*(_QWORD *)(a1 + 320) = off_1007EB4A0;
*(_QWORD *)(a1 + 328) = &off_1007EB510;
*(_QWORD *)(a1 + 336) = off_1007EB528;
*(_QWORD *)(a1 + 344) = &off_1007EB548;
*(_QWORD *)(a1 + 352) = off_1007EB568;
*(_QWORD *)(a1 + 512) = off_1007EB590;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)a1, 1);
sub_10024A45C(*(_QWORD *)(a1 + 576));
v2 = *(_QWORD *)(a1 + 576);
if ( v2 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
*(_QWORD *)(a1 + 576) = 0;
sub_10024A45C(*(_QWORD *)(a1 + 584));
v3 = *(_QWORD *)(a1 + 584);
if ( v3 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
*(_QWORD *)(a1 + 584) = 0;
sub_10024A45C(*(_QWORD *)(a1 + 592));
v4 = *(_QWORD *)(a1 + 592);
if ( v4 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);
*(_QWORD *)(a1 + 592) = 0;
return CCScrollLayerExt::dCCScrollLayerExt(a1);
}