// // cocos2d::extension::CCTableView::_moveCellOutOfSight from 0x10042cd70 to 0x10042ceaf (319 bytes) // // 4 xrefs: // > cocos2d::extension::CCTableView::updateCellAtIndex @ 0x10042ccf2 // > cocos2d::extension::CCTableView::removeCellAtIndex @ 0x10042d274 // > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0x10042d8e4 // > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0x10042d936 // // 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::_moveCellOutOfSight( cocos2d::extension::CCTableView *a1, cocos2d::extension::CCTableViewCell *a2) { __int64 v4; // rdi cocos2d::extension::CCSortableObject *v5; // rsi _QWORD *v6; // r12 unsigned int Idx; // eax __int64 *v8; // rdi _QWORD *v9; // r15 __int64 v10; // rdx _QWORD *v11; // rcx _QWORD *v12; // rax _QWORD *v13; // rcx bool v14; // zf cocos2d::CCNode *v15; // r15 cocos2d::CCNode *Container; // rax v4 = *(_QWORD *)&a1[1].m_fVertexZ; if ( v4 ) (*(void (__fastcall **)(__int64, cocos2d::extension::CCTableView *, cocos2d::extension::CCTableViewCell *))(*(_QWORD *)v4 + 56LL))( v4, a1, a2); sub_10071FCD0(*(_QWORD *)&a1[1].m_fRotationX, a2); v5 = &a2->cocos2d::extension::CCSortableObject; if ( !a2 ) v5 = nullptr; cocos2d::extension::CCArrayForObjectSorting::removeSortedObject( *(cocos2d::extension::CCArrayForObjectSorting **)&a1[1].m_uOrderOfArrival, v5); v6 = *(_QWORD **)&a1[1].m_nTag; Idx = cocos2d::extension::CCTableViewCell::getIdx(a2); v8 = (__int64 *)v6[1]; if ( v8 ) { v9 = v6 + 1; v10 = v6[1]; do { if ( *(_DWORD *)(v10 + 28) >= Idx ) v9 = (_QWORD *)v10; v10 = *(_QWORD *)(v10 + 8LL * (*(_DWORD *)(v10 + 28) < Idx)); } while ( v10 ); if ( v9 != v6 + 1 && Idx >= *((_DWORD *)v9 + 7) ) { v11 = (_QWORD *)v9[1]; if ( v11 ) { do { v12 = v11; v11 = (_QWORD *)*v11; } while ( v11 ); } else { v13 = v9; do { v12 = (_QWORD *)v13[2]; v14 = *v12 == (_QWORD)v13; v13 = v12; } while ( !v14 ); } if ( (_QWORD *)*v6 == v9 ) *v6 = v12; --v6[2]; sub_100165F60(v8, v9); operator delete(v9); } } cocos2d::extension::CCTableViewCell::reset(a2); v15 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::extension::CCTableViewCell *))a2->getParent)(a2); if ( v15 == cocos2d::extension::CCScrollView::getContainer(a1) ) { Container = cocos2d::extension::CCScrollView::getContainer(a1); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::extension::CCTableViewCell *, __int64))Container->removeChild_0)( Container, a2, 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source