{"type": "func", "start": 6442878016, "end": 6442878209, "name": "sub_180068440", "pseudocode": "// \n// sub_180068440 from 0x180068440 to 0x180068501 (193 bytes)\n// \n// 2 xrefs:\n// > sub_180068920 @ 0x18006893e\n// > <???> @ 0x1801f9468\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_180068440(__int64 *a1, __int64 a2, __int64 a3)\n{\n  __int64 v3; // rbx\n  __int64 result; // rax\n\n  v3 = *a1;\n  LOBYTE(a3) = 1;\n  *(_QWORD *)(v3 + 584) = 0;\n  *(_QWORD *)(v3 + 592) = 0;\n  *(_QWORD *)(v3 + 600) = 0;\n  *(_QWORD *)(v3 + 600) = -1;\n  *(_QWORD *)(v3 + 576) = v3 + 576;\n  *(_QWORD *)(v3 + 584) = v3 + 576;\n  *(_QWORD *)(v3 + 592) = 0;\n  result = sub_1800F2990(*(_QWORD *)(v3 + 168) + 1824LL, v3 + 544, a3);\n  if ( !(_DWORD)result )\n  {\n    *(_QWORD *)(v3 + 600) = -1;\n    *(_QWORD *)(v3 + 576) = v3 + 576;\n    *(_QWORD *)(v3 + 584) = v3 + 576;\n    *(_QWORD *)(v3 + 592) = 0;\n    *(_QWORD *)(v3 + 672) = 0;\n    *(_DWORD *)(v3 + 680) = 1065353216;\n    *(_DWORD *)(v3 + 684) = 1;\n    *(_QWORD *)(v3 + 568) = 1065353216;\n    _InterlockedOr((volatile signed __int32 *)(v3 + 100), 0x10u);\n    return sub_1800696B0(v3, 1);\n  }\n  return result;\n}", "assembly": "; \n; sub_180068440 from 0x180068440 to 0x180068501 (193 bytes)\n; \n; 2 xrefs:\n; > sub_180068920 @ 0x18006893e\n; > <???> @ 0x1801f9468\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; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180068440\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180068445\npush    rdi                                                            ; +0xa, 0x18006844a\nsub     rsp, 20h                                                       ; +0xb, 0x18006844b\nmov     rbx, [rcx]                                                     ; +0xf, 0x18006844f\nxor     esi, esi                                                       ; +0x12, 0x180068452\nmov     r8b, 1                                                         ; +0x14, 0x180068454\nmov     [rbx+248h], rsi                                                ; +0x17, 0x180068457\nlea     rdi, [rbx+240h]                                                ; +0x1e, 0x18006845e\nmov     [rbx+250h], rsi                                                ; +0x25, 0x180068465\nlea     rdx, [rbx+220h]                                                ; +0x2c, 0x18006846c\nmov     [rbx+258h], rsi                                                ; +0x33, 0x180068473\nmov     qword ptr [rdi+18h], 0FFFFFFFFFFFFFFFFh                        ; +0x3a, 0x18006847a\nmov     [rdi], rdi                                                     ; +0x42, 0x180068482\nmov     [rdi+8], rdi                                                   ; +0x45, 0x180068485\nmov     [rdi+10h], rsi                                                 ; +0x49, 0x180068489\nmov     rcx, [rbx+0A8h]                                                ; +0x4d, 0x18006848d\nadd     rcx, 720h                                                      ; +0x54, 0x180068494\ncall    sub_1800F2990                                                  ; +0x5b, 0x18006849b\ntest    eax, eax                                                       ; +0x60, 0x1800684a0\njnz     short loc_1800684F1                                            ; +0x62, 0x1800684a2\nmov     qword ptr [rdi+18h], 0FFFFFFFFFFFFFFFFh                        ; +0x64, 0x1800684a4\nmov     [rdi], rdi                                                     ; +0x6c, 0x1800684ac\nmov     [rdi+8], rdi                                                   ; +0x6f, 0x1800684af\nmov     [rdi+10h], rsi                                                 ; +0x73, 0x1800684b3\nmov     [rbx+2A0h], rsi                                                ; +0x77, 0x1800684b7\nmov     dword ptr [rbx+2A8h], 3F800000h                                ; +0x7e, 0x1800684be\nmov     dword ptr [rbx+2ACh], 1                                        ; +0x88, 0x1800684c8\nmov     qword ptr [rbx+238h], 3F800000h                                ; +0x92, 0x1800684d2\nlock or dword ptr [rbx+64h], 10h                                       ; +0x9d, 0x1800684dd\nmov     r8b, 1                                                         ; +0xa2, 0x1800684e2\nmov     rcx, rbx                                                       ; +0xa5, 0x1800684e5\nmovzx   edx, r8b                                                       ; +0xa8, 0x1800684e8\ncall    sub_1800696B0                                                  ; +0xac, 0x1800684ec\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xb1, 0x1800684f1\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xb6, 0x1800684f6\nadd     rsp, 20h                                                       ; +0xbb, 0x1800684fb\npop     rdi                                                            ; +0xbf, 0x1800684ff\nretn                                                                   ; +0xc0, 0x180068500", "xrefs": ["sub_180068920 @ 0x18006893e", "<???> @ 0x1801f9468"], "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"}