//
// GameLevelManager::getStoredOnlineLevels from 0x4adbc8 to 0x4adc2c (100 bytes)
//
// 34 xrefs:
// > LevelBrowserLayer::loadPage @ 0x4a69fe
// > LevelBrowserLayer::loadPage @ 0x4a6a70
// > GameLevelManager::messageWasRemoved @ 0x4aed8a
// > GameLevelManager::invalidateMessages @ 0x4afcc0
// > GameLevelManager::resetAccountComments @ 0x4afd6c
// > GameLevelManager::purgeFriendRequestSearchCache @ 0x4affd4
// > GameLevelManager::friendRequestWasRemoved @ 0x4b00c2
// > GameLevelManager::invalidateRequests @ 0x4b0218
// > InfoLayer::loadPage @ 0x53e946
// > LeaderboardsLayer::selectLeaderboard @ 0x56341a
// > MessagesProfilePage::selectedCount @ 0x5ef6c0
// > MessagesProfilePage::onToggleAllObjects @ 0x5ef770
// > MessagesProfilePage::untoggleAll @ 0x5ef7ea
// > MessagesProfilePage::onDeleteSelected @ 0x5efb6c
// > MessagesProfilePage::deleteSelected @ 0x5efc92
// > MessagesProfilePage::loadPage @ 0x5f032a
// > MessagesProfilePage::loadPage @ 0x5f0360
// > FRequestProfilePage::selectedCount @ 0x5f0f56
// > FRequestProfilePage::onToggleAllObjects @ 0x5f1002
// > FRequestProfilePage::untoggleAll @ 0x5f12a0
// > FRequestProfilePage::onDeleteSelected @ 0x5f1836
// > FRequestProfilePage::deleteSelected @ 0x5f19c0
// > FRequestProfilePage::loadPage @ 0x5f20da
// > FRequestProfilePage::loadPage @ 0x5f2104
// > FRequestProfilePage::onMarkRead @ 0x5f3084
// > ProfilePage::loadPage @ 0x5fb4ae
// > ProfilePage::loadPage @ 0x5fb4d8
// > ProfilePage::commentDeleteFailed @ 0x5fb6ce
// > GauntletLayer::init @ 0x60f126
// > LevelLeaderboard::loadScores @ 0x6150e0
// > TopArtistsLayer::init @ 0x631a5a
// > TopArtistsLayer::loadPage @ 0x631be6
// > TopArtistsLayer::loadPage @ 0x631c0e
// > LevelPickerPopup::doPageRequest @ 0x75ac32
//
// 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:50:00 +0000
//
bool __fastcall GameLevelManager::getStoredOnlineLevels(GameLevelManager *this, const char *a2)
{
_BOOL4 result; // r0
size_t v5; // r0
int v6; // r7
int v7; // r4
int v8[3]; // [sp+0h] [bp-14h] BYREF
result = GameLevelManager::isTimeValid(this, a2, 3600.0);
if ( result )
{
memset(v8, 0, sizeof(v8));
v5 = strlen(a2);
v6 = *((_DWORD *)this + 181);
std::string::__init(v8, a2, v5);
v7 = cocos2d::CCDictionary::objectForKey(v6, v8);
std::string::~string((int)v8);
return v7;
}
return result;
}