// // cocos2d::extension::CCTableView::reloadData from 0xaa8260 to 0xaa8408 (424 bytes) // // 2 xrefs: // > cocos2d::extension::CCTableView::setVerticalFillOrder @ 0xaa844c // > @ 0x56808 // // 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::reloadData(cocos2d::extension::CCTableView *a1) { __int64 v2; // x0 unsigned int *v3; // x1 cocos2d::extension::CCTableViewCell **v4; // x21 cocos2d::extension::CCTableViewCell **i; // x23 cocos2d::extension::CCTableViewCell *v6; // x19 __int64 v7; // x0 cocos2d::CCNode *v8; // x22 _QWORD *v9; // x21 __int64 v10; // x19 void *v11; // x0 cocos2d::CCArray *v12; // x19 cocos2d::CCNode *Container; // x0 v2 = *(_QWORD *)&a1[1].m_uOrderOfArrival; a1[1].m_obPosition.y = NAN; if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); if ( *v3 ) { v4 = *((cocos2d::extension::CCTableViewCell ***)v3 + 2); for ( i = &v4[*v3 - 1]; i >= v4; ++v4 ) { v6 = *v4; if ( !*v4 ) break; v7 = *(_QWORD *)&a1[1].m_fVertexZ; if ( v7 ) (*(void (__fastcall **)(__int64, cocos2d::extension::CCTableView *, cocos2d::extension::CCTableViewCell *))(*(_QWORD *)v7 + 56LL))( v7, a1, *v4); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)&a1[1].m_fRotationX, v6); cocos2d::extension::CCTableViewCell::reset(v6); v8 = v6->getParent(v6); if ( v8 == cocos2d::extension::CCScrollView::getContainer(a1) ) { Container = cocos2d::extension::CCScrollView::getContainer(a1); Container->removeChild_0(Container, v6, 1); } } } } v9 = *(_QWORD **)&a1[1].m_nTag; v10 = v9[2]; while ( v10 ) { std::_Rb_tree,std::less,std::allocator>::_M_erase( (__int64)v9, *(_QWORD **)(v10 + 24)); v11 = (void *)v10; v10 = *(_QWORD *)(v10 + 16); operator delete(v11); } v9[2] = 0; v9[3] = v9 + 1; v9[4] = v9 + 1; v9[5] = 0; cocos2d::CCObject::release(*(cocos2d::CCObject **)&a1[1].m_uOrderOfArrival); v12 = (cocos2d::CCArray *)operator new(0x40u); cocos2d::CCArray::CCArray(v12); v12->__vftable = (cocos2d::CCArray_vtbl *)&off_11F9760; *(_QWORD *)&a1[1].m_uOrderOfArrival = v12; cocos2d::extension::CCTableView::_updateCellPositions(a1); cocos2d::extension::CCTableView::_updateContentSize(a1); if ( (*(unsigned int (__fastcall **)(_QWORD, cocos2d::extension::CCTableView *))(**(_QWORD **)&a1[1].m_fScaleX + 40LL))( *(_QWORD *)&a1[1].m_fScaleX, a1) ) { a1->scrollViewDidScroll(a1, a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source