// // cocos2d::extension::CCTableView::_updateContentSize from 0xaa7670 to 0xaa77a8 (312 bytes) // // 4 xrefs: // > cocos2d::extension::CCTableView::create @ 0xaa81b4 // > cocos2d::extension::CCTableView::reloadData @ 0xaa838c // > cocos2d::extension::CCTableView::insertCellAtIndex @ 0xaa8560 // > @ 0x39de0 // // 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::_updateContentSize(cocos2d::extension::CCTableView *a1) { unsigned int v2; // w0 long double v3; // q0 __int64 v4; // x2 float height; // s1 float width; // s0 cocos2d::CCScrollViewDirection m_eDirection; // w0 float v8; // s1 cocos2d::CCSize v9; // [xsp+40h] [xbp+40h] BYREF float v10; // [xsp+4Ch] [xbp+4Ch] cocos2d::CCPoint v11; // [xsp+50h] [xbp+50h] BYREF cocos2d::CCPoint v12; // 0:s0.4,4:s1.4 cocos2d::CCSize::CCSize(&v9, &stru_1244968); v2 = (*(__int64 (__fastcall **)(_QWORD, cocos2d::extension::CCTableView *))(**(_QWORD **)&a1[1].m_fScaleX + 40LL))( *(_QWORD *)&a1[1].m_fScaleX, a1); if ( v2 ) { v4 = *(_QWORD *)&a1[1].m_uAutoReleaseCount; height = *(float *)(v4 + 4LL * v2); if ( a1->m_eDirection ) { width = a1->m_tViewSize.width; } else { width = *(float *)(v4 + 4LL * v2); height = a1->m_tViewSize.height; } cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v11, width, height); *(__n128 *)&v3 = cocos2d::CCSize::operator=(&v9); } ((void (__fastcall *)(cocos2d::extension::CCTableView *, cocos2d::CCSize *, long double))a1->setContentSize)( a1, &v9, v3); m_eDirection = a1->m_eDirection; if ( LODWORD(a1[1].m_obPosition.y) != m_eDirection ) { if ( m_eDirection ) { cocos2d::extension::CCScrollView::minContainerOffset(a1); v8 = v10; } else { v8 = 0.0; } cocos2d::CCPoint::CCPoint(&v11, 0.0, v8); cocos2d::extension::CCScrollView::setContentOffset(a1, v12, (bool)&v11); LODWORD(a1[1].m_obPosition.y) = a1->m_eDirection; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source