{"type": "func", "start": 6443442240, "end": 6443442323, "name": "sub_1800F2040", "pseudocode": "// \n// sub_1800F2040 from 0x1800f2040 to 0x1800f2093 (83 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801b0028\n// > <???> @ 0x1802005c0\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:22 +0000\n// \n\n__int64 __fastcall sub_1800F2040(_QWORD *a1, int a2, _QWORD *a3, _DWORD *a4, __int64 a5)\n{\n  _DWORD *v5; // rax\n  const char *v6; // r9\n\n  if ( a2 == 3 )\n  {\n    v5 = (_DWORD *)(*a1 + 576LL);\n    *a3 = v5;\n    *a4 = 4;\n    if ( a5 )\n    {\n      v6 = \"false\";\n      if ( *v5 )\n        v6 = \"true\";\n      sub_1800B7CA0(a5, 32, \"%s\", v6);\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800F2040 from 0x1800f2040 to 0x1800f2093 (83 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801b0028\n; > <???> @ 0x1802005c0\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:22 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800f2040\ncmp     edx, 3                                                         ; +0x4, 0x1800f2044\njnz     short loc_1800F208C                                            ; +0x7, 0x1800f2047\nmov     rax, [rcx]                                                     ; +0x9, 0x1800f2049\nmov     rcx, [rsp+28h+arg_20]                                          ; +0xc, 0x1800f204c\nadd     rax, 240h                                                      ; +0x11, 0x1800f2051\nmov     [r8], rax                                                      ; +0x17, 0x1800f2057\nmov     dword ptr [r9], 4                                              ; +0x1a, 0x1800f205a\ntest    rcx, rcx                                                       ; +0x21, 0x1800f2061\njz      short loc_1800F208C                                            ; +0x24, 0x1800f2064\ncmp     dword ptr [rax], 0                                             ; +0x26, 0x1800f2066\nlea     rdx, aTrue_0; \"true\"                                           ; +0x29, 0x1800f2069\nlea     r9, aFalse_0; \"false\"                                          ; +0x30, 0x1800f2070\ncmovnz  r9, rdx                                                        ; +0x37, 0x1800f2077\nlea     r8, aS; \"%s\"                                                   ; +0x3b, 0x1800f207b\nmov     edx, 20h ; ' '                                                 ; +0x42, 0x1800f2082\ncall    sub_1800B7CA0                                                  ; +0x47, 0x1800f2087\nxor     eax, eax                                                       ; +0x4c, 0x1800f208c\nadd     rsp, 28h                                                       ; +0x4e, 0x1800f208e\nretn                                                                   ; +0x52, 0x1800f2092", "xrefs": ["<???> @ 0x1801b0028", "<???> @ 0x1802005c0"], "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"}