// // cocos2d::extension::CCTableView::updateCellAtIndex from 0x10042cc50 to 0x10042cd6e (286 bytes) // // 1 xrefs: // > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0x10042d976 // // 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::updateCellAtIndex( cocos2d::extension::CCTableView *a1, unsigned int a2) { int v2; // eax __int64 v3; // rax __int64 v4; // rcx __int64 v5; // rax __int64 v6; // rdx cocos2d::extension::CCSortableObject *v7; // rax cocos2d::extension::CCTableViewCell *v8; // r15 float v9[12]; // [rsp-30h] [rbp-30h] BYREF double v10; // 0:xmm0_8.8 if ( a2 != -1 ) { v2 = (*(__int64 (__fastcall **)(_QWORD, cocos2d::extension::CCTableView *))(**(_QWORD **)&a1[1].m_fScaleX + 40LL))( *(_QWORD *)&a1[1].m_fScaleX, a1); if ( v2 != 0 && v2 - 1 >= a2 ) { v3 = *(_QWORD *)&a1[1].m_nTag; v4 = *(_QWORD *)(v3 + 8); if ( v4 ) { v5 = v3 + 8; v6 = v5; do { if ( *(_DWORD *)(v4 + 28) >= a2 ) v6 = v4; v4 = *(_QWORD *)(v4 + 8LL * (*(_DWORD *)(v4 + 28) < a2)); } while ( v4 ); if ( v6 != v5 && *(_DWORD *)(v6 + 28) <= a2 ) { v7 = cocos2d::extension::CCArrayForObjectSorting::objectWithObjectID( *(cocos2d::extension::CCArrayForObjectSorting **)&a1[1].m_uOrderOfArrival, a2); if ( v7 ) cocos2d::extension::CCTableView::_moveCellOutOfSight(a1, (cocos2d::extension::CCTableViewCell *)&v7[-40]); } } v8 = (cocos2d::extension::CCTableViewCell *)(*(__int64 (__fastcall **)(_QWORD, cocos2d::extension::CCTableView *, _QWORD))(**(_QWORD **)&a1[1].m_fScaleX + 32LL))( *(_QWORD *)&a1[1].m_fScaleX, a1, a2); sub_10028CBE0(v9, 0.0, 0.0); ((void (__fastcall *)(cocos2d::extension::CCTableViewCell *, float *))v8->setAnchorPoint)(v8, v9); *(cocos2d::CCPoint *)&v10 = cocos2d::extension::CCTableView::_offsetFromIndex( (cocos2d::extension::CCTableView *)v9, (unsigned int)a1); ((void (__fastcall *)(cocos2d::extension::CCTableViewCell *, float *, double))v8->setPosition)(v8, v9, v10); cocos2d::extension::CCTableViewCell::setIdx(v8, a2); cocos2d::extension::CCTableView::_addCellIfNecessary(a1, v8); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source