//
// TableViewCell::updateVisibility from 0x1006273a0 to 0x100627452 (178 bytes)
//
// 1 xrefs:
// > CCContentLayer::setPosition @ 0x1007c2ade
//
// 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)
{
__int64 v2; // rax
__m128 v3; // xmm2
__m128 v4; // [rsp-48h] [rbp-48h]
__m128 v5; // [rsp-38h] [rbp-38h]
if ( a1->m_tableView )
{
v4 = (__m128)*(unsigned int *)(((__int64 (*)(void))a1->getContentSize)() + 4);
v5 = (__m128)*(unsigned int *)(((__int64 (__fastcall *)(TableView *))a1->m_tableView->getContentSize)(a1->m_tableView)
+ 4);
v2 = ((__int64 (__fastcall *)(TableViewCell *))a1->getParent)(a1);
v3 = (__m128)*(unsigned int *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2) + 4);
v3.f32[0] = v3.f32[0] + *(float *)(((__int64 (__fastcall *)(TableViewCell *))a1->getPosition)(a1) + 4);
((void (__fastcall *)(TableViewCell *, _QWORD))a1->setVisible)(
a1,
_mm_cvtsi128_si32((__m128i)_mm_and_ps(
_mm_cmpnlt_ps(v3, _mm_xor_ps(v4, (__m128)xmmword_1008150B0)),
_mm_cmpnlt_ps(v5, v3)))
& 1);
}
}