//
// CCScrollLayerExt::moveToTopWithOffset from 0x10039d7f0 to 0x10039d898 (168 bytes)
//
// 6 xrefs:
// > CustomListView::setupList @ 0x100131f08
// > CustomListView::setupList @ 0x100132140
// > CustomListView::setupList @ 0x10013219c
// > CustomListView::setupList @ 0x100132210
// > CustomListView::setupList @ 0x100132380
// > BoomListView::setupList @ 0x1002680bc
//
// 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 11:03:44 +0000
//
__int64 __fastcall CCScrollLayerExt::moveToTopWithOffset(__int64 a1, float a2)
{
__int64 v4; // x20
float v5; // s9
float v6; // s10
__int64 v7; // x0
float v9; // [xsp+8h] [xbp-38h] BYREF
v4 = *(_QWORD *)(a1 + 488);
v5 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4);
v6 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL))(a1) + 4);
v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 488) + 328LL))(*(_QWORD *)(a1 + 488));
sub_1000262BC(&v9, v5, (float)((float)(v6 - *(float *)(v7 + 4)) - *(float *)(a1 + 504)) + a2);
return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 184LL))(v4, &v9);
}