// // cocos2d::extension::CCTableView::_updateCellPositions from 0xd19d30 to 0xd19eac (380 bytes) // // 5 xrefs: // > cocos2d::extension::CCTableView::create @ 0xd19f1c // > cocos2d::extension::CCTableView::reloadData @ 0xd1a0f0 // > cocos2d::extension::CCTableView::removeCellAtIndex @ 0xd1a448 // > cocos2d::extension::CCTableView::insertCellAtIndex @ 0xd1aa78 // > @ 0xff688 // // 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::_updateCellPositions(cocos2d::extension::CCTableView *this) { int v2; // w24 __int64 v3; // x3 int v4; // w2 __int64 v5; // x0 unsigned __int64 v6; // x1 __int64 v7; // x2 float v8; // s8 __int64 v9; // x21 unsigned int v10; // w20 float v12[2]; // [xsp+58h] [xbp+58h] BYREF int v13; // [xsp+60h] [xbp+60h] BYREF v2 = (*(__int64 (__fastcall **)(_QWORD, cocos2d::extension::CCTableView *))(**((_QWORD **)this + 80) + 40LL))( *((_QWORD *)this + 80), this); v3 = *((_QWORD *)this + 76); v4 = v2 + 1; v5 = *((_QWORD *)this + 75); v6 = (v3 - v5) >> 2; v13 = 0; if ( v2 + 1 > v6 ) { std::vector::__append((__int64)this + 600, v4 - v6, &v13); } else if ( v4 < v6 ) { v7 = v5 + 4LL * v4; if ( v3 != v7 ) *((_QWORD *)this + 76) = v3 + 4 * ~((unsigned __int64)(v3 - 4 - v7) >> 2); } if ( v2 > 0 ) { v8 = 0.0; v9 = 0; v10 = 0; cocos2d::CCSize::CCSize((cocos2d::CCSize *)v12); do { while ( 1 ) { *(float *)(*((_QWORD *)this + 75) + v9) = v8; (*(void (__fastcall **)(_QWORD, cocos2d::extension::CCTableView *, _QWORD))(**((_QWORD **)this + 80) + 16LL))( *((_QWORD *)this + 80), this, v10); cocos2d::CCSize::operator=(v12, &v13); if ( *((_DWORD *)this + 106) ) break; ++v10; v9 += 4; v8 = v8 + v12[0]; if ( v2 == v10 ) goto LABEL_10; } ++v10; v9 += 4; v8 = v8 + v12[1]; } while ( v2 != v10 ); LABEL_10: *(float *)(*((_QWORD *)this + 75) + 4LL * v2) = v8; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source