// // cocos2d::extension::CCTableView::_updateContentSize from 0x10042c5b0 to 0x10042c6a0 (240 bytes) // // 3 xrefs: // > cocos2d::extension::CCTableView::create @ 0x10042c2d5 // > cocos2d::extension::CCTableView::reloadData @ 0x10042cb6e // > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x10042d192 // // 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::_updateContentSize(cocos2d::extension::CCTableView *a1) { unsigned int v1; // eax __int64 v2; // rcx float height; // xmm1_4 float width; // xmm0_4 cocos2d::CCScrollViewDirection m_eDirection; // eax float v6; // xmm1_4 char v7; // [rsp+8h] [rbp-28h] BYREF float v8; // [rsp+Ch] [rbp-24h] __int64 v9; // [rsp+10h] [rbp-20h] BYREF float v10[6]; // [rsp+18h] [rbp-18h] BYREF sub_10028CFC0(&v9, &qword_1009A1620); v1 = (*(__int64 (__fastcall **)(_QWORD, cocos2d::extension::CCTableView *))(**(_QWORD **)&a1[1].m_fScaleX + 40LL))( *(_QWORD *)&a1[1].m_fScaleX, a1); if ( v1 ) { v2 = *(_QWORD *)&a1[1].m_uAutoReleaseCount; height = *(float *)(v2 + 4LL * v1); if ( a1->m_eDirection ) { width = a1->m_tViewSize.width; } else { width = *(float *)(v2 + 4LL * v1); height = a1->m_tViewSize.height; } sub_10028CBF0(v10, width, height); sub_10028CFF0(&v9, v10); } ((void (__fastcall *)(cocos2d::extension::CCTableView *, __int64 *))a1->setContentSize)(a1, &v9); m_eDirection = a1->m_eDirection; if ( LODWORD(a1[1].m_obPosition.y) != m_eDirection ) { if ( m_eDirection ) { cocos2d::extension::CCScrollView::minContainerOffset((cocos2d::extension::CCScrollView *)&v7); v6 = v8; } else { v6 = 0.0; } sub_10028CBE0(v10, 0.0, v6); cocos2d::extension::CCScrollView::setContentOffset(a1, 0, (bool)v10); LODWORD(a1[1].m_obPosition.y) = a1->m_eDirection; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source