//
// TableViewCell::updateVisibility from 0x2ea878 to 0x2ea904 (140 bytes)
//
// 1 xrefs:
// > CCContentLayer::setPosition @ 0x2e53ce
//
// 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 TableViewCell::updateVisibility(TableViewCell *a1)
{
float height; // s17
float v3; // s18
cocos2d::CCNode *v4; // r0
float y; // s16
const cocos2d::CCPoint *v6; // r0
TableViewCell_vtbl *v7; // r3
float v8; // s15
if ( a1->m_tableView )
{
height = a1->getContentSize(a1)->height;
v3 = a1->m_tableView->getContentSize(a1->m_tableView)->height;
v4 = a1->getParent(a1);
y = v4->getPosition(v4)->y;
v6 = a1->getPosition(a1);
v7 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v8 = y + v6->y;
if ( v8 <= v3 && v8 >= (float)-height )
v7->setVisible(a1, 1);
else
v7->setVisible(a1, 0);
}
}