//
// GameLevelManager::init from 0x10052bd80 to 0x10052bf1c (412 bytes)
//
// 28 xrefs:
// > GameLevelManager::sharedState @ 0x10051ab91
// > GameLevelManager::onUpdateUserScoreCompleted @ 0x1005206ea
// > GameLevelManager::onUploadCommentCompleted @ 0x100521ac0
// > GameLevelManager::onUploadCommentCompleted @ 0x100521c97
// > GameLevelManager::onUploadCommentCompleted @ 0x100521e35
// > GameLevelManager::onUploadCommentCompleted @ 0x1005220b3
// > GameLevelManager::onUploadCommentCompleted @ 0x100522251
// > GameLevelManager::onUploadUserMessageCompleted @ 0x100525b3e
// > GameLevelManager::tryGetUsername @ 0x10052e708
// > GameLevelManager::tryGetUsername @ 0x10052e91d
// > GJGameLevel::create @ 0x10052fdf3
// > GJGameLevel::create @ 0x10052ffbd
// > GJGameLevel::create @ 0x10053019e
// > GameLevelManager::writeSpecialFilters @ 0x10053f89a
// > GameLevelManager::getOnlineLevels @ 0x10053fce2
// > GameLevelManager::updateSavedLevelList @ 0x100542ac3
// > GameLevelManager::updateUserScore @ 0x1005485b7
// > GameLevelManager::updateUserScore @ 0x10054878a
// > GameLevelManager::updateUserScore @ 0x100548a20
// > GameLevelManager::updateUserScore @ 0x100548dac
// > GameLevelManager::updateUserScore @ 0x100548f8c
// > GameLevelManager::updateUserScore @ 0x100549317
// > GameLevelManager::submitUserInfo @ 0x10054a281
// > GameLevelManager::resetCommentTimersForLevelID @ 0x100552a02
// > GameLevelManager::resetCommentTimersForAccountID @ 0x100552ec6
// > GJGameLevel::copyLevelInfo @ 0x10055d0bf
// > GJLevelList::getListLevelsArray @ 0x100562461
// > ??> @ 0x1009608e0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall GameLevelManager::init(GameLevelManager *a1)
{
char v1; // al
cocos2d::CCString *v2; // rax
cocos2d::CCDictionary *v3; // rax
cocos2d::CCDictionary *v4; // rax
cocos2d::CCDictionary *v5; // rax
cocos2d::CCDictionary *v6; // rax
cocos2d::CCDictionary *v7; // rax
cocos2d::CCDictionary *v8; // rax
cocos2d::CCDictionary *v9; // rax
cocos2d::CCDictionary *v10; // rax
cocos2d::CCDictionary *v11; // rax
cocos2d::CCDictionary *v12; // rax
cocos2d::CCDictionary *v13; // rax
cocos2d::CCDictionary *v14; // rax
cocos2d::CCDictionary *v15; // rax
cocos2d::CCDictionary *v16; // rax
cocos2d::CCDictionary *v17; // rax
cocos2d::CCDictionary *v18; // rax
cocos2d::CCDictionary *v19; // rax
v2 = (cocos2d::CCString *)sub_1007AB580("%i", v1);
a1->m_trueString = v2;
cocos2d::CCObject::retain(v2);
v3 = cocos2d::CCDictionary::create();
a1->m_timerDict = v3;
cocos2d::CCObject::retain(v3);
v4 = cocos2d::CCDictionary::create();
a1->m_unkDict20 = v4;
cocos2d::CCObject::retain(v4);
v5 = cocos2d::CCDictionary::create();
a1->m_downloadObjects = v5;
cocos2d::CCObject::retain(v5);
v6 = cocos2d::CCDictionary::create();
a1->m_storedLevels = v6;
cocos2d::CCObject::retain(v6);
v7 = cocos2d::CCDictionary::create();
a1->m_pageInfo = v7;
cocos2d::CCObject::retain(v7);
v8 = cocos2d::CCDictionary::create();
a1->m_friendReqAndUserBlocks = v8;
cocos2d::CCObject::retain(v8);
v9 = cocos2d::CCDictionary::create();
a1->m_savedPacks = v9;
cocos2d::CCObject::retain(v9);
v10 = cocos2d::CCDictionary::create();
a1->m_favoriteLists = v10;
cocos2d::CCObject::retain(v10);
v11 = cocos2d::CCDictionary::create();
a1->m_savedGauntlets = v11;
cocos2d::CCObject::retain(v11);
v12 = cocos2d::CCDictionary::create();
a1->m_knownUsers = v12;
cocos2d::CCObject::retain(v12);
v13 = cocos2d::CCDictionary::create();
a1->m_accountIDtoUserIDDict = v13;
cocos2d::CCObject::retain(v13);
v14 = cocos2d::CCDictionary::create();
a1->m_userIDtoAccountIDDict = v14;
cocos2d::CCObject::retain(v14);
v15 = cocos2d::CCDictionary::create();
a1->m_storedUserInfo = v15;
cocos2d::CCObject::retain(v15);
v16 = cocos2d::CCDictionary::create();
a1->m_friendRequests = v16;
cocos2d::CCObject::retain(v16);
v17 = cocos2d::CCDictionary::create();
a1->m_userMessages = v17;
cocos2d::CCObject::retain(v17);
v18 = cocos2d::CCDictionary::create();
a1->m_userReplies = v18;
cocos2d::CCObject::retain(v18);
v19 = cocos2d::CCDictionary::create();
a1->m_localLeaderboardLevels = v19;
cocos2d::CCObject::retain(v19);
a1->m_leaderboardType = Top100;
a1->m_searchType = SavedLevels;
return 1;
}