{"type": "func", "start": 6443319536, "end": 6443319586, "name": "sub_1800D40F0", "pseudocode": "// \n// sub_1800D40F0 from 0x1800d40f0 to 0x1800d4122 (50 bytes)\n// \n// 4 xrefs:\n// > sub_1800D3BA0 @ 0x1800d3c93\n// > sub_1800D3D90 @ 0x1800d4002\n// > sub_1800D4040 @ 0x1800d40c8\n// > <???> @ 0x1801fed30\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:54:10 +0000\n// \n\n__int64 __fastcall sub_1800D40F0(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v2; // rdx\n\n  result = *(_QWORD *)(a1 + 24);\n  *(_BYTE *)(result + 8) = 1;\n  if ( !*(_BYTE *)(a1 + 312) )\n  {\n    v2 = *(_QWORD *)(a1 + 24);\n    *(_BYTE *)(a1 + 312) = 1;\n    result = *(_QWORD *)(v2 + 432);\n    *(_QWORD *)(a1 + 304) = result;\n    *(_QWORD *)(v2 + 432) = a1;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800D40F0 from 0x1800d40f0 to 0x1800d4122 (50 bytes)\n; \n; 4 xrefs:\n; > sub_1800D3BA0 @ 0x1800d3c93\n; > sub_1800D3D90 @ 0x1800d4002\n; > sub_1800D4040 @ 0x1800d40c8\n; > <???> @ 0x1801fed30\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:54:10 +0000\n; \nmov     rax, [rcx+18h]                                                 ; +0x0, 0x1800d40f0\nmov     byte ptr [rax+8], 1                                            ; +0x4, 0x1800d40f4\ncmp     byte ptr [rcx+138h], 0                                         ; +0x8, 0x1800d40f8\njnz     short locret_1800D4121                                         ; +0xf, 0x1800d40ff\nmov     rdx, [rcx+18h]                                                 ; +0x11, 0x1800d4101\nmov     byte ptr [rcx+138h], 1                                         ; +0x15, 0x1800d4105\nmov     rax, [rdx+1B0h]                                                ; +0x1c, 0x1800d410c\nmov     [rcx+130h], rax                                                ; +0x23, 0x1800d4113\nmov     [rdx+1B0h], rcx                                                ; +0x2a, 0x1800d411a\nretn                                                                   ; +0x31, 0x1800d4121", "xrefs": ["sub_1800D3BA0 @ 0x1800d3c93", "sub_1800D3D90 @ 0x1800d4002", "sub_1800D4040 @ 0x1800d40c8", "<???> @ 0x1801fed30"], "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"}