//
// cocos2d::extension::CCTableView::updateCellAtIndex from 0x5a9fa0 to 0x5a9ff8 (88 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0x5aa182
//
// 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::updateCellAtIndex(cocos2d::extension::CCTableView *a1, unsigned int a2)
{
int v4; // r0
cocos2d::extension::CCTableViewCell *v5; // r1
cocos2d::extension::CCTableViewCell *v6; // r6
if ( a2 != -1 )
{
v4 = (*(int (__fastcall **)(int, cocos2d::extension::CCTableView *))(*(_DWORD *)a1[1].m_uUnknown + 20))(
a1[1].m_uUnknown,
a1);
if ( v4 )
{
if ( a2 <= v4 - 1 )
{
v5 = cocos2d::extension::CCTableView::cellAtIndex(a1, a2);
if ( v5 )
cocos2d::extension::CCTableView::_moveCellOutOfSight(a1, v5);
v6 = (cocos2d::extension::CCTableViewCell *)(*(int (__fastcall **)(int, cocos2d::extension::CCTableView *, unsigned int))(*(_DWORD *)a1[1].m_uUnknown + 16))(
a1[1].m_uUnknown,
a1,
a2);
cocos2d::extension::CCTableView::_setIndexForCell(a1, a2, v6);
cocos2d::extension::CCTableView::_addCellIfNecessary(a1, v6);
}
}
}
}