// // cocos2d::extension::CCTableView::insertCellAtIndex from 0x7b0134 to 0x7b01d0 (156 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:06 +0000 // int __fastcall cocos2d::extension::CCTableView::insertCellAtIndex(int this, float a2) { int v2; // r4 int v4; // r0 cocos2d::extension::CCTableViewCell *v5; // r6 unsigned int v6; // r6 cocos2d::extension::CCTableViewCell *v7; // r0 cocos2d::extension::CCTableViewCell *v8; // r7 int Idx; // r0 v2 = this; if ( a2 != NAN ) { this = (*(int (__fastcall **)(_DWORD, int))(**(_DWORD **)(this + 484) + 20))(*(_DWORD *)(this + 484), this); if ( this ) { if ( LODWORD(a2) <= --this ) { v4 = cocos2d::extension::CCArrayForObjectSorting::objectWithObjectID( *(cocos2d::extension::CCArrayForObjectSorting **)(v2 + 476), LODWORD(a2)); if ( v4 && v4 != 264 ) { v6 = cocos2d::extension::CCArrayForObjectSorting::indexOfSortedObject(*(_DWORD *)(v2 + 476), v4); while ( v6 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 476)) ) { v7 = (cocos2d::extension::CCTableViewCell *)cocos2d::CCArray::objectAtIndex( *(cocos2d::CCArray **)(v2 + 476), v6++); v8 = v7; Idx = cocos2d::extension::CCTableViewCell::getIdx(v7); cocos2d::extension::CCTableView::_setIndexForCell( (cocos2d::extension::CCTableView *)v2, COERCE_FLOAT(Idx + 1), v8); } } v5 = (cocos2d::extension::CCTableViewCell *)(*(int (__fastcall **)(_DWORD, int, float))(**(_DWORD **)(v2 + 484) + 16))( *(_DWORD *)(v2 + 484), v2, COERCE_FLOAT(LODWORD(a2))); cocos2d::extension::CCTableView::_setIndexForCell((cocos2d::extension::CCTableView *)v2, a2, v5); cocos2d::extension::CCTableView::_addCellIfNecessary((cocos2d::extension::CCTableView *)v2, v5); cocos2d::extension::CCTableView::_updateCellPositions((cocos2d::extension::CCTableView *)v2); return cocos2d::extension::CCTableView::_updateContentSize((cocos2d::extension::CCTableView *)v2); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source