//
// TableView::checkBoundaryOfCell from 0x3c9f98 to 0x3ca06c (212 bytes)
//
// 2 xrefs:
// > TableView::checkBoundaryOfContent @ 0x3ca746
// > TableView::checkBoundaryOfContent @ 0x3ca830
//
// 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:36 +0000
//
int __fastcall TableView::checkBoundaryOfCell(TableView *this, cocos2d::CCPoint *a2, float a3)
{
float v5; // s16
float v6; // s16
int v7; // r0
float v8; // s17
float v9; // s16
float v10; // s19
float v11; // s18
float v12; // s16
_BYTE v14[4]; // [sp+4h] [bp-10h] BYREF
float v15; // [sp+8h] [bp-Ch]
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, a2);
v5 = a3 + v15;
v6 = v5 - *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 91) + 164))(*((_DWORD *)this + 91)) + 4);
v7 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 91) + 96))(*((_DWORD *)this + 91));
v8 = v15;
v9 = v6 + *(float *)(v7 + 4);
v10 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 91) + 164))(*((_DWORD *)this + 91)) + 4);
v11 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 91) + 96))(*((_DWORD *)this + 91)) + 4);
if ( v9 <= *(float *)((*(int (__fastcall **)(TableView *))(*(_DWORD *)this + 164))(this) + 4) && v9 >= 0.0 )
return 2;
v12 = (float)(v8 - v10) + v11;
if ( v12 <= *(float *)((*(int (__fastcall **)(TableView *))(*(_DWORD *)this + 164))(this) + 4) && v12 >= 0.0 )
return 2;
else
return 1;
}