//
// cocos2d::extension::CCScrollView::updateInset from 0x1800133a0 to 0x1800134a7 (263 bytes)
//
// 5 xrefs:
// > cocos2d::extension::CCScrollView::setContentSize @ 0x180013386
// > ??> @ 0x18002e9c8
// > ??> @ 0x18002e9d8
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004a4ac
//
// 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 __fastcall cocos2d::extension::CCScrollView::updateInset(cocos2d::extension::CCScrollView *this)
{
__int64 v2; // rax
cocos2d::CCPoint *v3; // rax
__int64 v4; // rax
char v5; // [rsp+40h] [rbp+8h] BYREF
if ( *((_QWORD *)this + 56) )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, 0.0, 0.0);
cocos2d::CCPoint::operator=((char *)this + 460, &v5);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v5,
(float)(*((float *)this + 128) * 0.2) + *((float *)this + 115),
(float)(*((float *)this + 129) * 0.2) + *((float *)this + 116));
cocos2d::CCPoint::operator=((char *)this + 460, v2);
v3 = cocos2d::extension::CCScrollView::minContainerOffset((__int64)this, (cocos2d::CCPoint *)&v5);
cocos2d::CCPoint::operator=((char *)this + 468, v3);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v5,
*((float *)this + 117) - (float)(*((float *)this + 128) * 0.2),
*((float *)this + 118) - (float)(*((float *)this + 129) * 0.2));
cocos2d::CCPoint::operator=((char *)this + 468, v4);
}
}