{"type": "func", "start": 5372006144, "end": 5372006453, "name": "LevelTools::getLevelList", "pseudocode": "// \n// LevelTools::getLevelList from 0x140324f00 to 0x140325035 (309 bytes)\n// \n// 2 xrefs:\n// > GameManager::recountUserStats @ 0x140184e58\n// > <???> @ 0x1406d4dd8\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\n// Hidden C++ exception states: #wind=1\nstd::unordered_set<int> *LevelTools::getLevelList(std::unordered_set<int> *__return_ptr retstr)\n{\n  __int64 v1; // r8\n  unsigned __int8 *v3; // rbx\n  _DWORD v5[4]; // [rsp+20h] [rbp-F8h] BYREF\n  std::unordered_set<int> *v6; // [rsp+30h] [rbp-E8h]\n  _BYTE v7[16]; // [rsp+40h] [rbp-D8h] BYREF\n  _OWORD v8[10]; // [rsp+50h] [rbp-C8h] BYREF\n  int v9; // [rsp+F0h] [rbp-28h]\n  int v10; // [rsp+F4h] [rbp-24h]\n  int v11; // [rsp+F8h] [rbp-20h]\n  char v12; // [rsp+FCh] [rbp-1Ch] BYREF\n\n  v6 = retstr;\n  v8[0] = _mm_load_si128((const __m128i *)&xmmword_140623F70);\n  v8[1] = _mm_load_si128((const __m128i *)&xmmword_140623F80);\n  v8[2] = _mm_load_si128((const __m128i *)&xmmword_140623F90);\n  v8[3] = _mm_load_si128((const __m128i *)&xmmword_140623FA0);\n  v8[4] = _mm_load_si128((const __m128i *)&xmmword_140623FB0);\n  v8[5] = _mm_load_si128((const __m128i *)&xmmword_140623FC0);\n  v8[6] = _mm_load_si128((const __m128i *)&xmmword_140623FD0);\n  v8[7] = _mm_load_si128((const __m128i *)&xmmword_140623FE0);\n  v8[8] = _mm_load_si128((const __m128i *)&xmmword_140623FF0);\n  v8[9] = _mm_load_si128((const __m128i *)&xmmword_140624000);\n  v9 = 5002;\n  v10 = 5003;\n  v11 = 5004;\n  v5[0] = 0;\n  sub_14005E660((__int64)retstr, v5, v1);\n  v3 = (unsigned __int8 *)v8;\n  do\n  {\n    sub_140060D70((__int64)retstr, (__int64)v7, v3);\n    v3 += 4;\n  }\n  while ( v3 != (unsigned __int8 *)&v12 );\n  return retstr;\n}", "assembly": "; \n; LevelTools::getLevelList from 0x140324f00 to 0x140325035 (309 bytes)\n; \n; 2 xrefs:\n; > GameManager::recountUserStats @ 0x140184e58\n; > <???> @ 0x1406d4dd8\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\nmov     r11, rsp                                                       ; +0x0, 0x140324f00\nmov     [r11+10h], rbx                                                 ; +0x3, 0x140324f03\npush    rdi                                                            ; +0x7, 0x140324f07\nsub     rsp, 110h                                                      ; +0x8, 0x140324f08\nmov     rax, cs:__security_cookie                                      ; +0xf, 0x140324f0f\nxor     rax, rsp                                                       ; +0x16, 0x140324f16\nmov     [rsp+118h+var_18], rax                                         ; +0x19, 0x140324f19\nmov     rdi, rcx                                                       ; +0x21, 0x140324f21\nmov     [rsp+118h+var_E8], rcx                                         ; +0x24, 0x140324f24\nmovdqa  xmm0, cs:xmmword_140623F70                                     ; +0x29, 0x140324f29\nmovdqa  [rsp+118h+var_C8], xmm0                                        ; +0x31, 0x140324f31\nmovdqa  xmm1, cs:xmmword_140623F80                                     ; +0x37, 0x140324f37\nmovdqa  [rsp+118h+var_B8], xmm1                                        ; +0x3f, 0x140324f3f\nmovdqa  xmm0, cs:xmmword_140623F90                                     ; +0x45, 0x140324f45\nmovdqa  [rsp+118h+var_A8], xmm0                                        ; +0x4d, 0x140324f4d\nmovdqa  xmm1, cs:xmmword_140623FA0                                     ; +0x53, 0x140324f53\nmovdqa  [rsp+118h+var_98], xmm1                                        ; +0x5b, 0x140324f5b\nmovdqa  xmm0, cs:xmmword_140623FB0                                     ; +0x64, 0x140324f64\nmovdqa  [rsp+118h+var_88], xmm0                                        ; +0x6c, 0x140324f6c\nmovdqa  xmm1, cs:xmmword_140623FC0                                     ; +0x75, 0x140324f75\nmovdqa  xmmword ptr [r11-78h], xmm1                                    ; +0x7d, 0x140324f7d\nmovdqa  xmm0, cs:xmmword_140623FD0                                     ; +0x83, 0x140324f83\nmovdqa  xmmword ptr [r11-68h], xmm0                                    ; +0x8b, 0x140324f8b\nmovdqa  xmm1, cs:xmmword_140623FE0                                     ; +0x91, 0x140324f91\nmovdqa  xmmword ptr [r11-58h], xmm1                                    ; +0x99, 0x140324f99\nmovdqa  xmm0, cs:xmmword_140623FF0                                     ; +0x9f, 0x140324f9f\nmovdqa  xmmword ptr [r11-48h], xmm0                                    ; +0xa7, 0x140324fa7\nmovdqa  xmm1, cs:xmmword_140624000                                     ; +0xad, 0x140324fad\nmovdqa  xmmword ptr [r11-38h], xmm1                                    ; +0xb5, 0x140324fb5\nmov     dword ptr [r11-28h], 138Ah                                     ; +0xbb, 0x140324fbb\nmov     dword ptr [r11-24h], 138Bh                                     ; +0xc3, 0x140324fc3\nmov     dword ptr [r11-20h], 138Ch                                     ; +0xcb, 0x140324fcb\nmov     [rsp+118h+var_F8], 0                                           ; +0xd3, 0x140324fd3\nlea     rdx, [rsp+118h+var_F8]                                         ; +0xdb, 0x140324fdb\ncall    sub_14005E660                                                  ; +0xe0, 0x140324fe0\nnop                                                                    ; +0xe5, 0x140324fe5\nlea     rbx, [rsp+118h+var_C8]                                         ; +0xe6, 0x140324fe6\nnop     dword ptr [rax+rax+00h]                                        ; +0xeb, 0x140324feb\nmov     r8, rbx                                                        ; +0xf0, 0x140324ff0\nlea     rdx, [rsp+118h+var_D8]                                         ; +0xf3, 0x140324ff3\nmov     rcx, rdi                                                       ; +0xf8, 0x140324ff8\ncall    sub_140060D70                                                  ; +0xfb, 0x140324ffb\nadd     rbx, 4                                                         ; +0x100, 0x140325000\nlea     rax, [rsp+118h+var_1C]                                         ; +0x104, 0x140325004\ncmp     rbx, rax                                                       ; +0x10c, 0x14032500c\njnz     short loc_140324FF0                                            ; +0x10f, 0x14032500f\nmov     rax, rdi                                                       ; +0x111, 0x140325011\nmov     rcx, [rsp+118h+var_18]                                         ; +0x114, 0x140325014\nxor     rcx, rsp; StackCookie                                          ; +0x11c, 0x14032501c\ncall    __security_check_cookie                                        ; +0x11f, 0x14032501f\nmov     rbx, [rsp+118h+arg_8]                                          ; +0x124, 0x140325024\nadd     rsp, 110h                                                      ; +0x12c, 0x14032502c\npop     rdi                                                            ; +0x133, 0x140325033\nretn                                                                   ; +0x134, 0x140325034", "xrefs": ["GameManager::recountUserStats @ 0x140184e58", "<???> @ 0x1406d4dd8"], "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"}