//
// cocos2d::extension::CCScrollView::updateInset from 0xd17930 to 0xd17a2c (252 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCScrollView::setContentSize @ 0xd17a70
// > ??> @ 0xfd618
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:06 +0000
//
__int64 __fastcall cocos2d::extension::CCScrollView::updateInset(cocos2d::extension::CCScrollView *this)
{
_BYTE v3[8]; // [xsp+40h] [xbp+40h] BYREF
if ( cocos2d::extension::CCScrollView::getContainer(this) )
{
cocos2d::extension::CCScrollView::maxContainerOffset((cocos2d::CCPoint *)v3);
cocos2d::CCPoint::operator=((char *)this + 452, v3);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v3,
*((float *)this + 113) + (float)(*((float *)this + 126) * 0.2),
*((float *)this + 114) + (float)(*((float *)this + 127) * 0.2));
cocos2d::CCPoint::operator=((char *)this + 452, v3);
cocos2d::extension::CCScrollView::minContainerOffset(this, (cocos2d::CCPoint *)v3);
cocos2d::CCPoint::operator=((char *)this + 460, v3);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v3,
*((float *)this + 115) - (float)(*((float *)this + 126) * 0.2),
*((float *)this + 116) - (float)(*((float *)this + 127) * 0.2));
cocos2d::CCPoint::operator=((char *)this + 460, v3);
}
return _stack_chk_guard;
}