//
// cocos2d::extension::CCScrollView::minContainerOffset from 0x5a836e to 0x5a83da (108 bytes)
//
// 5 xrefs:
// > cocos2d::extension::CCScrollView::setContentOffset @ 0x5a8412
// > cocos2d::extension::CCScrollView::relocateContainer @ 0x5a86ea
// > cocos2d::extension::CCScrollView::deaccelerateScrolling @ 0x5a8870
// > cocos2d::extension::CCScrollView::updateInset @ 0x5a8a8c
// > cocos2d::extension::CCTableView::_updateContentSize @ 0x5a9a6c
//
// 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
//
cocos2d::CCPoint *cocos2d::extension::CCScrollView::minContainerOffset(
cocos2d::CCPoint *__return_ptr retstr,
cocos2d::extension::CCScrollView *a2)
{
float width; // s17
float v5; // s16
float v6; // s17
float height; // s16
float v8; // s18
float v9; // r0
width = a2->m_tViewSize.width;
v5 = a2->m_pContainer->getContentSize(a2->m_pContainer)->width;
v6 = width
- (float)(v5 * COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCNode *))a2->m_pContainer->getScaleX)(a2->m_pContainer)));
height = a2->m_tViewSize.height;
v8 = a2->m_pContainer->getContentSize(a2->m_pContainer)->height;
v9 = a2->m_pContainer->getScaleY(a2->m_pContainer);
cocos2d::CCPoint::CCPoint(retstr, v6, height - (float)(v8 * v9));
return retstr;
}