//
// LevelPickerPopup::onOnlineMode from 0x75ad34 to 0x75ae42 (270 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:58:59 +0000
//
int __fastcall LevelPickerPopup::onOnlineMode(LevelPickerPopup *this, cocos2d::CCObject *a2)
{
int v3; // r2
int v4; // r0
int v5; // r0
int v6; // r0
int v8; // r1
int v9; // r6
int v10; // r6
int v11; // r0
int v12; // r0
int v13; // r0
int v14; // [sp+0h] [bp-14h] BYREF
int v15; // [sp+4h] [bp-10h]
int v16; // [sp+8h] [bp-Ch]
v3 = *((unsigned __int8 *)this + 612);
if ( *((_BYTE *)this + 612) )
{
*((_BYTE *)this + 612) = 0;
*((_DWORD *)this + 134) = 0;
v4 = *((_DWORD *)this + 168);
if ( v4 )
ButtonSprite::setString(v4, "Online");
v5 = *((_DWORD *)this + 166);
if ( v5 )
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v5 + 172))(v5, 0);
v6 = *((_DWORD *)this + 167);
if ( v6 )
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v6 + 172))(v6, 0);
PagedListPopup::fadeLoading(this, (int)a2, v3);
return LevelPickerPopup::buildSavedPage(this);
}
else
{
v8 = *((_DWORD *)this + 165);
if ( v8 )
{
CCTextInputNode::getString((CCTextInputNode *)&v14, v8);
v9 = (v14 & 1) != 0 ? v15 : (int)(unsigned __int8)v14 >> 1;
std::string::~string((int)&v14);
if ( v9 )
{
v10 = *((_DWORD *)this + 165);
v14 = 0;
v15 = 0;
v16 = 0;
std::string::__init(&v14, &unk_B6B226, 0);
CCTextInputNode::setString(v10, (int)&v14);
std::string::~string((int)&v14);
}
}
std::string::assign((int *)this + 162, (char *)&unk_B6B226);
v11 = *((_DWORD *)this + 168);
*((_BYTE *)this + 612) = 1;
if ( v11 )
ButtonSprite::setString(v11, "Saved");
v12 = *((_DWORD *)this + 166);
if ( v12 )
(*(void (__fastcall **)(int, int))(*(_DWORD *)v12 + 172))(v12, 1);
v13 = *((_DWORD *)this + 167);
if ( v13 )
(*(void (__fastcall **)(int, int))(*(_DWORD *)v13 + 172))(v13, 1);
LevelPickerPopup::refreshUseID(this);
return PagedListPopup::loadPage((int)this, 0);
}
}