// // cocos2d::extension::CCTableView::_setIndexForCell from 0x180015e30 to 0x180015ee0 (176 bytes) // // 6 xrefs: // > cocos2d::extension::CCTableView::updateCellAtIndex @ 0x180015362 // > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x1800154ed // > cocos2d::extension::CCTableView::insertCellAtIndex @ 0x180015524 // > cocos2d::extension::CCTableView::removeCellAtIndex @ 0x1800157ad // > @ 0x18002fdf8 // > @ 0x18004a884 // // 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 __fastcall cocos2d::extension::CCTableView::_setIndexForCell( cocos2d::extension::CCTableView *this, unsigned int a2, struct cocos2d::extension::CCTableViewCell *a3) { __int64 v3; // rbx __int64 v7; // rax __int64 v8; // rax char v9; // [rsp+40h] [rbp+8h] BYREF float v10; // [rsp+44h] [rbp+Ch] char v11; // [rsp+50h] [rbp+18h] BYREF float v12; // [rsp+54h] [rbp+1Ch] v3 = *(_QWORD *)a3; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, 0.0, 0.0); (*(void (__fastcall **)(struct cocos2d::extension::CCTableViewCell *, __int64))(v3 + 272))(a3, v7); cocos2d::extension::CCTableView::__offsetFromIndex((__int64)this, (cocos2d::CCPoint *)&v9, a2); (*(void (__fastcall **)(_QWORD, char *, cocos2d::extension::CCTableView *, _QWORD))(**((_QWORD **)this + 80) + 8LL))( *((_QWORD *)this + 80), &v11, this, a2); if ( !*((_DWORD *)this + 146) ) { v8 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 56) + 304LL))(*((_QWORD *)this + 56)); v10 = (float)(*(float *)(v8 + 4) - v10) - v12; } (*(void (__fastcall **)(struct cocos2d::extension::CCTableViewCell *, char *))(*(_QWORD *)a3 + 184LL))(a3, &v9); *((_DWORD *)a3 + 82) = a2; }