//
// cocos2d::extension::CCScrollView::minContainerOffset from 0x7ae05e to 0x7ae0ca (108 bytes)
//
// 5 xrefs:
// > cocos2d::extension::CCScrollView::setContentOffset @ 0x7ae102
// > cocos2d::extension::CCScrollView::relocateContainer @ 0x7ae3da
// > cocos2d::extension::CCScrollView::deaccelerateScrolling @ 0x7ae560
// > cocos2d::extension::CCScrollView::updateInset @ 0x7ae77c
// > cocos2d::extension::CCTableView::_updateContentSize @ 0x7af644
//
// 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:04 +0000
//
cocos2d::extension::CCScrollView *__fastcall cocos2d::extension::CCScrollView::minContainerOffset(
cocos2d::extension::CCScrollView *this,
int a2)
{
float v4; // s17
float v5; // s16
float v6; // s17
float v7; // s16
float v8; // s18
float v9; // r0
v4 = *(float *)(a2 + 400);
v5 = *(float *)(*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a2 + 348) + 164))(*(_DWORD *)(a2 + 348));
v6 = v4
- (float)(v5 * COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a2 + 348) + 68))(*(_DWORD *)(a2 + 348))));
v7 = *(float *)(a2 + 404);
v8 = *(float *)((*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a2 + 348) + 164))(*(_DWORD *)(a2 + 348)) + 4);
v9 = (*(float (__fastcall **)(_DWORD))(**(_DWORD **)(a2 + 348) + 76))(*(_DWORD *)(a2 + 348));
cocos2d::CCPoint::CCPoint(this, v6, v7 - (float)(v8 * v9));
return this;
}