{"type": "func", "start": 6443216704, "end": 6443216790, "name": "sub_1800BAF40", "pseudocode": "// \n// sub_1800BAF40 from 0x1800baf40 to 0x1800baf96 (86 bytes)\n// \n// 4 xrefs:\n// > sub_1800BE0C0 @ 0x1800be0c9\n// > sub_1800BE940 @ 0x1800be949\n// > sub_1800D7980 @ 0x1800d79dc\n// > <???> @ 0x1801fd500\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:00 +0000\n// \n\n__int64 __fastcall sub_1800BAF40(__int64 a1)\n{\n  *(_QWORD *)a1 = &off_18016BA30;\n  sub_1800B8400(a1 + 112);\n  sub_1800B8400(a1 + 448);\n  *(_BYTE *)(a1 + 784) = 0;\n  *(_QWORD *)(a1 + 72) = 0;\n  *(_DWORD *)(a1 + 788) = 0;\n  *(_DWORD *)(a1 + 92) = 0;\n  *(_BYTE *)(a1 + 786) = 0;\n  *(_QWORD *)(a1 + 80) = 2;\n  return a1;\n}", "assembly": "; \n; sub_1800BAF40 from 0x1800baf40 to 0x1800baf96 (86 bytes)\n; \n; 4 xrefs:\n; > sub_1800BE0C0 @ 0x1800be0c9\n; > sub_1800BE940 @ 0x1800be949\n; > sub_1800D7980 @ 0x1800d79dc\n; > <???> @ 0x1801fd500\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:00 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800baf40\nsub     rsp, 20h                                                       ; +0x2, 0x1800baf42\nlea     rax, off_18016BA30                                             ; +0x6, 0x1800baf46\nmov     rbx, rcx                                                       ; +0xd, 0x1800baf4d\nmov     [rcx], rax                                                     ; +0x10, 0x1800baf50\nadd     rcx, 70h ; 'p'                                                 ; +0x13, 0x1800baf53\ncall    sub_1800B8400                                                  ; +0x17, 0x1800baf57\nlea     rcx, [rbx+1C0h]                                                ; +0x1c, 0x1800baf5c\ncall    sub_1800B8400                                                  ; +0x23, 0x1800baf63\nxor     eax, eax                                                       ; +0x28, 0x1800baf68\nmov     byte ptr [rbx+310h], 0                                         ; +0x2a, 0x1800baf6a\nmov     [rbx+48h], rax                                                 ; +0x31, 0x1800baf71\nmov     [rbx+314h], eax                                                ; +0x35, 0x1800baf75\nmov     [rbx+5Ch], eax                                                 ; +0x3b, 0x1800baf7b\nmov     rax, rbx                                                       ; +0x3e, 0x1800baf7e\nmov     byte ptr [rbx+312h], 0                                         ; +0x41, 0x1800baf81\nmov     qword ptr [rbx+50h], 2                                         ; +0x48, 0x1800baf88\nadd     rsp, 20h                                                       ; +0x50, 0x1800baf90\npop     rbx                                                            ; +0x54, 0x1800baf94\nretn                                                                   ; +0x55, 0x1800baf95", "xrefs": ["sub_1800BE0C0 @ 0x1800be0c9", "sub_1800BE940 @ 0x1800be949", "sub_1800D7980 @ 0x1800d79dc", "<???> @ 0x1801fd500"], "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"}