{"type": "func", "start": 6442903776, "end": 6442903919, "name": "sub_18006E8E0", "pseudocode": "// \n// sub_18006E8E0 from 0x18006e8e0 to 0x18006e96f (143 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801aceb0\n// > <???> @ 0x1801f97c8\n// > <???> @ 0x1801f97d4\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 sub_18006E8E0(__int64 *a1)\n{\n  __int64 v1; // rdi\n  unsigned int v2; // ebx\n  __int64 v3; // rsi\n  int v4; // eax\n\n  v1 = *a1;\n  v2 = 0;\n  if ( *(int *)(*(_QWORD *)(*a1 + 232) + 96LL) <= 0 )\n  {\nLABEL_5:\n    sub_18006F3F0(v1);\n    *(_DWORD *)(v1 + 544) = *(_DWORD *)(v1 + 808);\n    sub_18006F4E0(v1);\n  }\n  else\n  {\n    v3 = 0;\n    while ( 1 )\n    {\n      sub_18009C0C0(v1, v2);\n      if ( v4 )\n        break;\n      ++v2;\n      v3 += 8;\n      if ( (signed int)v2 >= *(_DWORD *)(*(_QWORD *)(v1 + 232) + 96LL) )\n        goto LABEL_5;\n    }\n  }\n}", "assembly": "; \n; sub_18006E8E0 from 0x18006e8e0 to 0x18006e96f (143 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801aceb0\n; > <???> @ 0x1801f97c8\n; > <???> @ 0x1801f97d4\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     [rsp+arg_0], rbx                                               ; +0x0, 0x18006e8e0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18006e8e5\npush    rdi                                                            ; +0xa, 0x18006e8ea\nsub     rsp, 20h                                                       ; +0xb, 0x18006e8eb\nmov     rdi, [rcx]                                                     ; +0xf, 0x18006e8ef\nxor     ebx, ebx                                                       ; +0x12, 0x18006e8f2\nmov     rax, [rdi+0E8h]                                                ; +0x14, 0x18006e8f4\ncmp     [rax+60h], ebx                                                 ; +0x1b, 0x18006e8fb\njle     short loc_18006E93D                                            ; +0x1e, 0x18006e8fe\nxor     esi, esi                                                       ; +0x20, 0x18006e900\nnop     dword ptr [rax+00h]                                            ; +0x22, 0x18006e902\nnop     word ptr [rax+rax+00000000h]                                   ; +0x26, 0x18006e906\nmov     rax, [rax+68h]                                                 ; +0x30, 0x18006e910\nmov     edx, ebx                                                       ; +0x34, 0x18006e914\nmov     rcx, [rax+rsi]                                                 ; +0x36, 0x18006e916\nmovss   xmm2, dword ptr [rcx+38h]                                      ; +0x3a, 0x18006e91a\nmov     rcx, rdi                                                       ; +0x3f, 0x18006e91f\ncall    sub_18009C0C0                                                  ; +0x42, 0x18006e922\ntest    eax, eax                                                       ; +0x47, 0x18006e927\njnz     short loc_18006E95F                                            ; +0x49, 0x18006e929\nmov     rax, [rdi+0E8h]                                                ; +0x4b, 0x18006e92b\ninc     ebx                                                            ; +0x52, 0x18006e932\nadd     rsi, 8                                                         ; +0x54, 0x18006e934\ncmp     ebx, [rax+60h]                                                 ; +0x58, 0x18006e938\njl      short loc_18006E910                                            ; +0x5b, 0x18006e93b\nmov     rcx, rdi                                                       ; +0x5d, 0x18006e93d\ncall    sub_18006F3F0                                                  ; +0x60, 0x18006e940\nmovss   xmm1, dword ptr [rdi+328h]                                     ; +0x65, 0x18006e945\nmov     rcx, rdi                                                       ; +0x6d, 0x18006e94d\nmovss   dword ptr [rdi+220h], xmm1                                     ; +0x70, 0x18006e950\ncall    sub_18006F4E0                                                  ; +0x78, 0x18006e958\nxor     eax, eax                                                       ; +0x7d, 0x18006e95d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7f, 0x18006e95f\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x84, 0x18006e964\nadd     rsp, 20h                                                       ; +0x89, 0x18006e969\npop     rdi                                                            ; +0x8d, 0x18006e96d\nretn                                                                   ; +0x8e, 0x18006e96e", "xrefs": ["<???> @ 0x1801aceb0", "<???> @ 0x1801f97c8", "<???> @ 0x1801f97d4"], "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"}