{"type": "func", "start": 4295581372, "end": 4295581472, "name": "GameLevelManager::saveFetchedMapPacks", "pseudocode": "// \n// GameLevelManager::saveFetchedMapPacks from 0x100095ebc to 0x100095f20 (100 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::onGetMapPacksCompleted @ 0x10008afe4\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\nvoid __fastcall GameLevelManager::saveFetchedMapPacks(GameLevelManager *a1, cocos2d::CCArray *a2)\n{\n  __int64 v4; // x21\n  GJMapPack *v5; // x0\n\n  if ( (unsigned int)sub_10024A36C(a2) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = (GJMapPack *)sub_10024A388(a2, v4);\n      GameLevelManager::saveMapPack(a1, v5);\n      v4 = (unsigned int)(v4 + 1);\n    }\n    while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a2) );\n  }\n}", "assembly": "; \n; GameLevelManager::saveFetchedMapPacks from 0x100095ebc to 0x100095f20 (100 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::onGetMapPacksCompleted @ 0x10008afe4\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100095ebc\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100095ec0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100095ec4\nADD             X29, SP, #0x20                                         ; +0xc, 0x100095ec8\nMOV             X19, X1                                                ; +0x10, 0x100095ecc\nMOV             X20, X0                                                ; +0x14, 0x100095ed0\nMOV             X0, X1                                                 ; +0x18, 0x100095ed4\nBL              sub_10024A36C                                          ; +0x1c, 0x100095ed8\nCBZ             W0, loc_100095F10                                      ; +0x20, 0x100095edc\nMOV             W21, #0                                                ; +0x24, 0x100095ee0\nMOV             X0, X19                                                ; +0x28, 0x100095ee4\nMOV             X1, X21                                                ; +0x2c, 0x100095ee8\nBL              sub_10024A388                                          ; +0x30, 0x100095eec\nMOV             X1, X0                                                 ; +0x34, 0x100095ef0\nMOV             X0, X20                                                ; +0x38, 0x100095ef4\nBL              GameLevelManager__saveMapPack                          ; +0x3c, 0x100095ef8\nADD             W21, W21, #1                                           ; +0x40, 0x100095efc\nMOV             X0, X19                                                ; +0x44, 0x100095f00\nBL              sub_10024A36C                                          ; +0x48, 0x100095f04\nCMP             W21, W0                                                ; +0x4c, 0x100095f08\nB.CC            loc_100095EE4                                          ; +0x50, 0x100095f0c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x100095f10\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x100095f14\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x5c, 0x100095f18\nRET                                                                    ; +0x60, 0x100095f1c", "xrefs": ["GameLevelManager::onGetMapPacksCompleted @ 0x10008afe4"], "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"}