//
// TableView::checkBoundaryOfCell from 0x140075cc0 to 0x140075db3 (243 bytes)
//
// 3 xrefs:
// > TableView::checkBoundaryOfContent @ 0x140075fe3
// > TableView::checkBoundaryOfContent @ 0x140076206
// > ??> @ 0x1406c648c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int TableView::checkBoundaryOfCell(TableView *a1, cocos2d::CCPoint *a2, float a3)
{
float v4; // xmm8_4
float v5; // xmm8_4
float v6; // xmm8_4
const cocos2d::CCSize *v7; // rax
float v8; // xmm6_4
float v9; // xmm6_4
cocos2d::CCPoint v11; // [rsp+60h] [rbp+8h] BYREF
cocos2d::CCPoint::CCPoint(&v11, a2);
v4 = v11.y + a3;
v5 = v4 - a1->m_contentLayer->getContentSize(a1->m_contentLayer)->height;
v6 = v5 + a1->m_contentLayer->getPosition_0(a1->m_contentLayer)->y;
v7 = a1->m_contentLayer->getContentSize(a1->m_contentLayer);
v8 = v11.y - v7->height;
v9 = v8 + a1->m_contentLayer->getPosition_0(a1->m_contentLayer)->y;
if ( a1->getContentSize(a1)->height >= v6 && v6 >= 0.0 )
return 2;
if ( a1->getContentSize(a1)->height < v9 )
return 1;
return (v9 >= 0.0) + 1;
}