{"type": "func", "start": 6442877856, "end": 6442877987, "name": "sub_1800683A0", "pseudocode": "// \n// sub_1800683A0 from 0x1800683a0 to 0x180068423 (131 bytes)\n// \n// 4 xrefs:\n// > sub_180066F10 @ 0x180066f13\n// > sub_180066F80 @ 0x180066fe4\n// > sub_180067510 @ 0x180067940\n// > <???> @ 0x1801f945c\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:27 +0000\n// \n\n__int64 __fastcall sub_1800683A0(__int64 a1)\n{\n  unsigned int v1; // eax\n  void *v2; // rax\n\n  v1 = *(_DWORD *)(a1 + 600);\n  if ( !v1 )\n  {\n    v1 = ((int)(float)((float)((float)(*(float *)(a1 + 544) * 0.001) * (float)*(int *)(*(_QWORD *)(a1 + 168) + 1744LL))\n                     + 0.5)\n        + 7)\n       & 0xFFFFFFF8;\n    *(_DWORD *)(a1 + 600) = v1;\n  }\n  *(_DWORD *)(a1 + 604) = v1;\n  v2 = *(void **)(a1 + 576);\n  *(_DWORD *)(a1 + 608) = 0;\n  *(_DWORD *)(a1 + 616) = 0;\n  if ( v2 )\n    memset(v2, 0, *(unsigned int *)(a1 + 592));\n  return 0;\n}", "assembly": "; \n; sub_1800683A0 from 0x1800683a0 to 0x180068423 (131 bytes)\n; \n; 4 xrefs:\n; > sub_180066F10 @ 0x180066f13\n; > sub_180066F80 @ 0x180066fe4\n; > sub_180067510 @ 0x180067940\n; > <???> @ 0x1801f945c\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:27 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800683a0\nmov     eax, [rcx+258h]                                                ; +0x4, 0x1800683a4\ntest    eax, eax                                                       ; +0xa, 0x1800683aa\njnz     short loc_1800683ED                                            ; +0xc, 0x1800683ac\nmov     rax, [rcx+0A8h]                                                ; +0xe, 0x1800683ae\nmovss   xmm1, dword ptr [rcx+220h]                                     ; +0x15, 0x1800683b5\nmulss   xmm1, cs:dword_1801457E4                                       ; +0x1d, 0x1800683bd\nmovd    xmm0, dword ptr [rax+6D0h]                                     ; +0x25, 0x1800683c5\ncvtdq2ps xmm0, xmm0                                                    ; +0x2d, 0x1800683cd\nmulss   xmm1, xmm0                                                     ; +0x30, 0x1800683d0\naddss   xmm1, cs:dword_18014573C                                       ; +0x34, 0x1800683d4\ncvttss2si rax, xmm1                                                    ; +0x3c, 0x1800683dc\nadd     eax, 7                                                         ; +0x41, 0x1800683e1\nand     eax, 0FFFFFFF8h                                                ; +0x44, 0x1800683e4\nmov     [rcx+258h], eax                                                ; +0x47, 0x1800683e7\nxor     edx, edx; Val                                                  ; +0x4d, 0x1800683ed\nmov     [rcx+25Ch], eax                                                ; +0x4f, 0x1800683ef\nmov     rax, [rcx+240h]                                                ; +0x55, 0x1800683f5\nmov     [rcx+260h], edx                                                ; +0x5c, 0x1800683fc\nmov     [rcx+268h], edx                                                ; +0x62, 0x180068402\ntest    rax, rax                                                       ; +0x68, 0x180068408\njz      short loc_18006841C                                            ; +0x6b, 0x18006840b\nmov     r8d, [rcx+250h]; Size                                          ; +0x6d, 0x18006840d\nmov     rcx, rax; void *                                               ; +0x74, 0x180068414\ncall    memset                                                         ; +0x77, 0x180068417\nxor     eax, eax                                                       ; +0x7c, 0x18006841c\nadd     rsp, 28h                                                       ; +0x7e, 0x18006841e\nretn                                                                   ; +0x82, 0x180068422", "xrefs": ["sub_180066F10 @ 0x180066f13", "sub_180066F80 @ 0x180066fe4", "sub_180067510 @ 0x180067940", "<???> @ 0x1801f945c"], "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"}