{"type": "func", "start": 4300389760, "end": 4300390172, "name": "GameLevelManager::init", "pseudocode": "// \n// GameLevelManager::init from 0x10052bd80 to 0x10052bf1c (412 bytes)\n// \n// 28 xrefs:\n// > GameLevelManager::sharedState @ 0x10051ab91\n// > GameLevelManager::onUpdateUserScoreCompleted @ 0x1005206ea\n// > GameLevelManager::onUploadCommentCompleted @ 0x100521ac0\n// > GameLevelManager::onUploadCommentCompleted @ 0x100521c97\n// > GameLevelManager::onUploadCommentCompleted @ 0x100521e35\n// > GameLevelManager::onUploadCommentCompleted @ 0x1005220b3\n// > GameLevelManager::onUploadCommentCompleted @ 0x100522251\n// > GameLevelManager::onUploadUserMessageCompleted @ 0x100525b3e\n// > GameLevelManager::tryGetUsername @ 0x10052e708\n// > GameLevelManager::tryGetUsername @ 0x10052e91d\n// > GJGameLevel::create @ 0x10052fdf3\n// > GJGameLevel::create @ 0x10052ffbd\n// > GJGameLevel::create @ 0x10053019e\n// > GameLevelManager::writeSpecialFilters @ 0x10053f89a\n// > GameLevelManager::getOnlineLevels @ 0x10053fce2\n// > GameLevelManager::updateSavedLevelList @ 0x100542ac3\n// > GameLevelManager::updateUserScore @ 0x1005485b7\n// > GameLevelManager::updateUserScore @ 0x10054878a\n// > GameLevelManager::updateUserScore @ 0x100548a20\n// > GameLevelManager::updateUserScore @ 0x100548dac\n// > GameLevelManager::updateUserScore @ 0x100548f8c\n// > GameLevelManager::updateUserScore @ 0x100549317\n// > GameLevelManager::submitUserInfo @ 0x10054a281\n// > GameLevelManager::resetCommentTimersForLevelID @ 0x100552a02\n// > GameLevelManager::resetCommentTimersForAccountID @ 0x100552ec6\n// > GJGameLevel::copyLevelInfo @ 0x10055d0bf\n// > GJLevelList::getListLevelsArray @ 0x100562461\n// > <???> @ 0x1009608e0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall GameLevelManager::init(GameLevelManager *a1)\n{\n  char v1; // al\n  cocos2d::CCString *v2; // rax\n  cocos2d::CCDictionary *v3; // rax\n  cocos2d::CCDictionary *v4; // rax\n  cocos2d::CCDictionary *v5; // rax\n  cocos2d::CCDictionary *v6; // rax\n  cocos2d::CCDictionary *v7; // rax\n  cocos2d::CCDictionary *v8; // rax\n  cocos2d::CCDictionary *v9; // rax\n  cocos2d::CCDictionary *v10; // rax\n  cocos2d::CCDictionary *v11; // rax\n  cocos2d::CCDictionary *v12; // rax\n  cocos2d::CCDictionary *v13; // rax\n  cocos2d::CCDictionary *v14; // rax\n  cocos2d::CCDictionary *v15; // rax\n  cocos2d::CCDictionary *v16; // rax\n  cocos2d::CCDictionary *v17; // rax\n  cocos2d::CCDictionary *v18; // rax\n  cocos2d::CCDictionary *v19; // rax\n\n  v2 = (cocos2d::CCString *)sub_1007AB580(\"%i\", v1);\n  a1->m_trueString = v2;\n  cocos2d::CCObject::retain(v2);\n  v3 = cocos2d::CCDictionary::create();\n  a1->m_timerDict = v3;\n  cocos2d::CCObject::retain(v3);\n  v4 = cocos2d::CCDictionary::create();\n  a1->m_unkDict20 = v4;\n  cocos2d::CCObject::retain(v4);\n  v5 = cocos2d::CCDictionary::create();\n  a1->m_downloadObjects = v5;\n  cocos2d::CCObject::retain(v5);\n  v6 = cocos2d::CCDictionary::create();\n  a1->m_storedLevels = v6;\n  cocos2d::CCObject::retain(v6);\n  v7 = cocos2d::CCDictionary::create();\n  a1->m_pageInfo = v7;\n  cocos2d::CCObject::retain(v7);\n  v8 = cocos2d::CCDictionary::create();\n  a1->m_friendReqAndUserBlocks = v8;\n  cocos2d::CCObject::retain(v8);\n  v9 = cocos2d::CCDictionary::create();\n  a1->m_savedPacks = v9;\n  cocos2d::CCObject::retain(v9);\n  v10 = cocos2d::CCDictionary::create();\n  a1->m_favoriteLists = v10;\n  cocos2d::CCObject::retain(v10);\n  v11 = cocos2d::CCDictionary::create();\n  a1->m_savedGauntlets = v11;\n  cocos2d::CCObject::retain(v11);\n  v12 = cocos2d::CCDictionary::create();\n  a1->m_knownUsers = v12;\n  cocos2d::CCObject::retain(v12);\n  v13 = cocos2d::CCDictionary::create();\n  a1->m_accountIDtoUserIDDict = v13;\n  cocos2d::CCObject::retain(v13);\n  v14 = cocos2d::CCDictionary::create();\n  a1->m_userIDtoAccountIDDict = v14;\n  cocos2d::CCObject::retain(v14);\n  v15 = cocos2d::CCDictionary::create();\n  a1->m_storedUserInfo = v15;\n  cocos2d::CCObject::retain(v15);\n  v16 = cocos2d::CCDictionary::create();\n  a1->m_friendRequests = v16;\n  cocos2d::CCObject::retain(v16);\n  v17 = cocos2d::CCDictionary::create();\n  a1->m_userMessages = v17;\n  cocos2d::CCObject::retain(v17);\n  v18 = cocos2d::CCDictionary::create();\n  a1->m_userReplies = v18;\n  cocos2d::CCObject::retain(v18);\n  v19 = cocos2d::CCDictionary::create();\n  a1->m_localLeaderboardLevels = v19;\n  cocos2d::CCObject::retain(v19);\n  a1->m_leaderboardType = Top100;\n  a1->m_searchType = SavedLevels;\n  return 1;\n}", "assembly": "; \n; GameLevelManager::init from 0x10052bd80 to 0x10052bf1c (412 bytes)\n; \n; 28 xrefs:\n; > GameLevelManager::sharedState @ 0x10051ab91\n; > GameLevelManager::onUpdateUserScoreCompleted @ 0x1005206ea\n; > GameLevelManager::onUploadCommentCompleted @ 0x100521ac0\n; > GameLevelManager::onUploadCommentCompleted @ 0x100521c97\n; > GameLevelManager::onUploadCommentCompleted @ 0x100521e35\n; > GameLevelManager::onUploadCommentCompleted @ 0x1005220b3\n; > GameLevelManager::onUploadCommentCompleted @ 0x100522251\n; > GameLevelManager::onUploadUserMessageCompleted @ 0x100525b3e\n; > GameLevelManager::tryGetUsername @ 0x10052e708\n; > GameLevelManager::tryGetUsername @ 0x10052e91d\n; > GJGameLevel::create @ 0x10052fdf3\n; > GJGameLevel::create @ 0x10052ffbd\n; > GJGameLevel::create @ 0x10053019e\n; > GameLevelManager::writeSpecialFilters @ 0x10053f89a\n; > GameLevelManager::getOnlineLevels @ 0x10053fce2\n; > GameLevelManager::updateSavedLevelList @ 0x100542ac3\n; > GameLevelManager::updateUserScore @ 0x1005485b7\n; > GameLevelManager::updateUserScore @ 0x10054878a\n; > GameLevelManager::updateUserScore @ 0x100548a20\n; > GameLevelManager::updateUserScore @ 0x100548dac\n; > GameLevelManager::updateUserScore @ 0x100548f8c\n; > GameLevelManager::updateUserScore @ 0x100549317\n; > GameLevelManager::submitUserInfo @ 0x10054a281\n; > GameLevelManager::resetCommentTimersForLevelID @ 0x100552a02\n; > GameLevelManager::resetCommentTimersForAccountID @ 0x100552ec6\n; > GJGameLevel::copyLevelInfo @ 0x10055d0bf\n; > GJLevelList::getListLevelsArray @ 0x100562461\n; > <???> @ 0x1009608e0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10052bd80\nmov     rbp, rsp                                                       ; +0x1, 0x10052bd81\npush    rbx                                                            ; +0x4, 0x10052bd84\npush    rax; char                                                      ; +0x5, 0x10052bd85\nmov     rbx, rdi                                                       ; +0x6, 0x10052bd86\nlea     rdi, aI; \"%i\"                                                  ; +0x9, 0x10052bd89\nmov     esi, 1                                                         ; +0x10, 0x10052bd90\nxor     eax, eax                                                       ; +0x15, 0x10052bd95\ncall    sub_1007AB580                                                  ; +0x17, 0x10052bd97\nmov     [rbx+3A8h], rax                                                ; +0x1c, 0x10052bd9c\nmov     rdi, rax                                                       ; +0x23, 0x10052bda3\ncall    cocos2d__CCObject__retain                                      ; +0x26, 0x10052bda6\ncall    cocos2d__CCDictionary__create                                  ; +0x2b, 0x10052bdab\nmov     [rbx+210h], rax                                                ; +0x30, 0x10052bdb0\nmov     rdi, rax                                                       ; +0x37, 0x10052bdb7\ncall    cocos2d__CCObject__retain                                      ; +0x3a, 0x10052bdba\ncall    cocos2d__CCDictionary__create                                  ; +0x3f, 0x10052bdbf\nmov     [rbx+240h], rax                                                ; +0x44, 0x10052bdc4\nmov     rdi, rax                                                       ; +0x4b, 0x10052bdcb\ncall    cocos2d__CCObject__retain                                      ; +0x4e, 0x10052bdce\ncall    cocos2d__CCDictionary__create                                  ; +0x53, 0x10052bdd3\nmov     [rbx+258h], rax                                                ; +0x58, 0x10052bdd8\nmov     rdi, rax                                                       ; +0x5f, 0x10052bddf\ncall    cocos2d__CCObject__retain                                      ; +0x62, 0x10052bde2\ncall    cocos2d__CCDictionary__create                                  ; +0x67, 0x10052bde7\nmov     [rbx+230h], rax                                                ; +0x6c, 0x10052bdec\nmov     rdi, rax                                                       ; +0x73, 0x10052bdf3\ncall    cocos2d__CCObject__retain                                      ; +0x76, 0x10052bdf6\ncall    cocos2d__CCDictionary__create                                  ; +0x7b, 0x10052bdfb\nmov     [rbx+238h], rax                                                ; +0x80, 0x10052be00\nmov     rdi, rax                                                       ; +0x87, 0x10052be07\ncall    cocos2d__CCObject__retain                                      ; +0x8a, 0x10052be0a\ncall    cocos2d__CCDictionary__create                                  ; +0x8f, 0x10052be0f\nmov     [rbx+260h], rax                                                ; +0x94, 0x10052be14\nmov     rdi, rax                                                       ; +0x9b, 0x10052be1b\ncall    cocos2d__CCObject__retain                                      ; +0x9e, 0x10052be1e\ncall    cocos2d__CCDictionary__create                                  ; +0xa3, 0x10052be23\nmov     [rbx+248h], rax                                                ; +0xa8, 0x10052be28\nmov     rdi, rax                                                       ; +0xaf, 0x10052be2f\ncall    cocos2d__CCObject__retain                                      ; +0xb2, 0x10052be32\ncall    cocos2d__CCDictionary__create                                  ; +0xb7, 0x10052be37\nmov     [rbx+180h], rax                                                ; +0xbc, 0x10052be3c\nmov     rdi, rax                                                       ; +0xc3, 0x10052be43\ncall    cocos2d__CCObject__retain                                      ; +0xc6, 0x10052be46\ncall    cocos2d__CCDictionary__create                                  ; +0xcb, 0x10052be4b\nmov     [rbx+250h], rax                                                ; +0xd0, 0x10052be50\nmov     rdi, rax                                                       ; +0xd7, 0x10052be57\ncall    cocos2d__CCObject__retain                                      ; +0xda, 0x10052be5a\ncall    cocos2d__CCDictionary__create                                  ; +0xdf, 0x10052be5f\nmov     [rbx+218h], rax                                                ; +0xe4, 0x10052be64\nmov     rdi, rax                                                       ; +0xeb, 0x10052be6b\ncall    cocos2d__CCObject__retain                                      ; +0xee, 0x10052be6e\ncall    cocos2d__CCDictionary__create                                  ; +0xf3, 0x10052be73\nmov     [rbx+220h], rax                                                ; +0xf8, 0x10052be78\nmov     rdi, rax                                                       ; +0xff, 0x10052be7f\ncall    cocos2d__CCObject__retain                                      ; +0x102, 0x10052be82\ncall    cocos2d__CCDictionary__create                                  ; +0x107, 0x10052be87\nmov     [rbx+228h], rax                                                ; +0x10c, 0x10052be8c\nmov     rdi, rax                                                       ; +0x113, 0x10052be93\ncall    cocos2d__CCObject__retain                                      ; +0x116, 0x10052be96\ncall    cocos2d__CCDictionary__create                                  ; +0x11b, 0x10052be9b\nmov     [rbx+268h], rax                                                ; +0x120, 0x10052bea0\nmov     rdi, rax                                                       ; +0x127, 0x10052bea7\ncall    cocos2d__CCObject__retain                                      ; +0x12a, 0x10052beaa\ncall    cocos2d__CCDictionary__create                                  ; +0x12f, 0x10052beaf\nmov     [rbx+270h], rax                                                ; +0x134, 0x10052beb4\nmov     rdi, rax                                                       ; +0x13b, 0x10052bebb\ncall    cocos2d__CCObject__retain                                      ; +0x13e, 0x10052bebe\ncall    cocos2d__CCDictionary__create                                  ; +0x143, 0x10052bec3\nmov     [rbx+278h], rax                                                ; +0x148, 0x10052bec8\nmov     rdi, rax                                                       ; +0x14f, 0x10052becf\ncall    cocos2d__CCObject__retain                                      ; +0x152, 0x10052bed2\ncall    cocos2d__CCDictionary__create                                  ; +0x157, 0x10052bed7\nmov     [rbx+280h], rax                                                ; +0x15c, 0x10052bedc\nmov     rdi, rax                                                       ; +0x163, 0x10052bee3\ncall    cocos2d__CCObject__retain                                      ; +0x166, 0x10052bee6\ncall    cocos2d__CCDictionary__create                                  ; +0x16b, 0x10052beeb\nmov     [rbx+288h], rax                                                ; +0x170, 0x10052bef0\nmov     rdi, rax                                                       ; +0x177, 0x10052bef7\ncall    cocos2d__CCObject__retain                                      ; +0x17a, 0x10052befa\nmov     dword ptr [rbx+2C0h], 1                                        ; +0x17f, 0x10052beff\nmov     dword ptr [rbx+388h], 63h ; 'c'                                ; +0x189, 0x10052bf09\nmov     al, 1                                                          ; +0x193, 0x10052bf13\nadd     rsp, 8                                                         ; +0x195, 0x10052bf15\npop     rbx                                                            ; +0x199, 0x10052bf19\npop     rbp                                                            ; +0x19a, 0x10052bf1a\nretn                                                                   ; +0x19b, 0x10052bf1b", "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"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}