//
// LevelBrowserLayer::onGoToPage from 0x1402cc890 to 0x1402cc99a (266 bytes)
//
// 3 xrefs:
// > LevelBrowserLayer::init @ 0x1402c9372
// > ??> @ 0x1406d2ccc
// > ??> @ 0x1406d2cd8
//
// 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
//
// Hidden C++ exception states: #wind=1
void LevelBrowserLayer::onGoToPage(LevelBrowserLayer *a1, cocos2d::CCObject *a2)
{
GJSearchObject *m_searchObject; // rcx
SetIDPopup *v4; // rbx
SetIDPopupDelegate *v5; // rcx
__int64 v6; // [rsp+28h] [rbp-70h]
_QWORD v7[4]; // [rsp+50h] [rbp-48h] BYREF
__int128 v8; // [rsp+70h] [rbp-28h] BYREF
__int64 v9; // [rsp+80h] [rbp-18h]
__int64 v10; // [rsp+88h] [rbp-10h]
m_searchObject = a1->m_searchObject;
if ( m_searchObject )
{
v8 = 0;
v9 = 2;
v10 = 15;
strcpy((char *)&v8, "Go");
v7[1] = 25959;
v7[2] = 10;
v7[3] = 15;
v7[0] = 0x6150206F74206F47LL;
v4 = SetIDPopup::create(m_searchObject->m_page + 1, 1, 1000, (__int64)v7, (__int64)&v8, v6, 1, 1114636288, 0);
v4->setTag(v4, 3);
v5 = &a1->SetIDPopupDelegate;
if ( !a1 )
v5 = nullptr;
v4->m_delegate = v5;
v4->show(v4);
}
}