//
// TableViewCell::updateVisibility from 0x3cab08 to 0x3cab94 (140 bytes)
//
// 1 xrefs:
// > CCContentLayer::setPosition @ 0x3c510e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:37 +0000
//
int *__fastcall TableViewCell::updateVisibility(int *this)
{
int *v1; // r4
float v2; // s17
float v3; // s18
int v4; // r0
float v5; // s16
int v6; // r0
int v7; // r3
float v8; // s15
v1 = this;
if ( *(this + 80) )
{
v2 = *(float *)((*(int (__fastcall **)(int *))(*this + 164))(this) + 4);
v3 = *(float *)((*(int (__fastcall **)(int))(*(_DWORD *)v1[80] + 164))(v1[80]) + 4);
v4 = (*(int (__fastcall **)(int *))(*v1 + 256))(v1);
v5 = *(float *)((*(int (__fastcall **)(int))(*(_DWORD *)v4 + 96))(v4) + 4);
v6 = (*(int (__fastcall **)(int *))(*v1 + 96))(v1);
v7 = *v1;
v8 = v5 + *(float *)(v6 + 4);
if ( v8 <= v3 && v8 >= (float)-v2 )
return (int *)(*(int (__fastcall **)(int *, int))(v7 + 172))(v1, 1);
else
return (int *)(*(int (__fastcall **)(int *, _DWORD))(v7 + 172))(v1, 0);
}
return this;
}