{"type": "func", "start": 6443372832, "end": 6443372878, "name": "sub_1800E1120", "pseudocode": "// \n// sub_1800E1120 from 0x1800e1120 to 0x1800e114e (46 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18013348b\n// > <???> @ 0x1801bb364\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_1800E1120(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n\n  result = *(_DWORD *)(a2 + 32) & 1;\n  if ( (_DWORD)result )\n  {\n    *(_DWORD *)(a2 + 32) &= ~1u;\n    return std::ios::~ios<char,std::char_traits<char>>(a2 + 248);\n  }\n  return result;\n}", "assembly": "; \n; sub_1800E1120 from 0x1800e1120 to 0x1800e114e (46 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18013348b\n; > <???> @ 0x1801bb364\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\npush    rbp                                                            ; +0x0, 0x1800e1120\nsub     rsp, 20h                                                       ; +0x2, 0x1800e1122\nmov     rbp, rdx                                                       ; +0x6, 0x1800e1126\nmov     eax, [rbp+20h]                                                 ; +0x9, 0x1800e1129\nand     eax, 1                                                         ; +0xc, 0x1800e112c\ntest    eax, eax                                                       ; +0xf, 0x1800e112f\njz      short loc_1800E1148                                            ; +0x11, 0x1800e1131\nand     dword ptr [rbp+20h], 0FFFFFFFEh                                ; +0x13, 0x1800e1133\nlea     rcx, [rbp+60h]                                                 ; +0x17, 0x1800e1137\nadd     rcx, 98h                                                       ; +0x1b, 0x1800e113b\ncall    cs:??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ios::~ios<char,std::char_traits<char>>(void) ; +0x22, 0x1800e1142\nadd     rsp, 20h                                                       ; +0x28, 0x1800e1148\npop     rbp                                                            ; +0x2c, 0x1800e114c\nretn                                                                   ; +0x2d, 0x1800e114d", "xrefs": ["<???> @ 0x18013348b", "<???> @ 0x1801bb364"], "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"}