//
// cocos2d::extension::CCScrollView::updateInset from 0x7ae710 to 0x7ae7ca (186 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCScrollView::setContentSize @ 0x7ae7f6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:05 +0000
//
int __fastcall cocos2d::extension::CCScrollView::updateInset(cocos2d::extension::CCScrollView *this)
{
int result; // r0
_BYTE v3[8]; // [sp+4h] [bp-10h] BYREF
result = cocos2d::extension::CCScrollView::getContainer(this);
if ( result )
{
cocos2d::extension::CCScrollView::maxContainerOffset((cocos2d::extension::CCScrollView *)v3);
cocos2d::CCPoint::operator=((char *)this + 356, v3);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v3,
*((float *)this + 89) + (float)(*((float *)this + 100) * 0.2),
*((float *)this + 90) + (float)(*((float *)this + 101) * 0.2));
cocos2d::CCPoint::operator=((char *)this + 356, v3);
cocos2d::extension::CCScrollView::minContainerOffset((cocos2d::extension::CCScrollView *)v3, (int)this);
cocos2d::CCPoint::operator=((char *)this + 364, v3);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v3,
*((float *)this + 91) - (float)(*((float *)this + 100) * 0.2),
*((float *)this + 92) - (float)(*((float *)this + 101) * 0.2));
return cocos2d::CCPoint::operator=((char *)this + 364, v3);
}
return result;
}