//
// LevelBrowserLayer::onGoToLastPage from 0x6ecd44 to 0x6ecd7c (56 bytes)
//
// 3 xrefs:
// > ??> @ 0x5bde8
// > LevelBrowserLayer::init @ 0x6eb8f0
// > ??> @ 0x122af78
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void LevelBrowserLayer::onGoToLastPage(LevelBrowserLayer *a1, cocos2d::CCObject *a2)
{
GJSearchObject *PageObject; // x0
GameManager::sharedState()->m_currentLevelID = 0;
PageObject = GJSearchObject::getPageObject(a1->m_searchObject, a1->m_lastPage);
LevelBrowserLayer::loadPage(a1, PageObject);
}