{"type": "func", "start": 4300611456, "end": 4300611553, "name": "GJLevelList::duplicateListLevels", "pseudocode": "// \n// GJLevelList::duplicateListLevels from 0x100561f80 to 0x100561fe1 (97 bytes)\n// \n// 1 xrefs:\n// > LevelListLayer::cloneList @ 0x100360089\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 GJLevelList::duplicateListLevels(GJLevelList *a1)\n{\n  GJLevelList *v1; // rsi\n  unsigned int v2; // r14d\n  cocos2d::CCArray *ListLevelsArray; // r15\n  GJGameLevel *v4; // rax\n\n  v2 = 0;\n  ListLevelsArray = GJLevelList::getListLevelsArray(v1, nullptr);\n  if ( (unsigned int)sub_100720070(ListLevelsArray) )\n  {\n    do\n    {\n      v4 = (GJGameLevel *)sub_1007200C0(ListLevelsArray, v2);\n      GJLevelList::addLevelToList(a1, v4);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_100720070(ListLevelsArray) );\n  }\n}", "assembly": "; \n; GJLevelList::duplicateListLevels from 0x100561f80 to 0x100561fe1 (97 bytes)\n; \n; 1 xrefs:\n; > LevelListLayer::cloneList @ 0x100360089\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, 0x100561f80\nmov     rbp, rsp                                                       ; +0x1, 0x100561f81\npush    r15                                                            ; +0x4, 0x100561f84\npush    r14                                                            ; +0x6, 0x100561f86\npush    rbx                                                            ; +0x8, 0x100561f88\npush    rax                                                            ; +0x9, 0x100561f89\nmov     rbx, rdi                                                       ; +0xa, 0x100561f8a\nxor     r14d, r14d                                                     ; +0xd, 0x100561f8d\nmov     rdi, rsi                                                       ; +0x10, 0x100561f90\nxor     esi, esi                                                       ; +0x13, 0x100561f93\ncall    GJLevelList__getListLevelsArray                                ; +0x15, 0x100561f95\nmov     r15, rax                                                       ; +0x1a, 0x100561f9a\nmov     rdi, rax                                                       ; +0x1d, 0x100561f9d\ncall    sub_100720070                                                  ; +0x20, 0x100561fa0\ntest    eax, eax                                                       ; +0x25, 0x100561fa5\njz      short loc_100561FD6                                            ; +0x27, 0x100561fa7\nnop     dword ptr [rax+00000000h]                                      ; +0x29, 0x100561fa9\nmov     rdi, r15                                                       ; +0x30, 0x100561fb0\nmov     esi, r14d                                                      ; +0x33, 0x100561fb3\ncall    sub_1007200C0                                                  ; +0x36, 0x100561fb6\nmov     rdi, rbx                                                       ; +0x3b, 0x100561fbb\nmov     rsi, rax                                                       ; +0x3e, 0x100561fbe\ncall    GJLevelList__addLevelToList                                    ; +0x41, 0x100561fc1\ninc     r14d                                                           ; +0x46, 0x100561fc6\nmov     rdi, r15                                                       ; +0x49, 0x100561fc9\ncall    sub_100720070                                                  ; +0x4c, 0x100561fcc\ncmp     r14d, eax                                                      ; +0x51, 0x100561fd1\njb      short loc_100561FB0                                            ; +0x54, 0x100561fd4\nadd     rsp, 8                                                         ; +0x56, 0x100561fd6\npop     rbx                                                            ; +0x5a, 0x100561fda\npop     r14                                                            ; +0x5b, 0x100561fdb\npop     r15                                                            ; +0x5d, 0x100561fdd\npop     rbp                                                            ; +0x5f, 0x100561fdf\nretn                                                                   ; +0x60, 0x100561fe0", "xrefs": ["LevelListLayer::cloneList @ 0x100360089"], "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"}