// // cocos2d::extension::CCTableView::removeCellAtIndex from 0x5aa4ea to 0x5aa56a (128 bytes) // // 0 xrefs: // // 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 cocos2d::extension::CCTableView::removeCellAtIndex(cocos2d::extension::CCTableView *a1, unsigned int a2) { int v3; // r0 cocos2d::extension::CCTableViewCell *v4; // r0 cocos2d::extension::CCTableViewCell *v5; // r5 unsigned int v6; // r6 unsigned int v7; // r5 cocos2d::extension::CCTableViewCell *v8; // r0 cocos2d::extension::CCTableViewCell *v9; // r7 unsigned int Idx; // r0 unsigned int v11; // [sp+4h] [bp-8h] BYREF v11 = a2; if ( a2 != -1 ) { v3 = (*(int (__fastcall **)(int, cocos2d::extension::CCTableView *))(*(_DWORD *)a1[1].m_uUnknown + 20))( a1[1].m_uUnknown, a1); if ( v3 ) { if ( v11 <= v3 - 1 ) { v4 = cocos2d::extension::CCTableView::cellAtIndex(a1, v11); v5 = v4; if ( v4 ) { v6 = cocos2d::extension::CCArrayForObjectSorting::indexOfSortedObject( (cocos2d::extension::CCArrayForObjectSorting *)a1[1].m_eObjType, &v4->cocos2d::extension::CCSortableObject); cocos2d::extension::CCTableView::_moveCellOutOfSight(a1, v5); std::_Rb_tree,std::less,std::allocator>::erase( (_DWORD *)a1[1].m_nLuaID, &v11); cocos2d::extension::CCTableView::_updateCellPositions(a1); v7 = cocos2d::CCArray::count((cocos2d::CCArray *)a1[1].m_eObjType) - 1; while ( v7 > v6 ) { v8 = (cocos2d::extension::CCTableViewCell *)cocos2d::CCArray::objectAtIndex( (cocos2d::CCArray *)a1[1].m_eObjType, v7--); v9 = v8; Idx = cocos2d::extension::CCTableViewCell::getIdx(v8); cocos2d::extension::CCTableView::_setIndexForCell(a1, Idx - 1, v9); } } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source