// // cocos2d::extension::CCTableView::reloadData from 0x10042ca40 to 0x10042cbb6 (374 bytes) // // 1 xrefs: // > cocos2d::extension::CCTableView::setVerticalFillOrder @ 0x10042ca30 // // 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::reloadData(cocos2d::extension::CCTableView *a1) { __int64 v2; // rax unsigned int *v3; // rax cocos2d::extension::CCTableViewCell **v4; // r12 unsigned __int64 v5; // r13 cocos2d::extension::CCTableViewCell *v6; // r14 __int64 v7; // rdi cocos2d::CCNode *v8; // r15 cocos2d::CCNode *Container; // rax __int64 v10; // r14 _QWORD *v11; // r14 a1[1].m_obPosition.y = NAN; v2 = *(_QWORD *)&a1[1].m_uOrderOfArrival; if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); if ( *v3 ) { v4 = *((cocos2d::extension::CCTableViewCell ***)v3 + 2); v5 = (unsigned __int64)&v4[*v3 - 1]; do { 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); sub_10071FCD0(*(_QWORD *)&a1[1].m_fRotationX, v6); cocos2d::extension::CCTableViewCell::reset(v6); v8 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::extension::CCTableViewCell *))v6->getParent)(v6); if ( v8 == cocos2d::extension::CCScrollView::getContainer(a1) ) { Container = cocos2d::extension::CCScrollView::getContainer(a1); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::extension::CCTableViewCell *, __int64))Container->removeChild_0)( Container, v6, 1); } ++v4; } while ( (unsigned __int64)v4 <= v5 ); } } v10 = *(_QWORD *)&a1[1].m_nTag; sub_100054D90(v10, *(_QWORD **)(v10 + 8)); *(_QWORD *)v10 = v10 + 8; *(_OWORD *)(v10 + 8) = 0; cocos2d::CCObject::release(*(cocos2d::CCObject **)&a1[1].m_uOrderOfArrival); v11 = operator new(0x40u); sub_10071F800(v11); *v11 = off_100935BB8; *(_QWORD *)&a1[1].m_uOrderOfArrival = v11; 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) ) { ((void (__fastcall *)(cocos2d::extension::CCTableView *, cocos2d::extension::CCTableView *))a1->scrollViewDidScroll)( a1, a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source