//
// TableViewCell::updateVisibility from 0x100033eac to 0x100033f5c (176 bytes)
//
// 1 xrefs:
// > CCContentLayer::setPosition @ 0x10018eb2c
//
// 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 TableViewCell::updateVisibility(TableViewCell *a1)
{
float v2; // s8
float v3; // s9
__int64 v4; // x0
float v5; // s10
float v6; // s0
_BOOL8 v8; // x1
if ( a1->m_tableView )
{
v2 = *(float *)(((__int64 (__fastcall *)(TableViewCell *))a1->getContentSize)(a1) + 4);
v3 = *(float *)(((__int64 (__fastcall *)(TableView *))a1->m_tableView->getContentSize)(a1->m_tableView) + 4);
v4 = ((__int64 (__fastcall *)(TableViewCell *))a1->getParent)(a1);
v5 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4) + 4);
v6 = v5 + *(float *)(((__int64 (__fastcall *)(TableViewCell *))a1->getPosition)(a1) + 4);
v8 = v6 >= (float)-v2 && v6 <= v3;
((void (__fastcall *)(TableViewCell *, _BOOL8))a1->setVisible)(a1, v8);
}
}