//
// TableViewCell::updateVisibility from 0x698a9c to 0x698b80 (228 bytes)
//
// 2 xrefs:
// > CCContentLayer::setPosition @ 0x68f75c
// > ??> @ 0xb2318
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:50:38 +0000
//
_QWORD *__fastcall TableViewCell::updateVisibility(_QWORD *this)
{
_QWORD **v1; // x19
float v2; // s9
float v3; // s10
__int64 v4; // x0
float v5; // s8
float v6; // s0
v1 = (_QWORD **)this;
if ( *(this + 52) )
{
v2 = *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*this + 328LL))(this) + 4);
v3 = *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*v1[52] + 328LL))(v1[52]) + 4);
v4 = ((__int64 (__fastcall *)(_QWORD **))(*v1)[64])(v1);
v5 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4) + 4);
v6 = v5 + *(float *)(((__int64 (__fastcall *)(_QWORD **))(*v1)[24])(v1) + 4);
if ( v3 >= v6 && v6 >= (float)-v2 )
return (_QWORD *)((__int64 (__fastcall *)(_QWORD **, __int64))(*v1)[43])(v1, 1);
else
return (_QWORD *)((__int64 (__fastcall *)(_QWORD **, _QWORD))(*v1)[43])(v1, 0);
}
return this;
}