//
// TableViewCell::updateVisibility from 0x57d340 to 0x57d424 (228 bytes)
//
// 2 xrefs:
// > CCContentLayer::setPosition @ 0x574268
// > ??> @ 0x86400
//
// 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; // s9
float v3; // s10
cocos2d::CCNode *v4; // x0
float y; // s8
float v6; // s0
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 = y + a1->getPosition(a1)->y;
if ( v3 >= v6 && v6 >= (float)-height )
a1->setVisible(a1, 1);
else
a1->setVisible(a1, 0);
}
}