//
// LevelPickerPopup::onRefreshOnline from 0x1400ea5a0 to 0x1400ea631 (145 bytes)
//
// 2 xrefs:
// > LevelPickerPopup::init @ 0x1400e937c
// > ??> @ 0x140914e94
//
// 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:26:34 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall LevelPickerPopup::onRefreshOnline(__int64 a1)
{
_QWORD *v2; // rdi
__int64 v3; // rcx
void *v4; // [rsp+30h] [rbp+8h]
if ( *(_BYTE *)(a1 + 808) )
{
if ( *(_QWORD *)(a1 + 856) )
{
v2 = (_QWORD *)(a1 + 840);
if ( *(_QWORD *)(a1 + 864) > 0xFu )
v2 = (_QWORD *)*v2;
v3 = *(_QWORD *)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v4 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v4);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v3 = *(_QWORD *)&qword_14090BFB0;
}
GameLevelManager::resetTimerForKey(v3, v2);
}
PagedListPopup::loadPage(a1, *(_DWORD *)(a1 + 680));
}
}