//
// ListButtonBar::goToPage from 0x1003dd910 to 0x1003dd984 (116 bytes)
//
// 1 xrefs:
// > GJShopLayer::init @ 0x10030f9f9
//
// 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:44 +0000
//
void __fastcall ListButtonBar::goToPage(__int64 a1, unsigned int a2)
{
__int64 v3; // rdi
void (__fastcall ***v4)(_QWORD, __int64, _QWORD); // rdi
BoomScrollLayer::getTotalPages(*(_QWORD *)(a1 + 320));
v3 = *(_QWORD *)(a1 + 320);
if ( *(_BYTE *)(a1 + 344) )
{
BoomScrollLayer::moveToPage(v3, a2);
v4 = *(void (__fastcall ****)(_QWORD, __int64, _QWORD))(a1 + 336);
if ( !v4 )
return;
goto LABEL_3;
}
BoomScrollLayer::instantMoveToPage(v3, a2 - 1);
BoomScrollLayer::instantMoveToPage(*(_QWORD *)(a1 + 320), a2);
v4 = *(void (__fastcall ****)(_QWORD, __int64, _QWORD))(a1 + 336);
if ( v4 )
LABEL_3:
(**v4)(v4, a1, a2);
}