//
// CCScrollLayerExt::moveToTopWithOffset from 0x3c8b54 to 0x3c8bb8 (100 bytes)
//
// 7 xrefs:
// > BoomListView::setupList @ 0x3c0882
// > CustomListView::setupList @ 0x424d52
// > CustomListView::setupList @ 0x424e0e
// > CustomListView::setupList @ 0x424e70
// > CustomListView::setupList @ 0x424ec0
// > CustomListView::setupList @ 0x424f4c
// > CustomListView::setupList @ 0x42500a
//
// 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 11:46:36 +0000
//
int __fastcall CCScrollLayerExt::moveToTopWithOffset(CCScrollLayerExt *this, float a2)
{
int v4; // r6
int (__fastcall *v5)(int, _BYTE *); // r7
float v6; // r8
float MinY; // r0
_BYTE v9[8]; // [sp+4h] [bp-Ch] BYREF
v4 = *((_DWORD *)this + 91);
v5 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92);
v6 = *(float *)(*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v4 + 96))(v4, LODWORD(a2));
MinY = CCScrollLayerExt::getMinY(this);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v6, MinY + a2);
return v5(v4, v9);
}