{"type": "func", "start": 6443326736, "end": 6443326790, "name": "sub_1800D5D10", "pseudocode": "// \n// sub_1800D5D10 from 0x1800d5d10 to 0x1800d5d46 (54 bytes)\n// \n// 3 xrefs:\n// > sub_1800D19B0 @ 0x1800d1b22\n// > sub_1800D1DB0 @ 0x1800d1fbe\n// > sub_1800D2D70 @ 0x1800d309d\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\n__int64 __fastcall sub_1800D5D10(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n\n  result = *(unsigned int *)(a2 + 24);\n  if ( (result & 0x400) == 0 )\n  {\n    *(_DWORD *)(a2 + 24) = result | 0x400;\n    *(_QWORD *)(a2 + 72) = *(_QWORD *)(a1 + 24);\n    *(_QWORD *)(a1 + 24) = a2;\n    result = *(_QWORD *)(a2 + 72);\n    if ( result )\n      *(_QWORD *)(result + 48) = a2;\n    *(_DWORD *)(a2 + 24) |= 0x20u;\n    *(_QWORD *)(a2 + 48) = 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800D5D10 from 0x1800d5d10 to 0x1800d5d46 (54 bytes)\n; \n; 3 xrefs:\n; > sub_1800D19B0 @ 0x1800d1b22\n; > sub_1800D1DB0 @ 0x1800d1fbe\n; > sub_1800D2D70 @ 0x1800d309d\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     eax, [rdx+18h]                                                 ; +0x0, 0x1800d5d10\nbt      eax, 0Ah                                                       ; +0x3, 0x1800d5d13\njb      short locret_1800D5D45                                         ; +0x7, 0x1800d5d17\nbts     eax, 0Ah                                                       ; +0x9, 0x1800d5d19\nmov     [rdx+18h], eax                                                 ; +0xd, 0x1800d5d1d\nmov     rax, [rcx+18h]                                                 ; +0x10, 0x1800d5d20\nmov     [rdx+48h], rax                                                 ; +0x14, 0x1800d5d24\nmov     [rcx+18h], rdx                                                 ; +0x18, 0x1800d5d28\nmov     rax, [rdx+48h]                                                 ; +0x1c, 0x1800d5d2c\ntest    rax, rax                                                       ; +0x20, 0x1800d5d30\njz      short loc_1800D5D39                                            ; +0x23, 0x1800d5d33\nmov     [rax+30h], rdx                                                 ; +0x25, 0x1800d5d35\nor      dword ptr [rdx+18h], 20h                                       ; +0x29, 0x1800d5d39\nmov     qword ptr [rdx+30h], 0                                         ; +0x2d, 0x1800d5d3d\nretn                                                                   ; +0x35, 0x1800d5d45", "xrefs": ["sub_1800D19B0 @ 0x1800d1b22", "sub_1800D1DB0 @ 0x1800d1fbe", "sub_1800D2D70 @ 0x1800d309d"], "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"}