{"type": "func", "start": 4300794928, "end": 4300795025, "name": "GJLevelList::duplicateListLevels", "pseudocode": "// \n// GJLevelList::duplicateListLevels from 0x10058ec30 to 0x10058ec91 (97 bytes)\n// \n// 1 xrefs:\n// > LevelListLayer::cloneList @ 0x10034b6f9\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:32:25 +0000\n// \n\n__int64 __fastcall GJLevelList::duplicateListLevels(__int64 a1, __int64 a2)\n{\n  unsigned int v2; // r14d\n  __int64 ListLevelsArray; // r15\n  __int64 result; // rax\n  __int64 v5; // rax\n\n  v2 = 0;\n  ListLevelsArray = GJLevelList::getListLevelsArray(a2);\n  result = sub_1007FEF90(ListLevelsArray);\n  if ( (_DWORD)result )\n  {\n    do\n    {\n      v5 = sub_1007FEFE0(ListLevelsArray, v2);\n      GJLevelList::addLevelToList(a1, v5);\n      ++v2;\n      result = sub_1007FEF90(ListLevelsArray);\n    }\n    while ( v2 < (unsigned int)result );\n  }\n  return result;\n}", "assembly": "; \n; GJLevelList::duplicateListLevels from 0x10058ec30 to 0x10058ec91 (97 bytes)\n; \n; 1 xrefs:\n; > LevelListLayer::cloneList @ 0x10034b6f9\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:32:25 +0000\n; \npush    rbp                                                            ; +0x0, 0x10058ec30\nmov     rbp, rsp                                                       ; +0x1, 0x10058ec31\npush    r15                                                            ; +0x4, 0x10058ec34\npush    r14                                                            ; +0x6, 0x10058ec36\npush    rbx                                                            ; +0x8, 0x10058ec38\npush    rax                                                            ; +0x9, 0x10058ec39\nmov     rbx, rdi                                                       ; +0xa, 0x10058ec3a\nxor     r14d, r14d                                                     ; +0xd, 0x10058ec3d\nmov     rdi, rsi                                                       ; +0x10, 0x10058ec40\nxor     esi, esi                                                       ; +0x13, 0x10058ec43\ncall    GJLevelList__getListLevelsArray                                ; +0x15, 0x10058ec45\nmov     r15, rax                                                       ; +0x1a, 0x10058ec4a\nmov     rdi, rax                                                       ; +0x1d, 0x10058ec4d\ncall    sub_1007FEF90                                                  ; +0x20, 0x10058ec50\ntest    eax, eax                                                       ; +0x25, 0x10058ec55\njz      short loc_10058EC86                                            ; +0x27, 0x10058ec57\nnop     dword ptr [rax+00000000h]                                      ; +0x29, 0x10058ec59\nmov     rdi, r15                                                       ; +0x30, 0x10058ec60\nmov     esi, r14d                                                      ; +0x33, 0x10058ec63\ncall    sub_1007FEFE0                                                  ; +0x36, 0x10058ec66\nmov     rdi, rbx                                                       ; +0x3b, 0x10058ec6b\nmov     rsi, rax                                                       ; +0x3e, 0x10058ec6e\ncall    GJLevelList__addLevelToList                                    ; +0x41, 0x10058ec71\ninc     r14d                                                           ; +0x46, 0x10058ec76\nmov     rdi, r15                                                       ; +0x49, 0x10058ec79\ncall    sub_1007FEF90                                                  ; +0x4c, 0x10058ec7c\ncmp     r14d, eax                                                      ; +0x51, 0x10058ec81\njb      short loc_10058EC60                                            ; +0x54, 0x10058ec84\nadd     rsp, 8                                                         ; +0x56, 0x10058ec86\npop     rbx                                                            ; +0x5a, 0x10058ec8a\npop     r14                                                            ; +0x5b, 0x10058ec8b\npop     r15                                                            ; +0x5d, 0x10058ec8d\npop     rbp                                                            ; +0x5f, 0x10058ec8f\nretn                                                                   ; +0x60, 0x10058ec90", "xrefs": ["LevelListLayer::cloneList @ 0x10034b6f9"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}