//
// cocos2d::extension::CCTableView::_setIndexForCell from 0xaa7ad4 to 0xaa7b84 (176 bytes)
//
// 5 xrefs:
// > cocos2d::extension::CCTableView::insertCellAtIndex @ 0xaa84f0
// > cocos2d::extension::CCTableView::insertCellAtIndex @ 0xaa8538
// > cocos2d::extension::CCTableView::updateCellAtIndex @ 0xaa87d8
// > cocos2d::extension::CCTableView::removeCellAtIndex @ 0xaa8ba0
// > ??> @ 0x4e750
//
// 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::_setIndexForCell(
cocos2d::extension::CCTableView *a1,
unsigned int a2,
cocos2d::extension::CCTableViewCell *a3)
{
void (__fastcall *setAnchorPoint)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x24
cocos2d::extension::CCTableView *v7; // x0
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x23
cocos2d::CCPoint v9; // [xsp+40h] [xbp+40h] BYREF
cocos2d::CCPoint v10; // 0:kr00_8.8
setAnchorPoint = a3->setAnchorPoint;
cocos2d::CCPoint::CCPoint(&v9, 0.0, 0.0);
setAnchorPoint(a3, &v9);
v7 = a1;
setPosition = a3->setPosition;
v10 = cocos2d::extension::CCTableView::_offsetFromIndex(v7, a2);
((void (__fastcall *)(cocos2d::extension::CCTableViewCell *, cocos2d::CCPoint *, float, float))setPosition)(
a3,
&v9,
v10.x,
v10.y);
cocos2d::extension::CCTableViewCell::setIdx(a3, a2);
}