//
// LevelBrowserLayer::onGoToLastPage from 0x7fb82c to 0x7fb86c (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x7dfb0
// > LevelBrowserLayer::init @ 0x7fa1a8
// > ??> @ 0x1543410
//
// 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 12:54:41 +0000
//
__int64 __fastcall LevelBrowserLayer::onGoToLastPage(LevelBrowserLayer *this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
GJSearchObject *PageObject; // x0
v3 = (GameManager *)GameManager::sharedState(this);
*((_DWORD *)v3 + 241) = 0;
*(_DWORD *)(GameManager::sharedState(v3) + 968) = 0;
PageObject = (GJSearchObject *)GJSearchObject::getPageObject(*((GJSearchObject **)this + 83), *((_DWORD *)this + 186));
return LevelBrowserLayer::loadPage((GJSearchObject **)this, PageObject);
}