//
// CCScrollLayerExt::moveToTopWithOffset from 0x14004ad80 to 0x14004ae26 (166 bytes)
//
// 7 xrefs:
// > BoomListView::setupList @ 0x14003fca1
// > CustomListView::setupList @ 0x140146537
// > CustomListView::setupList @ 0x140146729
// > CustomListView::setupList @ 0x1401468b3
// > CustomListView::setupList @ 0x1401468ea
// > CustomListView::setupList @ 0x1401469f9
// > ??> @ 0x14090fd94
//
// This function is hookable on this platform (idp: pc, 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:25:32 +0000
//
__int64 __fastcall CCScrollLayerExt::moveToTopWithOffset(__int64 a1, float a2)
{
__int64 v3; // rdi
__int64 v4; // rbx
float v5; // xmm6_4
float *v6; // rax
__int64 *v7; // rdi
__int64 v8; // rbx
__int64 v9; // rax
char v11; // [rsp+50h] [rbp+8h] BYREF
v3 = *(_QWORD *)(a1 + 480);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1);
v5 = (float)(*(float *)(v4 + 4) - *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 320LL))(v3) + 4))
- *(float *)(a1 + 496);
v6 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 480) + 200LL))(*(_QWORD *)(a1 + 480));
v7 = *(__int64 **)(a1 + 480);
v8 = *v7;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, *v6, v5 + a2);
return (*(__int64 (__fastcall **)(__int64 *, __int64))(v8 + 184))(v7, v9);
}