//
// LevelBrowserLayer::onGoToLastPage from 0x100498114 to 0x100498154 (64 bytes)
//
// 1 xrefs:
// > LevelBrowserLayer::init @ 0x100496998
//
// 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:05:57 +0000
//
__int64 __fastcall LevelBrowserLayer::onGoToLastPage(__int64 a1)
{
char *v2; // x1
*(_DWORD *)(GameManager::sharedState() + 964) = 0;
*(_DWORD *)(GameManager::sharedState() + 968) = 0;
v2 = sub_1000D5DB8(*(_QWORD *)(a1 + 664), *(unsigned int *)(a1 + 744));
return LevelBrowserLayer::loadPage(a1, v2);
}