//
// GameLevelManager::getStoredOnlineLevels from 0x1000ad980 to 0x1000ad9f4 (116 bytes)
//
// 35 xrefs:
// > sub_1000BFB94 @ 0x1000bfbfc
// > sub_1000BFC80 @ 0x1000bfccc
// > sub_1000BFC80 @ 0x1000bfd40
// > sub_1000C0FDC @ 0x1000c1044
// > sub_1000CA084 @ 0x1000ca10c
// > sub_1000CA1C0 @ 0x1000ca230
// > sub_1000CB318 @ 0x1000cb3d4
// > ProfilePage::loadPage @ 0x100230a84
// > ProfilePage::loadPage @ 0x100230ab4
// > ProfilePage::commentDeleteFailed @ 0x1002312a4
// > TopArtistsLayer::init @ 0x100239bac
// > sub_10023A2F8 @ 0x10023a38c
// > sub_10023A2F8 @ 0x10023a3c0
// > sub_10024BD40 @ 0x10024bd70
// > sub_10024BE00 @ 0x10024be48
// > sub_10024C070 @ 0x10024c098
// > sub_10024C388 @ 0x10024c470
// > sub_10024C388 @ 0x10024c4a0
// > sub_10024C5B4 @ 0x10024c5d8
// > sub_10024CA00 @ 0x10024ca30
// > sub_10024CBD4 @ 0x10024cbf8
// > sub_100264750 @ 0x100264778
// > sub_100264808 @ 0x100264830
// > sub_100264AAC @ 0x100264b84
// > sub_100264AAC @ 0x100264bc0
// > sub_100264CCC @ 0x100264cf0
// > sub_100264D44 @ 0x100264d78
// > sub_100265148 @ 0x10026516c
// > GauntletLayer::init @ 0x1002ce858
// > sub_1002ED778 @ 0x1002ed810
// > InfoLayer::loadPage @ 0x1003f0704
// > LeaderboardsLayer::selectLeaderboard @ 0x1004586b8
// > LevelBrowserLayer::loadPage @ 0x1004984b8
// > LevelBrowserLayer::loadPage @ 0x1004984ec
// > sub_100505BBC @ 0x100505cf0
//
// 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 10:58:37 +0000
//
__int64 __fastcall GameLevelManager::getStoredOnlineLevels(__int64 a1, char *a2)
{
__int64 v4; // x20
__int64 v5; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v8; // [xsp+1Fh] [xbp-11h]
if ( !(unsigned int)GameLevelManager::isTimeValid(3600.0) )
return 0;
v4 = *(_QWORD *)(a1 + 1040);
sub_100009900(__p, a2);
v5 = cocos2d::CCDictionary::objectForKey(v4, __p);
if ( v8 < 0 )
operator delete(__p[0]);
return v5;
}