{"type": "func", "start": 6442895152, "end": 6442895343, "name": "sub_18006C730", "pseudocode": "// \n// sub_18006C730 from 0x18006c730 to 0x18006c7ef (191 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801acdc0\n// > <???> @ 0x1801f9744\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 10:53:28 +0000\n// \n\nvoid __fastcall sub_18006C730(__int64 *a1)\n{\n  __int64 v1; // rdi\n  unsigned int v2; // ebx\n  __int64 v3; // rax\n  __int64 v4; // rsi\n  int v5; // eax\n  int v6; // xmm2_4\n\n  v1 = *a1;\n  v2 = 0;\n  v3 = *(_QWORD *)(*a1 + 232);\n  *(float *)(*a1 + 548) = (float)((float)*(int *)(*(_QWORD *)(*a1 + 168) + 1744LL) * 0.5) - 10.0;\n  if ( *(int *)(v3 + 96) <= 0 )\n  {\nLABEL_5:\n    sub_18006E610(v1);\n    v6 = *(_DWORD *)(v1 + 1092);\n    *(_DWORD *)(v1 + 552) = *(_DWORD *)(v1 + 1096);\n    *(_DWORD *)(v1 + 544) = v6;\n    sub_18006E7E0(v1);\n  }\n  else\n  {\n    v4 = 0;\n    while ( 1 )\n    {\n      sub_18009C0C0(v1, v2);\n      if ( v5 )\n        break;\n      ++v2;\n      v4 += 8;\n      if ( (signed int)v2 >= *(_DWORD *)(*(_QWORD *)(v1 + 232) + 96LL) )\n        goto LABEL_5;\n    }\n  }\n}", "assembly": "; \n; sub_18006C730 from 0x18006c730 to 0x18006c7ef (191 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801acdc0\n; > <???> @ 0x1801f9744\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 10:53:28 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18006c730\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18006c735\npush    rdi                                                            ; +0xa, 0x18006c73a\nsub     rsp, 20h                                                       ; +0xb, 0x18006c73b\nmov     rdi, [rcx]                                                     ; +0xf, 0x18006c73f\nxor     ebx, ebx                                                       ; +0x12, 0x18006c742\nmov     rax, [rdi+0A8h]                                                ; +0x14, 0x18006c744\nmovd    xmm0, dword ptr [rax+6D0h]                                     ; +0x1b, 0x18006c74b\nmov     rax, [rdi+0E8h]                                                ; +0x23, 0x18006c753\ncvtdq2ps xmm0, xmm0                                                    ; +0x2a, 0x18006c75a\nmulss   xmm0, cs:dword_18014573C                                       ; +0x2d, 0x18006c75d\nsubss   xmm0, cs:flt_180145764                                         ; +0x35, 0x18006c765\nmovss   dword ptr [rdi+224h], xmm0                                     ; +0x3d, 0x18006c76d\ncmp     [rax+60h], ebx                                                 ; +0x45, 0x18006c775\njle     short loc_18006C7AD                                            ; +0x48, 0x18006c778\nxor     esi, esi                                                       ; +0x4a, 0x18006c77a\nnop     dword ptr [rax+00h]                                            ; +0x4c, 0x18006c77c\nmov     rax, [rax+68h]                                                 ; +0x50, 0x18006c780\nmov     edx, ebx                                                       ; +0x54, 0x18006c784\nmov     rcx, [rax+rsi]                                                 ; +0x56, 0x18006c786\nmovss   xmm2, dword ptr [rcx+38h]                                      ; +0x5a, 0x18006c78a\nmov     rcx, rdi                                                       ; +0x5f, 0x18006c78f\ncall    sub_18009C0C0                                                  ; +0x62, 0x18006c792\ntest    eax, eax                                                       ; +0x67, 0x18006c797\njnz     short loc_18006C7DF                                            ; +0x69, 0x18006c799\nmov     rax, [rdi+0E8h]                                                ; +0x6b, 0x18006c79b\ninc     ebx                                                            ; +0x72, 0x18006c7a2\nadd     rsi, 8                                                         ; +0x74, 0x18006c7a4\ncmp     ebx, [rax+60h]                                                 ; +0x78, 0x18006c7a8\njl      short loc_18006C780                                            ; +0x7b, 0x18006c7ab\nmov     rcx, rdi                                                       ; +0x7d, 0x18006c7ad\ncall    sub_18006E610                                                  ; +0x80, 0x18006c7b0\nmovss   xmm1, dword ptr [rdi+448h]                                     ; +0x85, 0x18006c7b5\nmov     rcx, rdi                                                       ; +0x8d, 0x18006c7bd\nmovss   xmm2, dword ptr [rdi+444h]                                     ; +0x90, 0x18006c7c0\nmovss   dword ptr [rdi+228h], xmm1                                     ; +0x98, 0x18006c7c8\nmovss   dword ptr [rdi+220h], xmm2                                     ; +0xa0, 0x18006c7d0\ncall    sub_18006E7E0                                                  ; +0xa8, 0x18006c7d8\nxor     eax, eax                                                       ; +0xad, 0x18006c7dd\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xaf, 0x18006c7df\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xb4, 0x18006c7e4\nadd     rsp, 20h                                                       ; +0xb9, 0x18006c7e9\npop     rdi                                                            ; +0xbd, 0x18006c7ed\nretn                                                                   ; +0xbe, 0x18006c7ee", "xrefs": ["<???> @ 0x1801acdc0", "<???> @ 0x1801f9744"], "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"}