//
// cocos2d::extension::CCTableView::_moveCellOutOfSight from 0xd1a2bc to 0xd1a3b0 (244 bytes)
//
// 5 xrefs:
// > cocos2d::extension::CCTableView::removeCellAtIndex @ 0xd1a434
// > cocos2d::extension::CCTableView::updateCellAtIndex @ 0xd1a674
// > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0xd1a8c0
// > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0xd1a8d8
// > ??> @ 0xaab00
//
// This function is hookable on this platform (idp: arm, 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 13:07:08 +0000
//
__int64 __fastcall cocos2d::extension::CCTableView::_moveCellOutOfSight(
cocos2d::extension::CCTableView *this,
cocos2d::extension::CCTableViewCell *a2)
{
__int64 v4; // x0
char *v5; // x1
_QWORD *v6; // x22
__int64 v7; // x22
__int64 Container; // x0
unsigned int Idx; // [xsp+34h] [xbp+34h] BYREF
v4 = *((_QWORD *)this + 81);
if ( v4 )
(*(void (__fastcall **)(__int64, cocos2d::extension::CCTableView *, cocos2d::extension::CCTableViewCell *))(*(_QWORD *)v4 + 56LL))(
v4,
this,
a2);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 79), a2);
v5 = (char *)a2 + 320;
if ( !a2 )
v5 = nullptr;
cocos2d::extension::CCArrayForObjectSorting::removeSortedObject(*((_QWORD *)this + 78), v5);
v6 = *((_QWORD **)this + 74);
Idx = cocos2d::extension::CCTableViewCell::getIdx(a2);
std::__tree::__erase_unique(v6, &Idx);
cocos2d::extension::CCTableViewCell::reset(a2);
v7 = (*(__int64 (__fastcall **)(cocos2d::extension::CCTableViewCell *))(*(_QWORD *)a2 + 512LL))(a2);
if ( v7 == cocos2d::extension::CCScrollView::getContainer(this) )
{
Container = cocos2d::extension::CCScrollView::getContainer(this);
(*(void (__fastcall **)(__int64, cocos2d::extension::CCTableViewCell *, __int64))(*(_QWORD *)Container + 552LL))(
Container,
a2,
1);
}
return _stack_chk_guard;
}