//
// LevelPickerPopup::onRefreshOnline from 0x746530 to 0x746572 (66 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:42 +0000
//
int __fastcall LevelPickerPopup::onRefreshOnline(int this, cocos2d::CCObject *a2)
{
int v2; // r4
int v3; // r3
int v4; // r3
GameLevelManager *v5; // r0
const char *v6; // r1
v2 = this;
if ( *(_BYTE *)(this + 612) )
{
v3 = *(unsigned __int8 *)(this + 628);
if ( (v3 & 1) != 0 )
v4 = *(_DWORD *)(this + 632);
else
v4 = v3 >> 1;
if ( v4 )
{
v5 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)this);
if ( (*(_BYTE *)(v2 + 628) & 1) != 0 )
v6 = *(const char **)(v2 + 636);
else
v6 = (const char *)(v2 + 629);
GameLevelManager::resetTimerForKey(v5, v6);
}
return PagedListPopup::loadPage(v2, *(_DWORD *)(v2 + 536));
}
return this;
}