// // cocos2d::extension::CCTableView::removeCellAtIndex from 0xd1a3b0 to 0xd1a4a0 (240 bytes) // // 1 xrefs: // > @ 0x9d600 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:07:08 +0000 // __int64 __fastcall cocos2d::extension::CCTableView::removeCellAtIndex(__int64 this, unsigned int a2) { __int64 v2; // x19 cocos2d::extension::CCTableViewCell *v3; // x20 unsigned int v4; // w21 unsigned int i; // w20 unsigned int v6; // w1 int Idx; // w0 cocos2d::extension::CCTableViewCell *v8; // [xsp+30h] [xbp+30h] unsigned int v9; // [xsp+3Ch] [xbp+3Ch] BYREF v9 = a2; if ( a2 != -1 ) { v2 = this; this = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(this + 640) + 40LL))( *(_QWORD *)(this + 640), this); if ( (_DWORD)this ) { this = (unsigned int)(this - 1); if ( (unsigned int)this >= v9 ) { this = cocos2d::extension::CCTableView::cellAtIndex((cocos2d::extension::CCTableView *)v2, v9); v3 = (cocos2d::extension::CCTableViewCell *)this; if ( this ) { v4 = cocos2d::extension::CCArrayForObjectSorting::indexOfSortedObject(*(_QWORD *)(v2 + 624), this + 320); cocos2d::extension::CCTableView::_moveCellOutOfSight((cocos2d::extension::CCTableView *)v2, v3); std::__tree::__erase_unique(*(_QWORD **)(v2 + 592), &v9); cocos2d::extension::CCTableView::_updateCellPositions((cocos2d::extension::CCTableView *)v2); this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 624)); for ( i = this - 1; v4 < i; this = cocos2d::extension::CCTableView::_setIndexForCell( (cocos2d::extension::CCTableView *)v2, Idx - 1, v8) ) { v6 = i--; v8 = (cocos2d::extension::CCTableViewCell *)cocos2d::CCArray::objectAtIndex( *(cocos2d::CCArray **)(v2 + 624), v6); Idx = cocos2d::extension::CCTableViewCell::getIdx(v8); } } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source