//
// LevelBrowserLayer::onGoToPage from 0x4a4d8c to 0x4a4e46 (186 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:53 +0000
//
int __fastcall LevelBrowserLayer::onGoToPage(int this, cocos2d::CCObject *a2)
{
int v2; // r8
int v3; // r3
int v4; // r9
_DWORD *v5; // r4
int v6[3]; // [sp+1Ch] [bp-20h] BYREF
int v7[3]; // [sp+28h] [bp-14h] BYREF
v2 = this;
v3 = *(_DWORD *)(this + 500);
if ( v3 )
{
v4 = *(_DWORD *)(v3 + 304) + 1;
memset(v6, 0, sizeof(v6));
std::string::__init(v6, "Go to Page", 0xAu);
memset(v7, 0, sizeof(v7));
std::string::__init(v7, "Go", 2u);
v5 = (_DWORD *)SetIDPopup::create(v4, 1, 1000, (int)v6, (int)v7, 1, 1, 60.0, 0, 0);
std::string::~string((int)v7);
std::string::~string((int)v6);
(*(void (__fastcall **)(_DWORD *, int))(*v5 + 36))(v5, 3);
v5[136] = v2 + 448;
return (*(int (__fastcall **)(_DWORD *))(*v5 + 656))(v5);
}
return this;
}