//
// TableView::checkBoundaryOfCell_1 from 0x140075ba0 to 0x140075cb8 (280 bytes)
//
// 3 xrefs:
// > TableView::checkFirstCell @ 0x14007639b
// > TableView::checkLastCell @ 0x140076667
// > ??> @ 0x1406c6480
//
// 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_1(TableView *a1, TableViewCell *a2)
{
const struct cocos2d::CCPoint *v4; // rax
const cocos2d::CCSize *v5; // rax
float v6; // xmm8_4
float v7; // xmm8_4
float v8; // xmm8_4
const cocos2d::CCSize *v9; // rax
float v10; // xmm6_4
float v11; // xmm6_4
cocos2d::CCPoint v13; // [rsp+60h] [rbp+8h] BYREF
v4 = a2->getPosition_0(a2);
cocos2d::CCPoint::CCPoint(&v13, v4);
v5 = a2->getContentSize(a2);
v6 = v13.y + v5->height;
v7 = v6 - a1->m_contentLayer->getContentSize(a1->m_contentLayer)->height;
v8 = v7 + a1->m_contentLayer->getPosition_0(a1->m_contentLayer)->y;
v9 = a1->m_contentLayer->getContentSize(a1->m_contentLayer);
v10 = v13.y - v9->height;
v11 = v10 + a1->m_contentLayer->getPosition_0(a1->m_contentLayer)->y;
if ( a1->getContentSize(a1)->height >= v8 && v8 >= 0.0 )
return 2;
if ( a1->getContentSize(a1)->height < v11 )
return 1;
return (v11 >= 0.0) + 1;
}