//
// TableView::checkBoundaryOfCell from 0x697288 to 0x6973bc (308 bytes)
//
// 3 xrefs:
// > TableView::checkBoundaryOfContent @ 0x697e24
// > TableView::checkBoundaryOfContent @ 0x698140
// > ??> @ 0x104218
//
// 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
//
__int64 __fastcall TableView::checkBoundaryOfCell(TableView *this, cocos2d::CCPoint *a2, float a3)
{
float v4; // s8
float v5; // s8
float v6; // s8
float v7; // s9
float v8; // s11
float v9; // s10
float v11; // s9
_BYTE v13[4]; // [xsp+50h] [xbp+50h] BYREF
float v14; // [xsp+54h] [xbp+54h]
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, a2);
v4 = a3 + v14;
v5 = v4
- *(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 328LL))(*((_QWORD *)this + 61)) + 4);
v6 = v5
+ *(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 192LL))(*((_QWORD *)this + 61)) + 4);
v7 = v14;
v8 = *(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 328LL))(*((_QWORD *)this + 61)) + 4);
v9 = *(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 192LL))(*((_QWORD *)this + 61)) + 4);
if ( v6 <= *(float *)((*(__int64 (__fastcall **)(TableView *))(*(_QWORD *)this + 328LL))(this) + 4) && v6 >= 0.0 )
return 2;
v11 = (float)(v7 - v8) + v9;
if ( v11 <= *(float *)((*(__int64 (__fastcall **)(TableView *))(*(_QWORD *)this + 328LL))(this) + 4) && v11 >= 0.0 )
return 2;
else
return 1;
}