//
// WorldSelectLayer::scrollLayerScrolledToPage from 0x1003acbc0 to 0x1003acc38 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b36708
//
// 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 12:29:24 +0000
//
__int64 __fastcall WorldSelectLayer::scrollLayerScrolledToPage(_QWORD *a1)
{
__int64 v2; // rax
__int64 v3; // rdi
bool v4; // al
__int64 v5; // rdi
__int64 v6; // rbx
int v7; // r14d
bool v8; // al
v2 = a1[53];
v3 = a1[54];
if ( v2 )
v4 = *(_DWORD *)(v2 + 588) > 0;
else
v4 = 0;
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 344LL))(v3, v4);
v5 = a1[53];
v6 = a1[55];
if ( v5 )
{
v7 = *(_DWORD *)(v5 + 588);
v8 = v7 < (int)(BoomScrollLayer::getTotalPages(v5) - 1);
}
else
{
v8 = 0;
}
return (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)v6 + 344LL))(v6, v8);
}