//
// LevelBrowserLayer::onGoToPage from 0x1403e64d0 to 0x1403e65e5 (277 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::init @ 0x1403e28a8
// > ??> @ 0x140924f2c
//
// 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 11:31:43 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall LevelBrowserLayer::onGoToPage(__int64 a1)
{
__int64 v2; // rcx
cocos2d::CCObject *v3; // rbx
__int64 v4; // rcx
_QWORD v5[4]; // [rsp+50h] [rbp-48h] BYREF
__int128 v6; // [rsp+70h] [rbp-28h] BYREF
__int64 v7; // [rsp+80h] [rbp-18h]
__int64 v8; // [rsp+88h] [rbp-10h]
v2 = *(_QWORD *)(a1 + 664);
if ( v2 )
{
v6 = 0;
v7 = 2;
v8 = 15;
strcpy((char *)&v6, "Go");
v5[1] = 25959;
v5[2] = 10;
v5[3] = 15;
v5[0] = 0x6150206F74206F47LL;
v3 = SetIDPopup::create(*(_DWORD *)(v2 + 424) + 1, 1, 1000, (__int64)v5, (__int64)&v6, 1, 1, 1114636288, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 3);
v4 = a1 + 560;
if ( !a1 )
v4 = 0;
*((_QWORD *)v3 + 87) = v4;
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);
}
}