// // cocos2d::extension::CCTableView::_addCellIfNecessary from 0xaa7e90 to 0xaa7f44 (180 bytes) // // 3 xrefs: // > cocos2d::extension::CCTableView::insertCellAtIndex @ 0xaa8544 // > cocos2d::extension::CCTableView::updateCellAtIndex @ 0xaa87f0 // > @ 0x48af8 // // 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::_addCellIfNecessary( cocos2d::extension::CCTableView *a1, cocos2d::extension::CCTableViewCell *a2) { cocos2d::CCNode *v4; // x22 cocos2d::CCNode *Container; // x0 _QWORD *v6; // x21 unsigned int Idx; // [xsp+34h] [xbp+34h] BYREF v4 = a2->getParent(a2); if ( v4 != cocos2d::extension::CCScrollView::getContainer(a1) ) { Container = cocos2d::extension::CCScrollView::getContainer(a1); Container->addChild(Container, a2); } cocos2d::extension::CCArrayForObjectSorting::insertSortedObject( *(cocos2d::extension::CCArrayForObjectSorting **)&a1[1].m_uOrderOfArrival, &a2->cocos2d::extension::CCSortableObject); v6 = *(_QWORD **)&a1[1].m_nTag; Idx = cocos2d::extension::CCTableViewCell::getIdx(a2); std::_Rb_tree,std::less,std::allocator>::_M_insert_unique( v6, &Idx); }
GD Web Decomp Icon

GD Web Decomp

Raw Source