{"type": "func", "start": 6443381904, "end": 6443381963, "name": "sub_1800E3490", "pseudocode": "// \n// sub_1800E3490 from 0x1800e3490 to 0x1800e34cb (59 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180140ebc\n// > <???> @ 0x1801bbc34\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_1800E3490(__int64 a1, __int64 a2, __int64 a3)\n{\n  LOBYTE(a3) = 1;\n  std::ios::setstate(*(_QWORD *)(a2 + 112) + *(int *)(**(_QWORD **)(a2 + 112) + 4LL), 4, a3);\n  return 0;\n}", "assembly": "; \n; sub_1800E3490 from 0x1800e3490 to 0x1800e34cb (59 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180140ebc\n; > <???> @ 0x1801bbc34\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     [rsp+arg_8], rdx                                               ; +0x0, 0x1800e3490\npush    rbp                                                            ; +0x5, 0x1800e3495\nsub     rsp, 20h                                                       ; +0x6, 0x1800e3496\nmov     rbp, rdx                                                       ; +0xa, 0x1800e349a\nmov     rdx, [rbp+70h]                                                 ; +0xd, 0x1800e349d\nmov     rax, [rdx]                                                     ; +0x11, 0x1800e34a1\nmovsxd  rcx, dword ptr [rax+4]                                         ; +0x14, 0x1800e34a4\nadd     rcx, rdx                                                       ; +0x18, 0x1800e34a8\nmov     r8b, 1                                                         ; +0x1b, 0x1800e34ab\nmov     edx, 4                                                         ; +0x1e, 0x1800e34ae\ncall    cs:?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QEAAXH_N@Z; std::ios::setstate(int,bool) ; +0x23, 0x1800e34b3\nnop                                                                    ; +0x29, 0x1800e34b9\nmov     rax, 0                                                         ; +0x2a, 0x1800e34ba\nadd     rsp, 20h                                                       ; +0x34, 0x1800e34c4\npop     rbp                                                            ; +0x38, 0x1800e34c8\nretn                                                                   ; +0x39, 0x1800e34c9\ndb 0CCh                                                                ; +0x3a, 0x1800e34ca", "xrefs": ["<???> @ 0x180140ebc", "<???> @ 0x1801bbc34"], "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"}