{"type": "func", "start": 7562984, "end": 7563088, "name": "GJLevelList::duplicateListLevels", "pseudocode": "// \n// GJLevelList::duplicateListLevels from 0x7366e8 to 0x736750 (104 bytes)\n// \n// 2 xrefs:\n// > LevelListLayer::cloneList @ 0xa77ce0\n// > <???> @ 0xc8610\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 GJLevelList::duplicateListLevels(GJLevelList *a1)\n{\n  GJLevelList *v1; // x1\n  unsigned int v3; // w19\n  cocos2d::CCArray *ListLevelsArray; // x20\n  GJGameLevel *v5; // x0\n  bool v6; // cf\n  unsigned int v7; // w1\n\n  v3 = 0;\n  ListLevelsArray = GJLevelList::getListLevelsArray(v1, nullptr);\n  while ( 1 )\n  {\n    v6 = v3 >= (unsigned int)cocos2d::CCArray::count(ListLevelsArray);\n    v7 = v3++;\n    if ( v6 )\n      break;\n    v5 = (GJGameLevel *)cocos2d::CCArray::objectAtIndex(ListLevelsArray, v7);\n    GJLevelList::addLevelToList(a1, v5);\n  }\n}", "assembly": "; \n; GJLevelList::duplicateListLevels from 0x7366e8 to 0x736750 (104 bytes)\n; \n; 2 xrefs:\n; > LevelListLayer::cloneList @ 0xa77ce0\n; > <???> @ 0xc8610\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             X29, X30, [SP,#var_30]!                                ; +0x0, 0x7366e8\nMOV             X29, SP                                                ; +0x4, 0x7366ec\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x8, 0x7366f0\nMOV             X21, X0                                                ; +0xc, 0x7366f4\nMOV             X0, X1; this                                           ; +0x10, 0x7366f8\nMOV             X1, #0; cocos2d::CCArray *                             ; +0x14, 0x7366fc\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x18, 0x736700\nBL              _ZN11GJLevelList18getListLevelsArrayEPN7cocos2d7CCArrayE; GJLevelList::getListLevelsArray(cocos2d::CCArray *) ; +0x1c, 0x736704\nMOV             W19, #0                                                ; +0x20, 0x736708\nMOV             X20, X0                                                ; +0x24, 0x73670c\nB               loc_736724                                             ; +0x28, 0x736710\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c, 0x736714\nMOV             X1, X0; GJGameLevel *                                  ; +0x30, 0x736718\nMOV             X0, X21; this                                          ; +0x34, 0x73671c\nBL              _ZN11GJLevelList14addLevelToListEP11GJGameLevel; GJLevelList::addLevelToList(GJGameLevel *) ; +0x38, 0x736720\nMOV             X0, X20; this                                          ; +0x3c, 0x736724\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x40, 0x736728\nCMP             W19, W0                                                ; +0x44, 0x73672c\nMOV             W1, W19; unsigned int                                  ; +0x48, 0x736730\nMOV             X0, X20; this                                          ; +0x4c, 0x736734\nADD             W19, W19, #1                                           ; +0x50, 0x736738\nB.CC            loc_736714                                             ; +0x54, 0x73673c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x58, 0x736740\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x5c, 0x736744\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x60, 0x736748\nRET                                                                    ; +0x64, 0x73674c", "xrefs": ["LevelListLayer::cloneList @ 0xa77ce0", "<???> @ 0xc8610"], "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"}