//
// cocos2d::extension::CCScrollView::updateInset from 0xaa5eec to 0xaa5fe8 (252 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCScrollView::setContentSize @ 0xaa602c
// > ??> @ 0xc2928
//
// 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
//
void cocos2d::extension::CCScrollView::updateInset(cocos2d::extension::CCScrollView *a1)
{
float v2; // s0
float v3; // s1
float v4; // s0
float v5; // s1
cocos2d::CCPoint v6; // [xsp+40h] [xbp+40h] BYREF
cocos2d::CCPoint v7; // 0:kr00_8.8
cocos2d::CCPoint v8; // 0:kr08_8.8
if ( cocos2d::extension::CCScrollView::getContainer(a1) )
{
v7 = cocos2d::extension::CCScrollView::maxContainerOffset(a1);
cocos2d::CCPoint::operator=(&a1->m_fMaxInset, v7.x, v7.y);
cocos2d::CCPoint::CCPoint(
&v6,
a1->m_fMaxInset.x + (float)(a1->m_tViewSize.width * 0.2),
a1->m_fMaxInset.y + (float)(a1->m_tViewSize.height * 0.2));
cocos2d::CCPoint::operator=(&a1->m_fMaxInset, v2, v3);
v8 = cocos2d::extension::CCScrollView::minContainerOffset(a1);
cocos2d::CCPoint::operator=(&a1->m_fMinInset, v8.x, v8.y);
cocos2d::CCPoint::CCPoint(
&v6,
a1->m_fMinInset.x - (float)(a1->m_tViewSize.width * 0.2),
a1->m_fMinInset.y - (float)(a1->m_tViewSize.height * 0.2));
cocos2d::CCPoint::operator=(&a1->m_fMinInset, v4, v5);
}
}