//
// TableView::checkBoundaryOfCell from 0x140088c70 to 0x140088d6a (250 bytes)
//
// 4 xrefs:
// > TableView::checkBoundaryOfContent @ 0x140088f96
// > TableView::checkBoundaryOfContent @ 0x1400891b6
// > ??> @ 0x140912668
// > ??> @ 0x140912674
//
// This function is hookable on this platform (idp: pc, 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 11:25:58 +0000
//
__int64 __fastcall TableView::checkBoundaryOfCell(_QWORD *a1, const struct cocos2d::CCPoint *a2, float a3)
{
__int64 v4; // rbx
float v5; // xmm8_4
float v6; // xmm8_4
__int64 v7; // rax
__int64 v8; // rbx
float v9; // xmm8_4
__int64 v10; // rax
float v11; // xmm6_4
float v12; // xmm6_4
char v14; // [rsp+60h] [rbp+8h] BYREF
float v15; // [rsp+64h] [rbp+Ch]
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, a2);
v4 = a1[60];
v5 = v15 + a3;
v6 = v5 - *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 320LL))(v4) + 4);
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 200LL))(v4);
v8 = a1[60];
v9 = v6 + *(float *)(v7 + 4);
v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 320LL))(v8);
v11 = v15 - *(float *)(v10 + 4);
v12 = v11 + *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 200LL))(v8) + 4);
if ( *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*a1 + 320LL))(a1) + 4) >= v9 && v9 >= 0.0 )
return 2;
if ( *(float *)((*(__int64 (__fastcall **)(_QWORD *))(*a1 + 320LL))(a1) + 4) < v12 )
return 1;
return (unsigned int)(v12 >= 0.0) + 1;
}