//
// AccountReviewPopup::jumpTo from 0xc4069c to 0xc40814 (376 bytes)
//
// 3 xrefs:
// > AccountReviewPopup::onJumpFilterRow @ 0xc4088c
// > AccountReviewPopup::onJumpRow @ 0xc4e9d4
// > ??> @ 0x6af48
//
// 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 13:04:57 +0000
//
__int64 __fastcall AccountReviewPopup::jumpTo(AccountReviewPopup *this, int a2, ProfilePage *a3)
{
int v3; // w21
LevelBrowserLayer *v4; // x20
cocos2d::CCDirector *v5; // x0
cocos2d::CCDirector *v6; // x21
GJSearchObject *v7; // x1
AppDelegate *v8; // x0
cocos2d::CCScene *v9; // x1
cocos2d::CCScene *v10; // x0
GameManager *v12; // x0
GameManager *v13; // x0
__int64 v14; // x20
__int64 v15; // x0
GameManager *v16; // x0
unsigned int v17; // [xsp+38h] [xbp+38h]
cocos2d::CCDirector *v18[2]; // [xsp+40h] [xbp+40h] BYREF
void *v19; // [xsp+50h] [xbp+50h]
if ( a2 == 4 )
{
v15 = ProfilePage::create((ProfilePage *)(unsigned int)a3, 0);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v15 + 1312LL))(v15);
}
else if ( a2 == 7 )
{
v17 = (unsigned int)a3;
v12 = (GameManager *)GameManager::sharedState(_stack_chk_guard);
v13 = (GameManager *)(unsigned __int8)GameManager::offlineModeEnabled(v12);
if ( (_BYTE)v13 )
{
v16 = (GameManager *)GameManager::sharedState(v13);
GameManager::showParentalRestrictedAlert(v16);
}
else
{
GameToolbox::intToString((unsigned __int64 *)v18, (GameToolbox *)v17);
v14 = EditorSoundBrowserLayer::create(v18, 0);
if ( ((__int64)v18[0] & 1) != 0 )
operator delete(v19);
if ( v14 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v14 + 1312LL))(v14);
}
}
else
{
v3 = 0;
if ( ((unsigned int)a3 & 0x80000000) != 0 )
{
LODWORD(a3) = -(int)a3;
v3 = 1;
}
GameToolbox::intToString((unsigned __int64 *)v18, (GameToolbox *)(unsigned int)a3);
v4 = (LevelBrowserLayer *)GJSearchObject::create(0, (char *)v18);
v5 = (cocos2d::CCDirector *)LOBYTE(v18[0]);
if ( ((__int64)v18[0] & 1) != 0 )
operator delete(v19);
*((_DWORD *)v4 + 108) = v3;
v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);
v8 = LevelBrowserLayer::scene(v4, v7);
v10 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v8, 0.5, v9);
cocos2d::CCDirector::pushScene(v6, v10);
}
return _stack_chk_guard;
}