// // cocos2d::extension::CCTableView::_updateCellPositions from 0xaa7fd8 to 0xaa813c (356 bytes) // // 5 xrefs: // > cocos2d::extension::CCTableView::create @ 0xaa81ac // > cocos2d::extension::CCTableView::reloadData @ 0xaa8384 // > cocos2d::extension::CCTableView::insertCellAtIndex @ 0xaa854c // > cocos2d::extension::CCTableView::removeCellAtIndex @ 0xaa8b64 // > @ 0xc4410 // // 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::_updateCellPositions(cocos2d::extension::CCTableView *a1) { int v2; // w24 int32x4_t *v3; // x1 int v4; // w3 __int64 v5; // x0 int32x2_t v6; // d0 unsigned __int64 v7; // x2 float v8; // s8 __int64 v9; // x21 unsigned int v10; // w20 __int64 *v11; // x0 __int64 v12; // x3 cocos2d::CCSize v13; // [xsp+58h] [xbp+58h] BYREF unsigned __int32 v14; // [xsp+60h] [xbp+60h] BYREF v2 = (*(__int64 (__fastcall **)(_QWORD, cocos2d::extension::CCTableView *))(**(_QWORD **)&a1[1].m_fScaleX + 40LL))( *(_QWORD *)&a1[1].m_fScaleX, a1); v3 = *(int32x4_t **)&a1[1].m_uIndexInArray; v4 = v2 + 1; v5 = *(_QWORD *)&a1[1].m_uAutoReleaseCount; v6.n64_u32[0] = 0; v7 = ((__int64)v3 - v5) >> 2; v14 = 0; if ( v2 + 1 > v7 ) { std::vector::_M_fill_insert((__int64)&a1[1].m_uAutoReleaseCount, v3, v4 - v7, &v14, v6); } else if ( v4 < v7 ) { *(_QWORD *)&a1[1].m_uIndexInArray = v5 + 4LL * v4; } if ( v2 > 0 ) { v8 = 0.0; v9 = 0; v10 = 0; cocos2d::CCSize::CCSize(&v13); do { while ( 1 ) { v11 = *(__int64 **)&a1[1].m_fScaleX; v12 = *v11; *(float *)(*(_QWORD *)&a1[1].m_uAutoReleaseCount + v9) = v8; (*(void (__fastcall **)(__int64 *, cocos2d::extension::CCTableView *, _QWORD))(v12 + 16))(v11, a1, v10); cocos2d::CCSize::operator=(&v13); if ( a1->m_eDirection ) break; ++v10; v9 += 4; v8 = v8 + v13.width; if ( v2 == v10 ) goto LABEL_9; } ++v10; v9 += 4; v8 = v8 + v13.height; } while ( v2 != v10 ); LABEL_9: *(float *)(*(_QWORD *)&a1[1].m_uAutoReleaseCount + 4LL * v2) = v8; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source